//<script>
    var textareaEle = document.querySelector('#u317550 > textarea');
    //textarea元素是否存在
    if( textareaEle ){
        var StorageVal = $('#u317550').children('textarea').eq(0).text();
        if(JSON.parse(StorageVal).data.StorageVal){
            var rowFixed = JSON.parse(JSON.parse(StorageVal).data.StorageVal).fixed;
            var rowId = JSON.parse(JSON.parse(StorageVal).data.StorageVal).rowId;
        }
    }
    else{
        var StorageVal = '{"display":"none","row_type":"default","banner_is_adaptation":"false","rowId":"","module_height":"500","r_background":"#e3e3e3","full_banner_width":"0","full_banner_height":"0","scroll_list":[{"id":"10","src":"","url":"","target":"_blank","video_isOpen":"false","video_src":"","video_poster":"","video_autoplay":"true","title":""},{"id":"11","src":"","url":"","target":"_blank","video_isOpen":"false","video_src":"","video_poster":"","video_autoplay":"true"}],"swiper":{"type":"full","width":"1200","speed":"300","full_width":"1900","full_height":"500","time":"1000","loop":"false"},"pageStyle":{"display":"block","background":"#fff","background_globalColor":"","selectbackground":"#f00","selectbackground_globalColor":"","width":"20","height":"20","margin":"5","borderColor":"#333","borderColor_globalColor":"","borderWidth":"5","borderRadius":"0","bottom":"10"},"btnStyle":{"display":"block","leftIcon":"fa-angle-double-left","rightIcon":"fa-angle-double-right","background":"#5874d8","fontSize":"30","color":"#ccc","width":"50","height":"80","marginLR":"1","borderRadius":"0"}}';
        if( StorageVal != 'null'){
            var rowFixed = JSON.parse(StorageVal).fixed;

            var rowId = JSON.parse(StorageVal).rowId ? JSON.parse(StorageVal).rowId : 'u317550';
        }
    }

    if( rowFixed == 'fixed'){
        $('#' + rowId).addClass('rowFixed');
    }
    else{
        $('#' + rowId).remove('rowFixed');
        $('.rowFixedNext').remove();
    }

    var ele = document.querySelector('.rowFixed');//是否存在固定的row

    if( ele ){
        var navY = $('.rowFixed').offset().top;
        var eleHeight = $('.rowFixed').height();

        var nextEle = document.querySelector('.rowFixedNext');//如果不存在就插入一个
        if(!nextEle){
            $('.rowFixed').after('<div class="rowFixedNext"></div>');
            $('.rowFixedNext').css('marginTop',0);
        }


        $(window).scroll(function () {


            var nowY = document.body.scrollTop ? document.body.scrollTop : document.documentElement.scrollTop;
            if( nowY > navY){
                $('.rowFixed').css({
                    'position':'fixed',
                    'left':0,
                    'top':0,
                    'zIndex':100
                });

                $('.rowFixedNext').css('marginTop',eleHeight);
            }
            else{
                $('.rowFixed').css({
                    'position':'relative',

                });
                $('.rowFixedNext').css('marginTop',0);
            }
        })
    }

    //普通模式下的动画,且不是横幅
    
        

    //滚动模式下的动画
    

    //普通模式下的横幅
    //<script>
    var textareaEle = document.querySelector('#u758496 > textarea');
    //textarea元素是否存在
    if( textareaEle ){
        var StorageVal = $('#u758496').children('textarea').eq(0).text();
        if(JSON.parse(StorageVal).data.StorageVal){
            var rowFixed = JSON.parse(JSON.parse(StorageVal).data.StorageVal).fixed;
            var rowId = JSON.parse(JSON.parse(StorageVal).data.StorageVal).rowId;
        }
    }
    else{
        var StorageVal = '{"row_type":"default","module_width":"1200","module_height":350,"module_index":1,"module_name":"","w_border_raduis_num":"0","w_opacity":"1","w_fill":"0","w_transtion":"0","w_background":"rgba(227, 227, 227, 0)","w_background_globalColor":"","w_border_left_color":"#333","w_border_left_color_globalColor":"","w_border_left_style":"solid","w_border_left_width":"0","w_border_top_color":"#333","w_border_top_color_globalColor":"","w_border_top_style":"solid","w_border_top_width":"0","w_border_right_color":"#333","w_border_right_color_globalColor":"","w_border_right_style":"solid","w_border_right_width":"0","w_border_bottom_color":"#333","w_border_bottom_color_globalColor":"","w_border_bottom_style":"solid","w_border_bottom_width":"0","w_tile_style":"repeat","w_bg_src":"","w_bg_position":"top left","r_bg_src":"static/image/rBwBEmSBrHiAbIOJAAJi9C2_nac543.jpg","r_bg_position":"top left","r_background":"rgba(255, 255, 255, 1)","r_background_globalColor":"","r_border_top_style":"solid","r_border_top_width":0,"r_border_top_color":"rgba(204, 204, 204, 1)","r_border_top_color_globalColor":"","r_border_bottom_width":0,"r_border_bottom_style":"solid","r_border_bottom_color":"rgba(204, 204, 204, 1)","r_border_bottom_color_globalColor":"","r_fill":0,"r_tile_style":"repeat","fixed":"static","rowId":"","scroll_list":[{"id":"1","r_background":"#fff","r_background_globalColor":"","r_bg_src":"","r_bg_position":"top left","r_tile_style":"repeat","module_width":"980","module_height":"600","w_tile_style":"repeat","w_bg_src":"","w_bg_position":"top left","w_opacity":"1","w_background":"#e3e3e3","w_background_globalColor":"","backgroundSize":"cover"},{"id":"2","r_background":"#1db9ff","r_background_globalColor":"","r_bg_src":"","r_bg_position":"top left","r_tile_style":"repeat","module_width":"980","module_height":"600","w_tile_style":"repeat","w_bg_src":"","w_bg_position":"top left","w_opacity":"1","w_background":"#fff","w_background_globalColor":"","backgroundSize":"cover"},{"id":"3","r_background":"#fff","r_background_globalColor":"","r_bg_src":"","r_bg_position":"top left","r_tile_style":"repeat","module_width":"980","module_height":"600","w_tile_style":"repeat","w_bg_src":"","w_bg_position":"top left","w_opacity":"1","w_background":"#ffc400","w_background_globalColor":"","backgroundSize":"cover"}],"swiper_set":{"pattern":"horizontal","speed":"300"},"pageStyle":{"display":"block","background":"#fff","background_globalColor":"","selectbackground":"#f00","selectbackground_globalColor":"","width":"20","height":"20","margin":"5","borderColor":"#333","borderColor_globalColor":"","borderWidth":"5","borderRadius":"0","bottom":"10"}}';
        if( StorageVal != 'null'){
            var rowFixed = JSON.parse(StorageVal).fixed;

            var rowId = JSON.parse(StorageVal).rowId ? JSON.parse(StorageVal).rowId : 'u758496';
        }
    }

    if( rowFixed == 'fixed'){
        $('#' + rowId).addClass('rowFixed');
    }
    else{
        $('#' + rowId).remove('rowFixed');
        $('.rowFixedNext').remove();
    }

    var ele = document.querySelector('.rowFixed');//是否存在固定的row

    if( ele ){
        var navY = $('.rowFixed').offset().top;
        var eleHeight = $('.rowFixed').height();

        var nextEle = document.querySelector('.rowFixedNext');//如果不存在就插入一个
        if(!nextEle){
            $('.rowFixed').after('<div class="rowFixedNext"></div>');
            $('.rowFixedNext').css('marginTop',0);
        }


        $(window).scroll(function () {


            var nowY = document.body.scrollTop ? document.body.scrollTop : document.documentElement.scrollTop;
            if( nowY > navY){
                $('.rowFixed').css({
                    'position':'fixed',
                    'left':0,
                    'top':0,
                    'zIndex':100
                });

                $('.rowFixedNext').css('marginTop',eleHeight);
            }
            else{
                $('.rowFixed').css({
                    'position':'relative',

                });
                $('.rowFixedNext').css('marginTop',0);
            }
        })
    }

    //普通模式下的动画,且不是横幅
        $(function(){
        function animations_scroll(){
            var $items = $('#u758496').find('.hasAnimated');
            var $l = $items.length;
            var scrollTop = $(window).scrollTop();
            var windowHeight = document.documentElement.clientHeight; // 可视区域的高度

            for (var i = 0; i < $l; i++) {
                var anitype = $items.eq(i).data('anitype');
                var anistate = $items.eq(i).data('anistate');
                var aniieteration = $items.eq(i).data('aniieteration');
                var duration = $items.eq(i).data('duration');
                var delay = $items.eq(i).data('delay');
                var domHeight = $items.eq(i).height();
                var top = 0;

                //如果是底部
                if($items.eq(i).parents('.layout_footer').length > 0){
                    top = $items.eq(i).height() / 2 + $items[i].offsetTop + $items.eq(i).parents('.layout_footer')[0].offsetTop;
                }
                else{
                    top = $items.eq(i).height() / 2 + $items[i].offsetTop + $items.eq(i).parents('div.layrow')[0].offsetTop;
                }
                
                if(top >= scrollTop && top <= windowHeight + scrollTop){
                    // 是否多次触发 通过类名进行控制
                    if (aniieteration) {
                        $items.eq(i).addClass('animated  '+anitype+anistate).css({
                            animationDuration:duration + 's',
                            animationDelay:delay + 's'
                        });
                    } else {
                        //  若是单次触发  触发一次 便不再进入
                        if (!$items.eq(i).hasClass('oneCountAnimate')) {
                            $items.eq(i).addClass('animated  '+anitype+anistate).addClass('oneCountAnimate').css({
                                animationDuration:duration + 's',
                                animationDelay:delay + 's'
                            });
                        }
                    }
                }else{
                    $items.eq(i).removeClass('animated  '+anitype+anistate);
                }
            }
        }

        // 动画 animations_scroll
        $(document).scroll(animations_scroll);
        animations_scroll();
    });
    
        

    //滚动模式下的动画
    

    //普通模式下的横幅
    if( parseInt($.browser.version) === 8 ){
	console.log('ie8')
}else{
    //只有dom存在，才绑定js
    if(document.querySelector('#u918513')){
        var num = 'u918513';
        window['indexVm'+num]	=new Vue({
            el:'#u918513',
            data:{
                indexStore:{
                },
                indexModule:{

                },
                listArr:[],
                lasta:'',
                indexShow:false
            },
            computed:{
                divs:function(){
                    return {
                        textAlign:this.indexStore.location_text_align_all,
                        lineHeight:this.indexStore.line_height + 'px'
                    }
                },
                lasta1:function(){
                    return {
                        color:this.indexStore.last_font_color,
                        fontSize:this.indexStore.font_sizes + 'px',
                    }
                },
                iconStyle:function(){
                    return {
                        color:this.indexStore.location_icon_color,
                        fontSize:this.indexStore.icon_sizes + 'px',
                        marginLeft:this.indexStore.location_icon_left + 'px',
                        marginRight:this.indexStore.location_icon_top + 'px',
                        fontFamily: 'FontAwesome'
                    }
                },
                titlestyle:function(){
                    return {
                        color:this.indexStore.font_color,
                        fontSize:this.indexStore.font_sizes + 'px'
                    }
                },
                huoqude:function(){
                    return {
                        color:this.indexStore.font_color,
                        fontSize:this.indexStore.font_sizes + 'px',
                        float:'left'
                    }
                },
                moduleStyle:function(){
                    return{
                        width: this.indexStore.modulevms.module_width + 'px',
                        height: this.indexStore.modulevms.module_height + 'px',
                        left: this.indexStore.modulevms.module_left + 'px',
                        top: this.indexStore.modulevms.module_top + 'px',
                        borderRadius: this.indexStore.modulevms.w_border_raduis_num,
                        opacity: this.indexStore.modulevms.w_opacity,
                        padding: this.indexStore.modulevms.w_fill + 'px',
                        borderLeftStyle: this.indexStore.modulevms.w_border_left_style,
                        borderLeftWidth: this.indexStore.modulevms.w_border_left_width + 'px',
                        borderTopStyle: this.indexStore.modulevms.w_border_top_style,
                        borderTopWidth: this.indexStore.modulevms.w_border_top_width + 'px',
                        borderRightStyle: this.indexStore.modulevms.w_border_right_style,
                        borderRightWidth: this.indexStore.modulevms.w_border_right_width + 'px',
                        borderBottomStyle: this.indexStore.modulevms.w_border_bottom_style,
                        borderBottomWidth: this.indexStore.modulevms.w_border_bottom_width + 'px',
                        backgroundRepeat: this.indexStore.modulevms.w_tile_style,
                        borderTopColor: this.indexStore.modulevms.module_pulick_border_top_color,
                        borderRightColor: this.indexStore.modulevms.module_pulick_border_right_color,
                        borderBottomColor: this.indexStore.modulevms.module_pulick_border_bottom_color,
                        borderLeftColor: this.indexStore.modulevms.module_pulick_border_left_color
                    }
                }
            },
            methods:{

            },
            created: function(){

                try{
                    var StorageVal = {"allwidth":748,"allheight":41,"icon_class":"fa-home","font_sizes":16,"line_height":35,"icon_sizes":20,"location_icon_left":0,"location_icon_top":5,"location_title":"您所在位置：","font_color":"rgba(51, 51, 51, 1)","font_color_globalColor":"","last_font_color":"#A87F4C","last_font_color_globalColor":"sys_color_second","hover_font_color":"#B78741","hover_font_color_globalColor":"","location_icon_color":"#B78741","location_icon_color_globalColor":"sys_color_primary","location_text_align_all":"left","location_data_source":"default","location_self_data":"","width":260,"height":40,"effectsObj":{"type":"","icon":"fa-adjust","iconSize":50,"iconColor":"#fff","changeSrc":"","borderStyle":"solid","borderWidth":1,"borderColor":"#ccc","deg":90,"zoom":1.5,"distance":20,"direction":"left-right"}};
                    if(StorageVal != null){
                        this.indexStore = StorageVal;
                    }

                    this.huoqu =  JSON.stringify('');
                }catch(e){}

                for (var i = 0; i < $('').length; i++) {
                    if ($('').eq(i).hasClass('last_a')) {
                        this.lasta = $('').eq(i).text();
                    }else{
                        this.listArr.push($('').eq(i).text());
                    }
                }
            },
            ready:function(){
                if(typeof templet!="undefined"){
                    templet.checkaction(this);
                }
            }
        });
    }

}
//<script>
    var textareaEle = document.querySelector('#u326134 > textarea');
    //textarea元素是否存在
    if( textareaEle ){
        var StorageVal = $('#u326134').children('textarea').eq(0).text();
        if(JSON.parse(StorageVal).data.StorageVal){
            var rowFixed = JSON.parse(JSON.parse(StorageVal).data.StorageVal).fixed;
            var rowId = JSON.parse(JSON.parse(StorageVal).data.StorageVal).rowId;
        }
    }
    else{
        var StorageVal = '{"row_type":"default","module_width":"1200","module_height":"50","module_index":"1","module_name":"","w_border_raduis_num":"0","w_opacity":"1","w_fill":"0","w_transtion":"0","w_background":"rgba(227, 227, 227, 0)","w_background_globalColor":"","w_border_left_color":"#333","w_border_left_color_globalColor":"","w_border_left_style":"solid","w_border_left_width":"0","w_border_top_color":"#333","w_border_top_color_globalColor":"","w_border_top_style":"solid","w_border_top_width":"0","w_border_right_color":"#333","w_border_right_color_globalColor":"","w_border_right_style":"solid","w_border_right_width":"0","w_border_bottom_color":"#333","w_border_bottom_color_globalColor":"","w_border_bottom_style":"solid","w_border_bottom_width":"0","w_tile_style":"repeat","w_bg_src":"","w_bg_position":"top left","r_bg_src":"","r_bg_position":"top left","r_background":"#fff","r_background_globalColor":"","r_border_top_style":"solid","r_border_top_width":"0","r_border_top_color":"#ccc","r_border_top_color_globalColor":"","r_border_bottom_width":"0","r_border_bottom_style":"solid","r_border_bottom_color":"#ccc","r_border_bottom_color_globalColor":"","r_fill":"0","r_tile_style":"repeat","fixed":"static","rowId":"","scroll_list":[{"id":"1","r_background":"#fff","r_background_globalColor":"","r_bg_src":"","r_bg_position":"top left","r_tile_style":"repeat","module_width":"980","module_height":"600","w_tile_style":"repeat","w_bg_src":"","w_bg_position":"top left","w_opacity":"1","w_background":"#e3e3e3","w_background_globalColor":"","backgroundSize":"cover"},{"id":"2","r_background":"#1db9ff","r_background_globalColor":"","r_bg_src":"","r_bg_position":"top left","r_tile_style":"repeat","module_width":"980","module_height":"600","w_tile_style":"repeat","w_bg_src":"","w_bg_position":"top left","w_opacity":"1","w_background":"#fff","w_background_globalColor":"","backgroundSize":"cover"},{"id":"3","r_background":"#fff","r_background_globalColor":"","r_bg_src":"","r_bg_position":"top left","r_tile_style":"repeat","module_width":"980","module_height":"600","w_tile_style":"repeat","w_bg_src":"","w_bg_position":"top left","w_opacity":"1","w_background":"#ffc400","w_background_globalColor":"","backgroundSize":"cover"}],"swiper_set":{"pattern":"horizontal","speed":"300"},"pageStyle":{"display":"block","background":"#fff","background_globalColor":"","selectbackground":"#f00","selectbackground_globalColor":"","width":"20","height":"20","margin":"5","borderColor":"#333","borderColor_globalColor":"","borderWidth":"5","borderRadius":"0","bottom":"10"}}';
        if( StorageVal != 'null'){
            var rowFixed = JSON.parse(StorageVal).fixed;

            var rowId = JSON.parse(StorageVal).rowId ? JSON.parse(StorageVal).rowId : 'u326134';
        }
    }

    if( rowFixed == 'fixed'){
        $('#' + rowId).addClass('rowFixed');
    }
    else{
        $('#' + rowId).remove('rowFixed');
        $('.rowFixedNext').remove();
    }

    var ele = document.querySelector('.rowFixed');//是否存在固定的row

    if( ele ){
        var navY = $('.rowFixed').offset().top;
        var eleHeight = $('.rowFixed').height();

        var nextEle = document.querySelector('.rowFixedNext');//如果不存在就插入一个
        if(!nextEle){
            $('.rowFixed').after('<div class="rowFixedNext"></div>');
            $('.rowFixedNext').css('marginTop',0);
        }


        $(window).scroll(function () {


            var nowY = document.body.scrollTop ? document.body.scrollTop : document.documentElement.scrollTop;
            if( nowY > navY){
                $('.rowFixed').css({
                    'position':'fixed',
                    'left':0,
                    'top':0,
                    'zIndex':100
                });

                $('.rowFixedNext').css('marginTop',eleHeight);
            }
            else{
                $('.rowFixed').css({
                    'position':'relative',

                });
                $('.rowFixedNext').css('marginTop',0);
            }
        })
    }

    //普通模式下的动画,且不是横幅
        $(function(){
        function animations_scroll(){
            var $items = $('#u326134').find('.hasAnimated');
            var $l = $items.length;
            var scrollTop = $(window).scrollTop();
            var windowHeight = document.documentElement.clientHeight; // 可视区域的高度

            for (var i = 0; i < $l; i++) {
                var anitype = $items.eq(i).data('anitype');
                var anistate = $items.eq(i).data('anistate');
                var aniieteration = $items.eq(i).data('aniieteration');
                var duration = $items.eq(i).data('duration');
                var delay = $items.eq(i).data('delay');
                var domHeight = $items.eq(i).height();
                var top = 0;

                //如果是底部
                if($items.eq(i).parents('.layout_footer').length > 0){
                    top = $items.eq(i).height() / 2 + $items[i].offsetTop + $items.eq(i).parents('.layout_footer')[0].offsetTop;
                }
                else{
                    top = $items.eq(i).height() / 2 + $items[i].offsetTop + $items.eq(i).parents('div.layrow')[0].offsetTop;
                }
                
                if(top >= scrollTop && top <= windowHeight + scrollTop){
                    // 是否多次触发 通过类名进行控制
                    if (aniieteration) {
                        $items.eq(i).addClass('animated  '+anitype+anistate).css({
                            animationDuration:duration + 's',
                            animationDelay:delay + 's'
                        });
                    } else {
                        //  若是单次触发  触发一次 便不再进入
                        if (!$items.eq(i).hasClass('oneCountAnimate')) {
                            $items.eq(i).addClass('animated  '+anitype+anistate).addClass('oneCountAnimate').css({
                                animationDuration:duration + 's',
                                animationDelay:delay + 's'
                            });
                        }
                    }
                }else{
                    $items.eq(i).removeClass('animated  '+anitype+anistate);
                }
            }
        }

        // 动画 animations_scroll
        $(document).scroll(animations_scroll);
        animations_scroll();
    });
    
        

    //滚动模式下的动画
    

    //普通模式下的横幅
    if('' == '0' || '1' == '0'){
    //样式1
    var ad = new AdMove("u108875");
    $('#u108875').css('zIndex','999999');
    var times = '' || '10'
    ad.Run(parseInt(times));
    //关闭点击事件
    $("#u108875 #open_page").on('click',function(){
        $('#u108875').css("display","none");
    });
};

 	if( parseInt($.browser.version) === 8 ){
 		console.log('ie8')
 	}else {

        //只有dom存在，才绑定js
        if (document.querySelector('#u108875')) {
            ;var num = 'u108875';
            window['indexVm' + num] = new Vue({
                el: "#u108875",
                data: {
                    indexStore: {},
                    indexShow: false,
                    costomDatas: {}
                },
                watch: {
                    costomDatas: {
                        handler: function (val, oldVal) {
                            console.log('test');
                        },
                        deep: true
                    }
                },
                computed: {
                    div: function () {
                        return {
                            overflowX: this.indexStore.w_scrollX_type,
                            overflowY: this.indexStore.w_scrollY_type,
                            wordWrap: this.indexStore.w_word_type
                        };
                    }
                },
                methods: {},
                created: function () {
                    try {
                        var StorageVal = {"w_scrollX_type":"hidden","w_scrollY_type":"hidden","w_word_type":"normal","contents":"<div style=\"text-align:center;\">\n\t<span style=\"font-size:36px;font-weight:bold;color:#A87F4C;\">CASE DISPLAY</span> \n</div>\n<div style=\"display:flex;justify-content:center;\">\n\t<div style=\"width:60px;border-top:4px dashed #A87F4C;margin:auto 10px;\">\n\t</div>\n\t<div style=\"text-align:center;\">\n\t\t<span style=\"color:#333333;font-size:26px;width:100px;font-weight:bold;\">案例展示</span>\n\t</div>\n\t<div style=\"width:60px;border-top:4px dashed #A87F4C;margin:auto 10px;\">\n\t</div>\n</div>","msg":"","custom_pos_style":"1","is_hover":"0","custom_pos_style_left":0,"custom_pos_style_top":0,"custom_pos_style_rate":10,"hover_color":"#000","hover_bc_color":"#fff","width":1200,"height":100,"fixedLeft":0,"fixedTop":0,"openShow":false,"isShows":false,"editBc":"#fff","effectsObj":{"type":"","icon":"fa-adjust","iconSize":50,"iconColor":"#fff","changeSrc":"","borderStyle":"solid","borderWidth":1,"borderColor":"#ccc","deg":90,"zoom":1.5,"distance":20,"direction":"left-right"}};
                        if (StorageVal != null) {
                            this.indexStore = StorageVal;
                        }
                    } catch (e) {
                    }


                    // 兼容
                    if (!this.indexStore.is_hover) {
                        this.indexStore.is_hover = '0';
                        this.indexStore.hover_color = "#000";
                        this.indexStore.hover_bc_color = "#fff";
                    }

                    console.log('index', this.indexStore.custom_pos_style);
                    //window;

                    if (this.indexStore.custom_pos_style == '0') {
                        //样式1
                    } else if (this.indexStore.custom_pos_style == '1') {
                        //样式2
                    } else if (this.indexStore.custom_pos_style == '2') {
                        //样式3
                        try {
                            $('#u108875').css({
                                'position': 'fixed',
                                'zIndex': '999999'
                            });
                        } catch (e) {
                        }
                        ;
                    }

                    //挂件动画
                    try {
                        $.allWidgetAnimate(this, $('#u108875'));
                    } catch (e) {
                    }
                    ;
                },
                ready: function () {
                    if (this.indexStore.custom_pos_style === '2') {
                        var t = setTimeout(function () {
                            try {
                                $("#u108875").draggable();
                                $("#u108875").draggable("disable");
                            } catch (e) {
                            }
                            clearTimeout(t);
                        }, 500);
                    } else if (this.indexStore.custom_pos_style === '1') {
                        setTimeout(function () {
                            try {
                                $("#u108875").draggable("enable");
                            } catch (e) {
                            }
                        }, 100);
                    }
                    if (typeof templet != "undefined") {
                        templet.checkaction(this);
                    }

                    // 兼容
                    if (!this.indexStore.is_hover) {
                        this.indexStore.is_hover = '0';
                        this.indexStore.hover_color = "#000";
                        this.indexStore.hover_bc_color = "#fff";
                    }
                }
            });
        }
    }

 	if( parseInt($.browser.version) === 8 ){
        console.log('ie8')
    }else{
    //只有dom存在，才绑定js
    if(document.querySelector('#u761883')){
        var num = 'u761883';
        window['indexHonorVm'+num] = new Vue({
            el: '#u761883',
            data:{
                style:{},
                listArr:{},
                id:null,
                isShow:false,
                screenWidth:null,
                screenHeight:null,
                nowIndex:0,
                index:0
            },
            methods:{
                modalShow:function (index) {
                    var that = this;
                    this.isShow = true;
                    this.index = index;
                    var Element =$('#my_dialog_'+this.id).find('.swiper-container');
                    var leftBtn = $('#my_dialog_'+this.id).find('.leftBtn');
                    var rightBtn = $('#my_dialog_'+this.id).find('.rightBtn');
                    if(this.listArr.listArr.length > 0){
                        var mySwiper = new Swiper (Element, {
                            initialSlide:this.index,
                            observer: true,
                            observeParents: true, //时时监听
                            loop : false,
                            simulateTouch : false,
                        });

                        leftBtn.click(function () {
                            mySwiper.slidePrev();
                            that.nowIndex = mySwiper.activeIndex;
                            if(mySwiper.activeIndex == 0){
                                that.$Message.success('已经到第一张了！');
                            }
                        });

                        rightBtn.click(function () {
                            mySwiper.slideNext();
                            if(mySwiper.activeIndex == that.nowIndex){
                                that.$Message.success('已经到最后一张了！');
                            }
                            that.nowIndex = mySwiper.activeIndex;
                        })
                    }
                },
                my_dialog_close:function () {
                    this.isShow = false;
                    var leftBtn = $('#my_dialog_'+this.id).find('.leftBtn');
                    var rightBtn = $('#my_dialog_'+this.id).find('.rightBtn');
                    leftBtn.unbind();//清除事件
                    rightBtn.unbind();//清除事件
                },
            },
            created:function () {
                try{
                    //初始化数据源赋
                    var style = '{"box":{"width":1329,"height":907,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":0,"borderColor":"#ccc","borderColor_globalColor":"","borderStyle":"solid","background":"#fff","background_globalColor":"","padding":10},"header":{"content":"荣誉资质","width":800,"height":60,"color":"rgba(51, 51, 51, 1)","color_globalColor":"","fontSize":14,"textAlign":"center","background":"rgba(255, 255, 255, 1)","background_globalColor":"","lineHeight":60,"fontFamily":"Microsoft YaHei"},"one":{"boxWidth":250,"width":230,"height":230,"borderLeftWidth":1,"borderRightWidth":1,"borderTopWidth":1,"borderBottomWidth":1,"borderColor":"rgba(204, 204, 204, 1)","borderColor_globalColor":"","borderStyle":"solid","background":"rgba(255, 255, 255, 1)","background_globalColor":"","padding":10,"margin":5,"marginTop":5,"marginLeft":5,"marginBottom":5,"marginRight":5},"oneTitle":{"color":"rgba(51, 51, 51, 1)","color_globalColor":"","fontSize":14,"textAlign":"center","lineHeight":30,"fontFamily":"Microsoft YaHei","display":"block","fontWeight":"normal"},"oneContent":{"height":30,"color":"rgba(51, 51, 51, 1)","color_globalColor":"","fontSize":14,"textAlign":"center","lineHeight":30,"fontFamily":"Microsoft YaHei","display":"none"},"modal":{"boxWidth":400,"boxHeight":400,"maxWidth":300,"maxHeight":200},"effectsObj":{"type":"","icon":"fa-adjust","iconSize":50,"iconColor":"#fff","changeSrc":"","borderStyle":"solid","borderWidth":1,"borderColor":"#ccc","deg":90,"zoom":1.5,"distance":20,"direction":"left-right"}}';
                    if(style){
                        this.style = JSON.parse(style);
                    }

                    this.listArr = JSON.parse(JSON.stringify({"listArr":[{"src":"static/image/wKj0iWFztoWAQHf3AAHOIGuypic876.jpg","title":"案例展示","content":""},{"src":"static/image/wKj0iWFztoSAOM8KAAGWv3GYRuQ159.jpg","title":"案例展示","content":""},{"src":"static/image/wKj0iWFztoaATP7IAAHRd7wABew081.jpg","title":"案例展示","content":""},{"src":"static/image/wKj0iWFztoWAQMwPAAINoTcKJwE853.jpg","title":"案例展示","content":""},{"src":"static/image/wKj0iWFztoWAfSlqAAHwNBTgefM188.jpg","title":"案例展示","content":""},{"src":"static/image/wKj0iWFztoWAbIfHAAFA65vAbkY443.jpg","title":"案例展示","content":""},{"src":"static/image/wKj0iWFztoWAJV9XAAD17uMr7To595.jpg","title":"案例展示","content":""},{"src":"static/image/wKj0iWFztoSAFpDbAAHCOC8gV1k521.jpg","title":"案例展示","content":""},{"src":"static/image/wKj0iWFztoaAQv4oAAFiTJrrzII525.jpg","title":"案例展示","content":""},{"src":"static/image/wKj0iWFztoaAXCdNAAGeywQ5K6s948.jpg","title":"案例展示","content":""},{"src":"static/image/wKj0iWFztoSAQp-XAAHFLvLBfDQ484.jpg","title":"案例展示","content":""}],"textLength":20,"header":{"content":""}}));

                }
                catch(err){}
                //字数限制，过滤数据
                for( var i = 0 ; i<this.listArr.listArr.length; i++){
                    if( this.listArr.listArr[i].content.length > this.listArr.textLength){
                        this.listArr.listArr[i].content = this.listArr.listArr[i].content.substring(0,this.listArr.textLength) + '...';
                    }
                }

            },
            ready:function () {
                var that = this;
                this.screenWidth = document.documentElement.clientWidth;
                this.screenHeight = document.documentElement.clientHeight;
                var dialog = document.querySelector('#u761883 #my_dialog_u761883');
                this.id = u761883.id;


                var swiperHeight = this.style.modal.boxHeight;
                var marginTop = (this.screenHeight-swiperHeight)/2;
                $('#my_dialog_'+this.id).find('.leftBtn').css('top',(this.screenHeight-60)/2+'px');
                $('#my_dialog_'+this.id).find('.rightBtn').css('top',(this.screenHeight-60)/2+'px');
                $('#my_dialog_'+this.id).find('.swiper-container').css('margin-top',marginTop+'px');
                console.log(dialog)
                document.body.appendChild(dialog);
                if(typeof templet!="undefined")
                {
                    templet.checkaction(this);
                }
            }
        })
    }

}
//<script>
    var textareaEle = document.querySelector('#u640223 > textarea');
    //textarea元素是否存在
    if( textareaEle ){
        var StorageVal = $('#u640223').children('textarea').eq(0).text();
        if(JSON.parse(StorageVal).data.StorageVal){
            var rowFixed = JSON.parse(JSON.parse(StorageVal).data.StorageVal).fixed;
            var rowId = JSON.parse(JSON.parse(StorageVal).data.StorageVal).rowId;
        }
    }
    else{
        var StorageVal = '{"row_type":"default","module_width":"980","module_height":1170,"module_index":"1","module_name":"","w_border_raduis_num":"0","w_opacity":"1","w_fill":"0","w_transtion":"0","w_background":"rgba(255, 255, 255, 0)","w_background_globalColor":"","w_border_left_color":"#fff","w_border_left_color_globalColor":"","w_border_left_style":"solid","w_border_left_width":"0","w_border_top_color":"#fff","w_border_top_color_globalColor":"","w_border_top_style":"solid","w_border_top_width":"0","w_border_right_color":"#fff","w_border_right_color_globalColor":"","w_border_right_style":"solid","w_border_right_width":"0","w_border_bottom_color":"#fff","w_border_bottom_color_globalColor":"","w_border_bottom_style":"solid","w_border_bottom_width":"0","w_tile_style":"repeat","w_bg_src":"","w_bg_position":"center center","r_bg_src":"","r_bg_position":"center center","r_background":"rgba(255, 255, 255, 1)","r_background_globalColor":"","r_border_top_style":"solid","r_border_top_width":"0","r_border_top_color":"#fff","r_border_top_color_globalColor":"","r_border_bottom_width":"0","r_border_bottom_style":"solid","r_border_bottom_color":"rgba(232, 232, 232, 1)","r_border_bottom_color_globalColor":"","r_fill":"0","r_tile_style":"repeat","fixed":"static","rowId":"","scroll_list":[{"id":"1","r_background":"#fff","r_background_globalColor":"","r_bg_src":"","r_bg_position":"top left","r_tile_style":"repeat","module_width":"980","module_height":"600","w_tile_style":"repeat","w_bg_src":"","w_bg_position":"top left","w_opacity":"1","w_background":"#e3e3e3","w_background_globalColor":"","backgroundSize":"cover"},{"id":"2","r_background":"#1db9ff","r_background_globalColor":"","r_bg_src":"","r_bg_position":"top left","r_tile_style":"repeat","module_width":"980","module_height":"600","w_tile_style":"repeat","w_bg_src":"","w_bg_position":"top left","w_opacity":"1","w_background":"#fff","w_background_globalColor":"","backgroundSize":"cover"},{"id":"3","r_background":"#fff","r_background_globalColor":"","r_bg_src":"","r_bg_position":"top left","r_tile_style":"repeat","module_width":"980","module_height":"600","w_tile_style":"repeat","w_bg_src":"","w_bg_position":"top left","w_opacity":"1","w_background":"#ffc400","w_background_globalColor":"","backgroundSize":"cover"}],"swiper_set":{"pattern":"horizontal","speed":"300"},"pageStyle":{"display":"block","background":"#fff","background_globalColor":"","selectbackground":"#f00","selectbackground_globalColor":"","width":"20","height":"20","margin":"5","borderColor":"#333","borderColor_globalColor":"","borderWidth":"5","borderRadius":"0","bottom":"10"}}';
        if( StorageVal != 'null'){
            var rowFixed = JSON.parse(StorageVal).fixed;

            var rowId = JSON.parse(StorageVal).rowId ? JSON.parse(StorageVal).rowId : 'u640223';
        }
    }

    if( rowFixed == 'fixed'){
        $('#' + rowId).addClass('rowFixed');
    }
    else{
        $('#' + rowId).remove('rowFixed');
        $('.rowFixedNext').remove();
    }

    var ele = document.querySelector('.rowFixed');//是否存在固定的row

    if( ele ){
        var navY = $('.rowFixed').offset().top;
        var eleHeight = $('.rowFixed').height();

        var nextEle = document.querySelector('.rowFixedNext');//如果不存在就插入一个
        if(!nextEle){
            $('.rowFixed').after('<div class="rowFixedNext"></div>');
            $('.rowFixedNext').css('marginTop',0);
        }


        $(window).scroll(function () {


            var nowY = document.body.scrollTop ? document.body.scrollTop : document.documentElement.scrollTop;
            if( nowY > navY){
                $('.rowFixed').css({
                    'position':'fixed',
                    'left':0,
                    'top':0,
                    'zIndex':100
                });

                $('.rowFixedNext').css('marginTop',eleHeight);
            }
            else{
                $('.rowFixed').css({
                    'position':'relative',

                });
                $('.rowFixedNext').css('marginTop',0);
            }
        })
    }

    //普通模式下的动画,且不是横幅
        $(function(){
        function animations_scroll(){
            var $items = $('#u640223').find('.hasAnimated');
            var $l = $items.length;
            var scrollTop = $(window).scrollTop();
            var windowHeight = document.documentElement.clientHeight; // 可视区域的高度

            for (var i = 0; i < $l; i++) {
                var anitype = $items.eq(i).data('anitype');
                var anistate = $items.eq(i).data('anistate');
                var aniieteration = $items.eq(i).data('aniieteration');
                var duration = $items.eq(i).data('duration');
                var delay = $items.eq(i).data('delay');
                var domHeight = $items.eq(i).height();
                var top = 0;

                //如果是底部
                if($items.eq(i).parents('.layout_footer').length > 0){
                    top = $items.eq(i).height() / 2 + $items[i].offsetTop + $items.eq(i).parents('.layout_footer')[0].offsetTop;
                }
                else{
                    top = $items.eq(i).height() / 2 + $items[i].offsetTop + $items.eq(i).parents('div.layrow')[0].offsetTop;
                }
                
                if(top >= scrollTop && top <= windowHeight + scrollTop){
                    // 是否多次触发 通过类名进行控制
                    if (aniieteration) {
                        $items.eq(i).addClass('animated  '+anitype+anistate).css({
                            animationDuration:duration + 's',
                            animationDelay:delay + 's'
                        });
                    } else {
                        //  若是单次触发  触发一次 便不再进入
                        if (!$items.eq(i).hasClass('oneCountAnimate')) {
                            $items.eq(i).addClass('animated  '+anitype+anistate).addClass('oneCountAnimate').css({
                                animationDuration:duration + 's',
                                animationDelay:delay + 's'
                            });
                        }
                    }
                }else{
                    $items.eq(i).removeClass('animated  '+anitype+anistate);
                }
            }
        }

        // 动画 animations_scroll
        $(document).scroll(animations_scroll);
        animations_scroll();
    });
    
        

    //滚动模式下的动画
    

    //普通模式下的横幅
    
if( parseInt($.browser.version) === 8 ){
	console.log('ie8')
}else{

	//只有dom存在，才绑定js
    if(document.querySelector('#u679872')) {
        var num = 'u679872';
        window['indexVm' + num] = new Vue({
            el: "#u679872",
            data: {
                indexStore: {}
            },
            watch: {},
            computed: {},
            methods: {},
            created: function () {
                try {
                    var StorageVal = {"allwidth":200,"allheight":100,"themes":"monokai","codeHtml":"","codeCss":".indexHonor .seo .new_title{display:none;}","codeJs":"","effectsObj":{"type":"","icon":"fa-adjust","iconSize":50,"iconColor":"#fff","changeSrc":"","borderStyle":"solid","borderWidth":1,"borderColor":"#ccc","deg":90,"zoom":1.5,"distance":20,"direction":"left-right"}};
                    if (StorageVal != null) {
                        this.indexStore = StorageVal;
                    }
                    //console.log('ie8',JSON.stringify(this.indexStore))
                } catch (e) {
                }
            },
            ready: function () {
                var _this = this;
                try {
                    (function () {
                        if (!_this.indexStore.codeJs) {
                            return;
                        }
                        eval(_this.indexStore.codeJs)
                    })();
                } catch (e) {
                    console.log('高级代码JS部分报错', e)
                }
            }
        });
    }

}
