//<script>
    var textareaEle = document.querySelector('#u924602 > textarea');
    //textarea元素是否存在
    if( textareaEle ){
        var StorageVal = $('#u924602').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","rowId":"","module_height":"500","r_background":"#e3e3e3","scroll_list":[{"id":"10","src":"","url":"","target":"_blank"},{"id":"11","src":"","url":"","target":"_blank"}],"swiper":{"type":"full","width":"1200","speed":"300","full_width":"1900","full_height":"500","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"},"full_banner_width":"0","full_banner_height":"0","banner_is_adaptation":"false"}';
        if( StorageVal != 'null'){
            var rowFixed = JSON.parse(StorageVal).fixed;

            var rowId = JSON.parse(StorageVal).rowId ? JSON.parse(StorageVal).rowId : 'u924602';
        }
    }

    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('#u932706 > textarea');
    //textarea元素是否存在
    if( textareaEle ){
        var StorageVal = $('#u932706').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":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_border_left_color":"rgba(255, 255, 255, 1)","w_border_left_style":"solid","w_border_left_width":"0","w_border_top_color":"rgba(255, 255, 255, 1)","w_border_top_style":"solid","w_border_top_width":"0","w_border_right_color":"rgba(255, 255, 255, 1)","w_border_right_style":"solid","w_border_right_width":"0","w_border_bottom_color":"rgba(255, 255, 255, 1)","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":"https:\/\/img01.71360.com\/file\/read\/www2\/M00\/4D\/4F\/rBwBEmRkix2AGpuDAATitM84ATk157.jpg","r_bg_position":"center center","r_background":"rgba(255, 255, 255, 1)","r_border_top_style":"solid","r_border_top_width":0,"r_border_top_color":"rgba(255, 255, 255, 1)","r_border_bottom_width":0,"r_border_bottom_style":"solid","r_border_bottom_color":"rgba(255, 255, 255, 1)","r_fill":0,"r_tile_style":"no-repeat","fixed":"static","rowId":"","scroll_list":[{"id":"1","r_background":"#fff","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","backgroundSize":"cover"},{"id":"2","r_background":"#1db9ff","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","backgroundSize":"cover"},{"id":"3","r_background":"#fff","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","backgroundSize":"cover"}],"swiper_set":{"pattern":"horizontal","speed":"300"},"pageStyle":{"display":"block","background":"#fff","selectbackground":"#f00","width":"20","height":"20","margin":"5","borderColor":"#333","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 : 'u932706';
        }
    }

    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 = $('#u932706').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("u945669");
    $('#u945669').css('zIndex','999999');
    var times = '' || '10'
    ad.Run(parseInt(times));
    //关闭点击事件
    $("#u945669 #open_page").on('click',function(){
        $('#u945669').css("display","none");
    });
};

 	if( parseInt($.browser.version) === 8 ){
 		console.log('ie8')
 	}else {

        //只有dom存在，才绑定js
        if (document.querySelector('#u945669')) {
            ;var num = 'u945669';
            window['indexVm' + num] = new Vue({
                el: "#u945669",
                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=\"margin-top:16px;\">\n\t<span style=\"font-size:20px;color:#d9d9d9;\"><em>SITE MAPS</em></span> \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":"rgba(0, 0, 0, 1)","hover_bc_color":"rgba(255, 255, 255, 1)","width":196,"height":60,"fixedLeft":0,"fixedTop":0,"openShow":false,"isShows":false,"editBc":"rgba(255, 255, 255, 1)","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);
                    //debugger;

                    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 {
                            $('#u945669').css({
                                'position': 'fixed',
                                'zIndex': '999999'
                            });
                        } catch (e) {
                        }
                        ;
                    }

                    //挂件动画
                    try {
                        $.allWidgetAnimate(this, $('#u945669'));
                    } catch (e) {
                    }
                    ;
                },
                ready: function () {
                    if (this.indexStore.custom_pos_style === '2') {
                        var t = setTimeout(function () {
                            try {
                                $("#u945669").draggable();
                                $("#u945669").draggable("disable");
                            } catch (e) {
                            }
                            clearTimeout(t);
                        }, 500);
                    } else if (this.indexStore.custom_pos_style === '1') {
                        setTimeout(function () {
                            try {
                                $("#u945669").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('' == '0' || '1' == '0'){
    //样式1
    var ad = new AdMove("u432672");
    $('#u432672').css('zIndex','999999');
    var times = '' || '10'
    ad.Run(parseInt(times));
    //关闭点击事件
    $("#u432672 #open_page").on('click',function(){
        $('#u432672').css("display","none");
    });
};

 	if( parseInt($.browser.version) === 8 ){
 		console.log('ie8')
 	}else {

        //只有dom存在，才绑定js
        if (document.querySelector('#u432672')) {
            ;var num = 'u432672';
            window['indexVm' + num] = new Vue({
                el: "#u432672",
                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":"","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":"rgba(0, 0, 0, 1)","hover_bc_color":"rgba(255, 255, 255, 1)","width":1200,"height":12,"fixedLeft":0,"fixedTop":0,"openShow":false,"isShows":false,"editBc":"rgba(255, 255, 255, 1)","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);
                    //debugger;

                    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 {
                            $('#u432672').css({
                                'position': 'fixed',
                                'zIndex': '999999'
                            });
                        } catch (e) {
                        }
                        ;
                    }

                    //挂件动画
                    try {
                        $.allWidgetAnimate(this, $('#u432672'));
                    } catch (e) {
                    }
                    ;
                },
                ready: function () {
                    if (this.indexStore.custom_pos_style === '2') {
                        var t = setTimeout(function () {
                            try {
                                $("#u432672").draggable();
                                $("#u432672").draggable("disable");
                            } catch (e) {
                            }
                            clearTimeout(t);
                        }, 500);
                    } else if (this.indexStore.custom_pos_style === '1') {
                        setTimeout(function () {
                            try {
                                $("#u432672").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('#u207701')){
        var num = 'u207701';
        window['indexVm'+num]	=new Vue({
            el:'#u207701',
            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":837,"allheight":40,"location_data_source":"default","location_self_data":"","icon_class":"fa-home","font_sizes":14,"line_height":34,"icon_sizes":17,"location_title":"当前位置:","font_color":"rgba(255, 255, 255, 1)","last_font_color":"rgba(32, 32, 33, 1)","hover_font_color":"rgba(32, 32, 33, 1)","location_icon_color":"rgba(255, 255, 255, 1)","location_text_align_all":"left","styleId":"w1111","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);
                }
            }
        });
    }

}
if( parseInt($.browser.version) === 8 ){
	console.log('ie8')
}else{

    //只有dom存在，才绑定js
    if(document.querySelector('#u806179')){
        var num = 'u806179';
        window['indexVm'+num] = new Vue({
            el:"#u806179",
            data:{
                indexStore:{

                },
                indexShow:false
            },
            methods:{

            },
            computed:{
                h2:function(){
                    return {
                        background: this.indexStore.location_title_bc_color ,
                        color: this.indexStore.location_title_fs_color ,
                        textAlign: this.indexStore.location_title_text_align ,
                        fontSize: this.indexStore.location_title_fs + 'px',
                        borderRadius: this.indexStore.location_title_border_radius + 'px',
                        paddingTop: this.indexStore.location_title_padding_top + 'px',
                        paddingBottom: this.indexStore.location_title_padding_bottom + 'px',
                        borderStyle:this.indexStore.location_title_border_style,
                        borderWidth:this.indexStore.location_title_border_width + 'px',
                        borderColor:this.indexStore.location_title_border_color,
                        fontWeight:this.indexStore.location_title_fs_weight,
                        marginTop: this.indexStore.location_title_margin_top + 'px',
                        marginBottom: this.indexStore.location_title_margin_bottom + 'px',
                    };
                }
            },
            created:function(){
                try{
                    var StorageVal = {"allwidth":148,"allheight":36,"location_title_fs":26,"location_title_fs_color":"rgba(255, 255, 255, 1)","location_title_bc_color":"rgba(204, 204, 204, 0)","location_title_text_align":"center","location_title_border_radius":0,"location_title_padding_top":0,"location_title_padding_bottom":0,"location_title_border_width":0,"location_title_border_style":"solid","location_title_border_color":"rgba(0, 0, 0, 1)","location_title_fs_weight":"normal","location_title_data_source":"default","location_title_self_data":"自定义数据","location_title_margin_top":0,"location_title_margin_bottom":0,"location_title_fw":"normal","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){}
            },
            ready:function(){
                if(typeof templet!="undefined"){
                    templet.checkaction(this);
                }
            }
        });
    }

}
//<script>
    var textareaEle = document.querySelector('#u71425 > textarea');
    //textarea元素是否存在
    if( textareaEle ){
        var StorageVal = $('#u71425').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":"60","module_index":"2","module_name":"","w_border_raduis_num":"0","w_opacity":"1","w_fill":"0","w_transtion":"0","w_background":"rgba(227, 227, 227, 0)","w_border_left_color":"rgba(51, 51, 51, 1)","w_border_left_style":"solid","w_border_left_width":"0","w_border_top_color":"rgba(51, 51, 51, 1)","w_border_top_style":"solid","w_border_top_width":"0","w_border_right_color":"rgba(51, 51, 51, 1)","w_border_right_style":"solid","w_border_right_width":"0","w_border_bottom_color":"rgba(51, 51, 51, 1)","w_border_bottom_style":"solid","w_border_bottom_width":"0","w_tile_style":"repeat","w_bg_src":"","w_bg_position":"top right","r_bg_src":"","r_bg_position":"top left","r_background":"rgba(32, 32, 33, 1)","r_border_top_style":"solid","r_border_top_width":"0","r_border_top_color":"rgba(204, 204, 204, 1)","r_border_bottom_width":"0","r_border_bottom_style":"solid","r_border_bottom_color":"rgba(204, 204, 204, 1)","r_fill":"0","r_tile_style":"repeat","fixed":"static","rowId":"","scroll_list":[{"id":"1","r_background":"#fff","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","backgroundSize":"cover"},{"id":"2","r_background":"#1db9ff","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","backgroundSize":"cover"},{"id":"3","r_background":"#fff","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","backgroundSize":"cover"}],"swiper_set":{"pattern":"horizontal","speed":"300"},"pageStyle":{"display":"block","background":"#fff","selectbackground":"#f00","width":"20","height":"20","margin":"5","borderColor":"#333","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 : 'u71425';
        }
    }

    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 = $('#u71425').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("u158618");
    $('#u158618').css('zIndex','999999');
    var times = '' || '10'
    ad.Run(parseInt(times));
    //关闭点击事件
    $("#u158618 #open_page").on('click',function(){
        $('#u158618').css("display","none");
    });
};

 	if( parseInt($.browser.version) === 8 ){
 		console.log('ie8')
 	}else {

        //只有dom存在，才绑定js
        if (document.querySelector('#u158618')) {
            ;var num = 'u158618';
            window['indexVm' + num] = new Vue({
                el: "#u158618",
                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=\"width:1200px;\">\n\t<div style=\"border-bottom:1px solid #999999;margin-top:25px;width:515px;float:left;\">\n\t</div>\n<div 、=\"\"> <span style=\"font-size:32px;\">&nbsp; 产品中心</span> \n</div>\n<div style=\"border-bottom:1px solid #999999;margin-top:-23px;width:515px;float:right;\">\n</div>\n\t</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":"rgba(0, 0, 0, 1)","hover_bc_color":"rgba(255, 255, 255, 1)","width":1200,"height":58,"fixedLeft":0,"fixedTop":0,"openShow":false,"isShows":false,"editBc":"rgba(255, 255, 255, 1)","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);
                    //debugger;

                    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 {
                            $('#u158618').css({
                                'position': 'fixed',
                                'zIndex': '999999'
                            });
                        } catch (e) {
                        }
                        ;
                    }

                    //挂件动画
                    try {
                        $.allWidgetAnimate(this, $('#u158618'));
                    } catch (e) {
                    }
                    ;
                },
                ready: function () {
                    if (this.indexStore.custom_pos_style === '2') {
                        var t = setTimeout(function () {
                            try {
                                $("#u158618").draggable();
                                $("#u158618").draggable("disable");
                            } catch (e) {
                            }
                            clearTimeout(t);
                        }, 500);
                    } else if (this.indexStore.custom_pos_style === '1') {
                        setTimeout(function () {
                            try {
                                $("#u158618").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";
                    }
                }
            });
        }
    }

 	//<script>
    var textareaEle = document.querySelector('#u241325 > textarea');
    //textarea元素是否存在
    if( textareaEle ){
        var StorageVal = $('#u241325').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":"97","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_border_left_color":"rgba(51, 51, 51, 1)","w_border_left_style":"solid","w_border_left_width":"0","w_border_top_color":"rgba(51, 51, 51, 1)","w_border_top_style":"solid","w_border_top_width":"0","w_border_right_color":"rgba(51, 51, 51, 1)","w_border_right_style":"solid","w_border_right_width":"0","w_border_bottom_color":"rgba(51, 51, 51, 1)","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_border_top_style":"solid","r_border_top_width":"0","r_border_top_color":"#ccc","r_border_bottom_width":"0","r_border_bottom_style":"solid","r_border_bottom_color":"#ccc","r_fill":"0","r_tile_style":"repeat","fixed":"static","rowId":"","scroll_list":[{"id":"1","r_background":"#fff","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","backgroundSize":"cover"},{"id":"2","r_background":"#1db9ff","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","backgroundSize":"cover"},{"id":"3","r_background":"#fff","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","backgroundSize":"cover"}],"swiper_set":{"pattern":"horizontal","speed":"300"},"pageStyle":{"display":"block","background":"#fff","selectbackground":"#f00","width":"20","height":"20","margin":"5","borderColor":"#333","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 : 'u241325';
        }
    }

    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 = $('#u241325').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('#u723582')){
        var num = 'u723582';
        window['indexVm'+num] = new Vue({
            el:"#u723582",
            data:{
                indexStore:{

                },
                indexShow:false
            },
            methods:{

            },
            computed:{
                h2:function(){
                    return {
                        background: this.indexStore.location_title_bc_color ,
                        color: this.indexStore.location_title_fs_color ,
                        textAlign: this.indexStore.location_title_text_align ,
                        fontSize: this.indexStore.location_title_fs + 'px',
                        borderRadius: this.indexStore.location_title_border_radius + 'px',
                        paddingTop: this.indexStore.location_title_padding_top + 'px',
                        paddingBottom: this.indexStore.location_title_padding_bottom + 'px',
                        borderStyle:this.indexStore.location_title_border_style,
                        borderWidth:this.indexStore.location_title_border_width + 'px',
                        borderColor:this.indexStore.location_title_border_color,
                        fontWeight:this.indexStore.location_title_fs_weight,
                        marginTop: this.indexStore.location_title_margin_top + 'px',
                        marginBottom: this.indexStore.location_title_margin_bottom + 'px',
                    };
                }
            },
            created:function(){
                try{
                    var StorageVal = {"allwidth":148,"allheight":41,"location_title_fs":32,"location_title_fs_color":"rgba(0, 0, 0, 1)","location_title_bc_color":"rgba(204, 204, 204, 0)","location_title_text_align":"center","location_title_border_radius":0,"location_title_padding_top":0,"location_title_padding_bottom":0,"location_title_border_width":0,"location_title_border_style":"solid","location_title_border_color":"rgba(0, 0, 0, 1)","location_title_fs_weight":"normal","location_title_data_source":"default","location_title_self_data":"自定义数据","location_title_margin_top":0,"location_title_margin_bottom":0,"location_title_fw":"normal","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){}
            },
            ready:function(){
                if(typeof templet!="undefined"){
                    templet.checkaction(this);
                }
            }
        });
    }

}
if( parseInt($.browser.version) === 8 ){
}else{
	//只有dom存在，才绑定js
    if(document.querySelector('#u302632')){
        var num = 'u302632';
        window['indexVm'+num] = new Vue({
            el:"#u302632",
            data:{
                indexStore:{

                },
                indexShow:false,
                infos:{
                }
            },
            computed:{
                dtborder:function(){
                    return {
                        borderWidth:this.indexStore.webmap_menu_border_width + 'px',
                        borderColor:this.indexStore.webmap_menu_border_color,
                        borderStyle:this.indexStore.webmap_menu_border_style
                    };
                },
                dt1:function(){
                    return {
                        width:this.indexStore.webmap_menu1_width + "px",
                        height:this.indexStore.webmap_menu1_height + "px",
                        lineHeight:this.indexStore.webmap_menu1_height + "px",
                        background:this.indexStore.webmap_menu1_bc_color,
                        color:this.indexStore.webmap_menu1_font_color,
                        fontSize:this.indexStore.webmap_menu1_fs + 'px',
                        float:"left",
                        marginTop:this.indexStore.webmap_menu1_margin_top + "px",
                        marginRight:this.indexStore.webmap_menu1_margin_right + "px",
                        marginBottom:this.indexStore.webmap_menu1_margin_bottom + "px",
                        marginLeft:this.indexStore.webmap_menu1_margin_left + "px",
                        borderRadius:this.indexStore.webmap_menu1_border_radius + "px",
                        textAlign:this.indexStore.webmap_menu1_text_align,
                        fontWeight:this.indexStore.webmap_menu1_font_weight
                    };
                },
                p1:function(){
                    return {
                        width:this.indexStore.webmap_menu2_width + "px",
                        height:this.indexStore.webmap_menu2_height + "px",
                        lineHeight:this.indexStore.webmap_menu2_height + "px",
                        background:this.indexStore.webmap_menu2_bc_color,
                        color:this.indexStore.webmap_menu2_font_color,
                        fontSize:this.indexStore.webmap_menu2_fs + 'px',
                        marginTop:this.indexStore.webmap_menu2_margin_top + "px",
                        marginRight:this.indexStore.webmap_menu2_margin_right + "px",
                        marginBottom:this.indexStore.webmap_menu2_margin_bottom + "px",
                        marginLeft:this.indexStore.webmap_menu2_margin_left + "px",
                        borderRadius:this.indexStore.webmap_menu2_border_radius + "px",
                        textAlign:this.indexStore.webmap_menu2_text_align,
                        fontWeight:this.indexStore.webmap_menu2_font_weight,
                        display:'block'
                    };
                },
                p2:function(){
                    return {
                        width:this.indexStore.webmap_menu3_width + "px",
                        height:this.indexStore.webmap_menu3_height + "px",
                        lineHeight:this.indexStore.webmap_menu3_height + "px",
                        background:this.indexStore.webmap_menu3_bc_color,
                        color:this.indexStore.webmap_menu3_font_color,
                        fontSize:this.indexStore.webmap_menu3_fs + 'px',
                        float:"left",
                        marginTop:this.indexStore.webmap_menu3_margin_top + "px",
                        marginRight:this.indexStore.webmap_menu3_margin_right + "px",
                        marginBottom:this.indexStore.webmap_menu3_margin_bottom + "px",
                        marginLeft:this.indexStore.webmap_menu3_margin_left + "px",
                        borderRadius:this.indexStore.webmap_menu3_border_radius + "px",
                        textAlign:this.indexStore.webmap_menu3_text_align,
                        fontWeight:this.indexStore.webmap_menu3_font_weight
                    };
                },
                p3:function(){
                    return {
                        width:this.indexStore.webmap_menu4_width + "px",
                        height:this.indexStore.webmap_menu4_height + "px",
                        lineHeight:this.indexStore.webmap_menu4_height + "px",
                        background:this.indexStore.webmap_menu4_bc_color,
                        color:this.indexStore.webmap_menu4_font_color,
                        fontSize:this.indexStore.webmap_menu4_fs + 'px',
                        marginTop:this.indexStore.webmap_menu4_margin_top + "px",
                        marginRight:this.indexStore.webmap_menu4_margin_right + "px",
                        marginBottom:this.indexStore.webmap_menu4_margin_bottom + "px",
                        marginLeft:this.indexStore.webmap_menu4_margin_left + "px",
                        borderRadius:this.indexStore.webmap_menu4_border_radius + "px",
                        textAlign:this.indexStore.webmap_menu4_text_align,
                        fontWeight:this.indexStore.webmap_menu4_font_weight,
                        display:'block'
                    };
                }
            },
            methods:{

            },
            created:function(){

                try{
                    var StorageVal = {"webmap_menu1_width":120,"webmap_menu1_height":35,"webmap_menu1_bc_color":"rgba(32, 32, 33, 1)","webmap_menu1_font_color":"rgba(255, 255, 255, 1)","webmap_menu1_hover_bc_color":"rgba(27, 72, 152, 1)","webmap_menu1_hover_font_color":"rgba(255, 255, 255, 1)","webmap_menu1_fs":15,"webmap_menu1_text_align":"center","webmap_menu1_margin_top":0,"webmap_menu1_margin_right":0,"webmap_menu1_margin_bottom":15,"webmap_menu1_margin_left":0,"webmap_menu1_border_radius":0,"webmap_menu1_font_weight":"700","webmap_menu2_width":120,"webmap_menu2_height":30,"webmap_menu2_bc_color":"rgba(255, 255, 255, 1)","webmap_menu2_font_color":"rgba(102, 102, 102, 1)","webmap_menu2_hover_bc_color":"rgba(255, 255, 255, 0)","webmap_menu2_hover_font_color":"rgba(27, 72, 152, 1)","webmap_menu2_fs":14,"webmap_menu2_text_align":"center","webmap_menu2_margin_top":0,"webmap_menu2_margin_right":0,"webmap_menu2_margin_bottom":0,"webmap_menu2_margin_left":0,"webmap_menu2_border_radius":0,"webmap_menu2_font_weight":"normal","webmap_menu3_width":120,"webmap_menu3_height":30,"webmap_menu3_bc_color":"#fff","webmap_menu3_font_color":"#333","webmap_menu3_hover_bc_color":"rgba(255,255,255,0)","webmap_menu3_hover_font_color":"#92d908","webmap_menu3_fs":12,"webmap_menu3_text_align":"center","webmap_menu3_margin_top":0,"webmap_menu3_margin_right":0,"webmap_menu3_margin_bottom":0,"webmap_menu3_margin_left":0,"webmap_menu3_border_radius":0,"webmap_menu3_font_weight":"100","webmap_menu_border_style":"solid","webmap_menu_border_style_hover":"solid","webmap_menu_border_color":"rgba(204, 204, 204, 1)","webmap_menu_border_color_hover":"rgba(204, 204, 204, 1)","webmap_menu_border_width":0,"webmap_menu_border_width_hover":0,"webmap_menu4_width":120,"webmap_menu4_height":40,"webmap_menu4_bc_color":"#fff","webmap_menu4_font_color":"#000","webmap_menu4_hover_bc_color":"#0f0","webmap_menu4_hover_font_color":"#fff","webmap_menu4_fs":12,"webmap_menu4_text_align":"center","webmap_menu4_margin_top":0,"webmap_menu4_margin_right":0,"webmap_menu4_margin_bottom":0,"webmap_menu4_margin_left":0,"webmap_menu4_border_radius":0,"webmap_menu4_font_weight":"100","styleId":1849,"webmap_menu2_width_total":760,"webmap_menu3_width_total":120,"webmap_menu2_direction":"inline-block","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"},"width":959,"height":210};
                    if(StorageVal != null){
                        this.indexStore = StorageVal;
                    }
                }catch(e){}

                
                                },
                ready:function(){
                    if(typeof templet!="undefined"){
                        templet.checkaction(this);
                    }
                }
            });
    }


}
//<script>
    var textareaEle = document.querySelector('#u398180 > textarea');
    //textarea元素是否存在
    if( textareaEle ){
        var StorageVal = $('#u398180').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":"400","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_border_left_color":"rgba(51, 51, 51, 1)","w_border_left_style":"solid","w_border_left_width":"0","w_border_top_color":"rgba(51, 51, 51, 1)","w_border_top_style":"solid","w_border_top_width":"0","w_border_right_color":"rgba(51, 51, 51, 1)","w_border_right_style":"solid","w_border_right_width":"0","w_border_bottom_color":"rgba(51, 51, 51, 1)","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":"rgba(255, 255, 255, 1)","r_border_top_style":"solid","r_border_top_width":"0","r_border_top_color":"rgba(204, 204, 204, 1)","r_border_bottom_width":"0","r_border_bottom_style":"solid","r_border_bottom_color":"rgba(204, 204, 204, 1)","r_fill":"0","r_tile_style":"repeat","fixed":"static","rowId":"","scroll_list":[{"id":"1","r_background":"#fff","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","backgroundSize":"cover"},{"id":"2","r_background":"#1db9ff","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","backgroundSize":"cover"},{"id":"3","r_background":"#fff","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","backgroundSize":"cover"}],"swiper_set":{"pattern":"horizontal","speed":"300"},"pageStyle":{"display":"block","background":"#fff","selectbackground":"#f00","width":"20","height":"20","margin":"5","borderColor":"#333","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 : 'u398180';
        }
    }

    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 = $('#u398180').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();
    });
    
        

    //滚动模式下的动画
    

    //普通模式下的横幅
    