//<script>
    var textareaEle = document.querySelector('#u907007 > textarea');
    //textarea元素是否存在
    if( textareaEle ){
        var StorageVal = $('#u907007').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 : 'u907007';
        }
    }

    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('#u920503 > textarea');
    //textarea元素是否存在
    if( textareaEle ){
        var StorageVal = $('#u920503').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":356,"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":"rgba(255, 255, 255, 1)","w_border_left_color_globalColor":"","w_border_left_style":"solid","w_border_left_width":0,"w_border_top_color":"rgba(255, 255, 255, 1)","w_border_top_color_globalColor":"","w_border_top_style":"solid","w_border_top_width":0,"w_border_right_color":"rgba(255, 255, 255, 1)","w_border_right_color_globalColor":"","w_border_right_style":"solid","w_border_right_width":0,"w_border_bottom_color":"rgba(255, 255, 255, 1)","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":"https:\/\/img01.71360.com\/file\/read\/www2\/M00\/7C\/81\/rBwBEmSS2aWAAg9oAAQNEvqmXNY487.jpg","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":"rgba(255, 255, 255, 1)","r_border_top_color_globalColor":"","r_border_bottom_width":0,"r_border_bottom_style":"solid","r_border_bottom_color":"rgba(255, 255, 255, 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 : 'u920503';
        }
    }

    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 = $('#u920503').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('#u638197')){
        var num = 'u638197';
        window['indexVm'+num]	=new Vue({
            el:'#u638197',
            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":312,"allheight":32,"icon_class":"fa-home","font_sizes":14,"line_height":30,"icon_sizes":16,"location_icon_left":0,"location_icon_top":0,"location_title":"","font_color":"rgba(102, 102, 102, 1)","font_color_globalColor":"","last_font_color":"rgba(141, 198, 67, 1)","last_font_color_globalColor":"","hover_font_color":"rgba(141, 198, 67, 1)","hover_font_color_globalColor":"","location_icon_color":"rgba(102, 102, 102, 1)","location_icon_color_globalColor":"","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"},"styleId":"4185"};
                    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('#u757721 > textarea');
    //textarea元素是否存在
    if( textareaEle ){
        var StorageVal = $('#u757721').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":53,"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":"rgba(51, 51, 51, 1)","w_border_left_color_globalColor":"","w_border_left_style":"solid","w_border_left_width":0,"w_border_top_color":"rgba(51, 51, 51, 1)","w_border_top_color_globalColor":"","w_border_top_style":"solid","w_border_top_width":0,"w_border_right_color":"rgba(51, 51, 51, 1)","w_border_right_color_globalColor":"","w_border_right_style":"solid","w_border_right_width":0,"w_border_bottom_color":"rgba(51, 51, 51, 1)","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":"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 : 'u757721';
        }
    }

    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 = $('#u757721').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("u979008");
    $('#u979008').css('zIndex','999999');
    var times = '' || '10'
    ad.Run(parseInt(times));
    //关闭点击事件
    $("#u979008 #open_page").on('click',function(){
        $('#u979008').css("display","none");
    });
};

 	if( parseInt($.browser.version) === 8 ){
 		console.log('ie8')
 	}else {

        //只有dom存在，才绑定js
        if (document.querySelector('#u979008')) {
            ;var num = 'u979008';
            window['indexVm' + num] = new Vue({
                el: "#u979008",
                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;color:#F3F3F3;font-size:60px;text-transform:uppercase;\">\n\tVIDEO\n\t<p style=\"font-size:15px;color:#5a5a5a;\">\n\t\t“以高度的责任心，将专业的事做到极致”的工作态度，致力打造一站式综合环保服务平台\n\t</p>\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":745,"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);
                    //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 {
                            $('#u979008').css({
                                'position': 'fixed',
                                'zIndex': '999999'
                            });
                        } catch (e) {
                        }
                        ;
                    }

                    //挂件动画
                    try {
                        $.allWidgetAnimate(this, $('#u979008'));
                    } catch (e) {
                    }
                    ;
                },
                ready: function () {
                    if (this.indexStore.custom_pos_style === '2') {
                        var t = setTimeout(function () {
                            try {
                                $("#u979008").draggable();
                                $("#u979008").draggable("disable");
                            } catch (e) {
                            }
                            clearTimeout(t);
                        }, 500);
                    } else if (this.indexStore.custom_pos_style === '1') {
                        setTimeout(function () {
                            try {
                                $("#u979008").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("u847277");
    $('#u847277').css('zIndex','999999');
    var times = '' || '10'
    ad.Run(parseInt(times));
    //关闭点击事件
    $("#u847277 #open_page").on('click',function(){
        $('#u847277').css("display","none");
    });
};

 	if( parseInt($.browser.version) === 8 ){
 		console.log('ie8')
 	}else {

        //只有dom存在，才绑定js
        if (document.querySelector('#u847277')) {
            ;var num = 'u847277';
            window['indexVm' + num] = new Vue({
                el: "#u847277",
                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;color:#5a5a5a;font-size:30px;font-weight:bold;\">\n\t视频列表\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":637,"height":51,"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);
                    //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 {
                            $('#u847277').css({
                                'position': 'fixed',
                                'zIndex': '999999'
                            });
                        } catch (e) {
                        }
                        ;
                    }

                    //挂件动画
                    try {
                        $.allWidgetAnimate(this, $('#u847277'));
                    } catch (e) {
                    }
                    ;
                },
                ready: function () {
                    if (this.indexStore.custom_pos_style === '2') {
                        var t = setTimeout(function () {
                            try {
                                $("#u847277").draggable();
                                $("#u847277").draggable("disable");
                            } catch (e) {
                            }
                            clearTimeout(t);
                        }, 500);
                    } else if (this.indexStore.custom_pos_style === '1') {
                        setTimeout(function () {
                            try {
                                $("#u847277").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('#u602388 > textarea');
    //textarea元素是否存在
    if( textareaEle ){
        var StorageVal = $('#u602388').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":216,"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":"rgba(51, 51, 51, 1)","w_border_left_color_globalColor":"","w_border_left_style":"solid","w_border_left_width":0,"w_border_top_color":"rgba(51, 51, 51, 1)","w_border_top_color_globalColor":"","w_border_top_style":"solid","w_border_top_width":0,"w_border_right_color":"rgba(51, 51, 51, 1)","w_border_right_color_globalColor":"","w_border_right_style":"solid","w_border_right_width":0,"w_border_bottom_color":"rgba(51, 51, 51, 1)","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":"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 : 'u602388';
        }
    }

    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 = $('#u602388').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();
    });
    
        

    //滚动模式下的动画
    

    //普通模式下的横幅
    //<script>

if( parseInt($.browser.version) === 8 ){
    }else {
    Vue.filter('my-filter', function (value) {
        var str = value.replace(/`/g, '"');
        return str
    });
    //只有dom存在，才绑定js
    if (document.querySelector('#u332868')) {
        var num = 'u332868';
        window['indexCatelogVm' + num] = new Vue({
            el: '#u332868',
            data: {
                editVal: {},
                listArr: {},
                twolevelList: [],
                threelevelList: [],
                testList: [],
                oneSelectId: '',
                twoSelectId: '',
                threeSelectId: '',
                oneSelectIndex: '',
                twoSelectIndex: '',
                self_height:0,
                timer:null
            },
            methods: {
                selectOneLevel: function (i) {
                    this.oneSelectIndex = i;
                    if (val.children) {
                        this.twolevelList = val.children;
                    }

                },
                select: function (val, i) {
                    this.selectIndex = i;
                },
                selectTwolevel: function (val, i) {
                    this.selectTwolevelIndex = i;
                    if (val.children) {
                        this.threelevelList = val.children;
                    }

                },
                selectThreelevel: function (val, i) {
                    this.selectThreelevelIndex = i;
                },
                module_top_calculation:function () {
    var now_height = parseFloat($('#u332868').outerHeight());
    var doms = $('#u332868').siblings('.module');
    var difference = now_height - this.self_height;//计算出高度的差值

    var max_top = parseFloat($('#u332868').css('top')) + this.self_height;
    var laybox_left = 0;
    if($("#u332868").parent('.laybox').offset() && $("#u332868").parent('.laybox').offset().left) {
        laybox_left = $("#u332868").parent('.laybox').offset().left
    }
    var self_offset_left = parseFloat($('#u332868').css('left')) + laybox_left;
    var self_width = parseFloat($("#u332868").css('width'));
    var layrow_height = parseFloat($("#u332868").parents('.layrow').attr('data-height'));

    $("#u332868").parents('.layrow').css('height',layrow_height+difference)

    for(var i = 0;i<doms.length;i++){
        var top = parseFloat($(doms[i]).attr('data-top'));
        //每个module距离屏幕右边的距离
        var doms_offset_left = parseFloat($(doms[i]).css('left')) + laybox_left;
        var width = parseFloat($(doms[i]).css('width'));
        //判断上下和左右

        if(top >= max_top && doms_offset_left+width > self_offset_left && doms_offset_left < self_offset_left + self_width ){
            $(doms[i]).css('top',top+difference);

        }
    }
},
mark_top:function () {
    var doms = $('#u332868').parent().children('.module');
    var layrow = $("#u332868").parents('.layrow');
    for(var i = 0;i<doms.length;i++){
        var top = parseFloat($(doms[i]).css('top'));
        $(doms[i]).attr('data-top',top)
    }
    layrow.attr('data-height',layrow.outerHeight())
},
module_top_animation:function () {
    var that = this;
    clearInterval(this.timer);
    this.timer = setInterval(function () {
        that.module_top_calculation();
    },1000/60)
},
top_calculation_init:function(objs){
    if(objs.height_type === 'auto'){
        var that = this;
        this.self_height = parseFloat($('#u332868').outerHeight());
        this.mark_top();
        this.module_top_animation();
        clearTimeout(this.setTimer);
        this.setTimer = setTimeout(function(){
            clearInterval(that.timer);
            clearTimeout(that.setTimer);
        },objs.animate_time*2)
    }
},




            },
            created: function () {
                try {
                    //分类列表数据源
                    var data = JSON.stringify();
                    if (data) {
                        var dataList = JSON.parse(data);
                        this.testList = dataList;
                    }
                    //初始化数据源赋
                    var style = JSON.stringify({"modeSelection":"horizontal","animation":"toggle","animationTime":600,"sort":"float","numShow":6,"padding":5,"btn":{"width":40,"fontSzie":14,"background":"#666","color":"#fff","borderColor":"#f00","borderRadius":3},"box":{"width":1200,"height":300,"borderColor":"rgba(204, 204, 204, 1)","borderStyle":"none","borderWidth":0,"background":"rgba(255, 255, 255, 0)","padding":10},"title":{"content":"我是分类列表","height":30,"fontSize":12,"fontFamily":"Microsoft YaHei","background":"#f00","color":"#f00","fontWeight":500,"fontAlign":"center","display":"none"},"onelevel":{"fontWeight":"normal","fontAlign":"center","fontSize":14,"fontFamily":"Microsoft YaHei","background":"rgba(245, 245, 245, 1)","color":"rgba(51, 51, 51, 1)","width":165,"height":42,"borderColor":"rgba(204, 204, 204, 1)","borderStyle":"none","borderRadius":0,"seleFontSize":14,"seleBackground":"rgba(141, 198, 67, 1)","seleColor":"rgba(255, 255, 255, 1)","borderTopWidth":0,"borderBottomWidth":0,"borderleftWidth":0,"borderRightWidth":0,"paddingLeft":0},"twolevel":{"fontWeight":500,"fontAlign":"center","fontSize":12,"fontFamily":"Microsoft YaHei","background":"#ccc","color":"#fff","width":180,"height":30,"borderColor":"#ccc","borderStyle":"solid","borderRadius":3,"seleFontSize":14,"seleBackground":"#f00","seleColor":"#fff","boxWidth":1000,"boxHeight":40,"margin":10,"borderTopWidth":0,"borderBottomWidth":0,"borderleftWidth":0,"borderRightWidth":0,"paddingLeft":10,"marginTop":10,"marginBottom":0,"marginLeft":0,"marginRight":0},"threelevel":{"fontWeight":500,"fontAlign":"center","fontSize":12,"fontFamily":"Microsoft YaHei","background":"#069805","color":"#333","width":160,"height":30,"borderColor":"#ccc","borderStyle":"solid","borderRadius":3,"seleFontSize":12,"seleBackground":"#054c98","seleColor":"#fff900","borderTopWidth":0,"borderBottomWidth":0,"borderleftWidth":0,"borderRightWidth":0,"paddingLeft":5},"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"},"frameBox":900,"frameHeight":42,"styleId":"4183","open_type":"hoverOpen","height_type":"box"});
                    if (style) {
                        this.editVal = JSON.parse(style);
                    }
                    var listArr = JSON.stringify();
                    if (listArr) {
                        this.listArr = JSON.parse(listArr);
                    }
                }
                catch (err) {
                }


                //获取链接，匹配/分割字符串
                var myUrlId = window.location.pathname;
                var urlId = myUrlId.split('/');


                for (var i = 0; i < urlId.length; i++) {
                    if (urlId[i].indexOf('html') > -1) {
                        //链接带id的情况
                        if (urlId[i].indexOf('-') > -1) {
                            var str = urlId[i].split('-');
                            var val = str[1].split('.')[0];
                        }
                    }
                }
                this.selectId = val;
                //计算1级，2级，3级ID
                if (this.testList) {
                    for (var i = 0; i < this.testList.length; i++) {
                        if (this.testList[i].children) {
                            if (this.testList[i].id == val) {
                                this.oneSelectId = val;//算出一级id
                                this.oneSelectIndex = i;
                                break;
                            }
                        }
                    }
                }

            },
            ready: function () {
                var that = this;
                var ele = $('#u332868').find('.swiperCatelog-container');
                var catelogSwiper = new Swiper(ele, {
                    slidesPerView: that.editVal.numShow, //同时显示数量
                    paginationClickable: true,
                    spaceBetween: that.editVal.padding, //间距
                    freeMode: true,
                    autoplay: 0,
                    autoplayDisableOnInteraction: false,
                    observer: true,
                    observeParents: true, //时时监听
                    initialSlide: that.oneSelectIndex
                });

                $('#u332868').find('.swiperLeft button').click(function () {
                    catelogSwiper.slidePrev();
                });

                $('#u332868').find('.swiperRight button').click(function () {
                    catelogSwiper.slideNext();
                });





                //竖向动画下拉
                if(this.editVal.open_type != 'showOne' && this.editVal.open_type != 'showTwo' && this.editVal.open_type != 'showAll' && this.editVal.height_type != 'auto'){


                    if (this.editVal.animation == 'toggle') {
                        $('#u332868').find('.oneUl').children('li').hover(
                            function () {
                                if($(this).find('.twoUl').children().length > 0){
                                    $(this).find('.twoUl').stop(true, true).delay(100).show(that.editVal.animationTime);
                                }
                            },
                            function () {
                                if (!$(this).attr('data-select')) {
                                    $(this).find('.twoUl').stop(true, true).delay(100).hide(that.editVal.animationTime)
                                }

                            }
                        );
                        $('#u332868').find('.twoUl').children('li').hover(
                            function () {
                                if($(this).find('.threeUl').children().length > 0) {
                                    $(this).find('.threeUl').stop(true, true).delay(100).show(that.editVal.animationTime);
                                }
                            },
                            function () {
                                if (!$(this).attr('data-select')) {
                                    $(this).find('.threeUl').stop(true, true).delay(100).hide(that.editVal.animationTime)
                                }

                            }
                        );
                    }
                    else if (this.editVal.animation == 'slide') {
                        $('#u332868').find('.oneUl').children('li').hover(
                            function () {
                                if($(this).find('.twoUl').children().length > 0) {
                                    $(this).find('.twoUl').stop(true, true).delay(100).slideDown(that.editVal.animationTime);
                                }
                            },
                            function () {
                                if (!$(this).attr('data-select')) {
                                    $(this).find('.twoUl').stop(true, true).delay(100).slideUp(that.editVal.animationTime);
                                }
                            }
                        );
                        $('#u332868').find('.twoUl').children('li').hover(
                            function () {
                                if($(this).find('.threeUl').children().length > 0) {
                                    $(this).find('.threeUl').stop(true, true).delay(100).slideDown(that.editVal.animationTime);
                                }
                            },
                            function () {
                                if (!$(this).attr('data-select')) {
                                    $(this).find('.threeUl').stop(true, true).delay(100).slideUp(that.editVal.animationTime);
                                }
                            }
                        );
                    }
                    else {
                        $('#u332868').find('.oneUl').children('li').hover(
                            function () {
                                if($(this).find('.twoUl').children().length > 0) {
                                    $(this).find('.twoUl').stop(true, true).fadeIn(that.editVal.animationTime)
                                }
                            },
                            function () {
                                if (!$(this).attr('data-select')) {
                                    $(this).find('.twoUl').stop(true, true).fadeOut(that.editVal.animationTime)
                                }

                            }
                        );
                        $('#u332868').find('.twoUl').children('li').hover(
                            function () {
                                if($(this).find('.threeUl').children().length > 0) {
                                    $(this).find('.threeUl').stop(true, true).fadeIn(that.editVal.animationTime)
                                }
                            },
                            function () {
                                if (!$(this).attr('data-select')) {
                                    $(this).find('.threeUl').stop(true, true).fadeOut(that.editVal.animationTime)
                                }

                            }
                        );
                    }
                }

                //竖向动画下拉,自动撑开
                if(this.editVal.open_type != 'showOne' && this.editVal.open_type != 'showTwo' && this.editVal.open_type != 'showAll' && this.editVal.height_type == 'auto'){
                    //先做次自适应高度撑开,当数据增加或减少的时候
                    if(this.editVal.height_auto > 0){
                        this.self_height = this.editVal.height_auto;
                        this.mark_top();
                        this.module_top_calculation();
                    }

                    //如果是自动撑开，先做一些自定义属性绑定
                    this.self_height = parseFloat($('#u332868').outerHeight());
                    this.mark_top();
                    if (this.editVal.animation == 'toggle') {
                        $('#u332868').find('.oneUl').children('li').hover(
                            function () {
                                if($(this).find('.twoUl').children().length > 0) {

                                    $(this).find('.twoUl').stop(true, true).delay(100).show(that.editVal.animationTime, function () {
                                        clearInterval(that.timer);
                                        that.module_top_calculation();
                                    });
                                    that.module_top_animation();
                                }
                            },
                            function () {
                                if (!$(this).attr('data-select')) {
                                    $(this).find('.twoUl').stop(true, true).delay(100).hide(that.editVal.animationTime,function () {
                                        clearInterval(that.timer);
                                        that.module_top_calculation();
                                    })
                                    that.module_top_animation();
                                }

                            }
                        );
                        $('#u332868').find('.twoUl').children('li').hover(
                            function () {
                                if($(this).find('.threeUl').children().length > 0) {

                                    $(this).find('.threeUl').stop(true, true).delay(100).show(that.editVal.animationTime, function () {
                                        clearInterval(that.timer);
                                        that.module_top_calculation();
                                    });
                                    that.module_top_animation();
                                }
                            },
                            function () {
                                if (!$(this).attr('data-select')) {
                                    $(this).find('.threeUl').stop(true, true).delay(100).hide(that.editVal.animationTime,function () {
                                        clearInterval(that.timer);
                                        that.module_top_calculation();
                                    })
                                    that.module_top_animation();
                                }

                            }
                        );
                    }
                    else if (this.editVal.animation == 'slide') {
                        $('#u332868').find('.oneUl').children('li').hover(
                            function () {
                                if($(this).find('.twoUl').children().length > 0) {

                                    $(this).find('.twoUl').stop(true, true).delay(100).slideDown(that.editVal.animationTime,function () {
                                        clearInterval(that.timer);
                                        that.module_top_calculation();
                                    });
                                    that.module_top_animation();
                                }
                            },
                            function () {
                                if (!$(this).attr('data-select')) {
                                    $(this).find('.twoUl').stop(true, true).delay(100).slideUp(that.editVal.animationTime,function () {
                                        clearInterval(that.timer);
                                        that.module_top_calculation();
                                    });
                                    that.module_top_animation();
                                }
                            }
                        );
                        $('#u332868').find('.twoUl').children('li').hover(
                            function () {

                                if($(this).find('.threeUl').children().length > 0) {
                                    $(this).find('.threeUl').stop(true, true).delay(100).slideDown(that.editVal.animationTime, function () {
                                        clearInterval(that.timer);
                                        that.module_top_calculation();
                                    })
                                    that.module_top_animation();
                                }
                            },
                            function () {
                                if (!$(this).attr('data-select')) {
                                    $(this).find('.threeUl').stop(true, true).delay(100).slideUp(that.editVal.animationTime,function () {
                                        clearInterval(that.timer);
                                        that.module_top_calculation();
                                    });
                                    that.module_top_animation();
                                }
                            }
                        );
                    }
                    else {
                        $('#u332868').find('.oneUl').children('li').hover(
                            function () {
                                if($(this).find('.twoUl').children().length > 0) {
                                    $(this).find('.twoUl').stop(true, true).fadeIn(that.editVal.animationTime, function () {
                                        clearInterval(that.timer);
                                        that.module_top_calculation();
                                    });
                                    that.module_top_animation();
                                }
                            },
                            function () {
                                if (!$(this).attr('data-select')) {
                                    $(this).find('.twoUl').stop(true, true).fadeOut(that.editVal.animationTime,function () {
                                        clearInterval(that.timer);
                                        that.module_top_calculation();
                                    });
                                    that.module_top_animation();
                                }

                            }
                        );
                        $('#u332868').find('.twoUl').children('li').hover(
                            function () {
                                if($(this).find('.threeUl').children().length > 0) {
                                    $(this).find('.threeUl').stop(true, true).fadeIn(that.editVal.animationTime, function () {
                                        clearInterval(that.timer);
                                        that.module_top_calculation();
                                    });
                                    that.module_top_animation();
                                }
                            },
                            function () {
                                if (!$(this).attr('data-select')) {
                                    $(this).find('.threeUl').stop(true, true).fadeOut(that.editVal.animationTime, function () {
                                        clearInterval(that.timer);
                                        that.module_top_calculation();
                                    });
                                    that.module_top_animation();
                                }

                            }
                        );
                    }
                }

                if (typeof templet != "undefined") {
                    templet.checkaction(this);
                }


            }
        })
    }
}

    if( parseInt($.browser.version) === 8 ){
        console.log('ie8')
    }
    else{
        Vue.filter('my-filter', function (value) {
            if(value){
                var str = value.replace(/`/g,'"');
                return str
            }
        });
        //只有dom存在，才绑定js
        if(document.querySelector('#u787554')){
            var num = 'u787554';
            window['indexNews'+num] = new Vue({
                el: '#u787554',
                data:{
                    editVal:{},
                    val:{},
                    type:'',
                    tabData:[],
                    tabIndex:'look'

                },
                methods:{
                    tabSelect:function (i) {
                        this.tabIndex = i;
                        //console.log(this.tabIndex)
                        var titleHeight = this.editVal.tab.btn.height;
                        var frameHeight = this.editVal.tab.box.height;
                        if(i == 'money'){
                            $('#u787554').find('.productIndexTab').css('height',titleHeight + 'px');
                            this.rowHeight('money');
                        }
                        else{
                            $('#u787554').find('.productIndexTab').css('height','auto');
                            this.rowHeight();
                        }

                    },
                    rowHeight:function(type){
                        var that = this;
                        Vue.nextTick(function () {


                            //module的Top
                            var moduleTop = parseInt($('#u787554').css('top'));

                            //计算挂件的总高度
                            var newsIndex = $('#u787554').find('.newsIndex').children();
                            var heightArr = [];
                            var newsIndexHeight = 0;//挂件的高度

                            for(var i = 0;i<newsIndex.length;i++){
                                var display = $(newsIndex[i]).css('display');
                                var childTop = parseInt($(newsIndex[i]).css('top'));
                                var childHeight = parseInt($(newsIndex[i]).css('height'));


                                if( display == 'block'){
                                    var allHeight = childTop + childHeight;
                                    heightArr.push(allHeight);
                                }
                            }


                            if(heightArr.length > 0){
                                heightArr.sort(function(a,b){
                                    return b-a});
                                newsIndexHeight = heightArr[0] + 10;
                            }
                            //console.log(heightArr)


                            $('#u787554').find('.newsIndex').css('height',newsIndexHeight+'px');

                            //给row的高度赋值
                            //判断是否是询价,是询价的话，row要留出最小高度的空间
                            if(type == 'money'){
                                var tabMinHeight = that.editVal.tab.content.height;
                                $('#u787554').parents('.layrow').css('height',moduleTop + newsIndexHeight + tabMinHeight+50 +'px');
                                $('#u787554').parents('.layrow').css('min-height',moduleTop + newsIndexHeight + tabMinHeight+50 +'px');
                            }
                            else{
                                if( parseInt($('#u787554').parents('.layrow').css('height')) < moduleTop + newsIndexHeight +50){
                                    $('#u787554').parents('.layrow').css('height',moduleTop + newsIndexHeight +50 +'px');
                                    $('#u787554').parents('.layrow').css('min-height',moduleTop + newsIndexHeight +50 +'px');
                                }
                                
                            }
                            //debugger;
                        })


                    }
                },
                created:function () {
                    try{
                        //初始化获取数据
                        var that = this;
                        //var StorageValStr = '{"tab":{"box":{"display":"none","width":1200,"top":400,"left":0,"zIndex":10,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":0,"borderColor":"rgba(228, 234, 236, 1)","borderStyle":"solid","background":"rgba(255, 255, 255, 1)","marginTop":10,"marginBottom":0,"padding":0,"text":"查看详情","inquiryDisplay":"block"},"btn":{"width":100,"height":45,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":1,"borderColor":"rgba(179, 39, 52, 1)","borderStyle":"none","background":"rgba(234, 234, 234, 1)","color":"rgba(51, 51, 51, 1)","fontSize":14,"textAlign":"center","marginRight":5,"lineBackground":"rgba(246, 246, 246, 1)"},"btnSelect":{"background":"rgba(179, 39, 52, 1)","color":"rgba(255, 255, 255, 1)","fontSize":14},"content":{"width":780,"height":50,"borderLeftWidth":1,"borderRightWidth":1,"borderTopWidth":1,"borderBottomWidth":1,"borderColor":"rgba(204, 204, 204, 1)","borderStyle":"none","color":"rgba(90, 90, 90, 1)","fontSize":14,"textAlign":"left","lineHeight":30,"marginTop":10,"marginRight":10,"marginBottom":10,"marginLeft":10,"padding":10},"icon":{"display":"block"}},"box":{"width":1200,"height":293,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":0,"borderColor":"rgba(204, 204, 204, 1)","borderStyle":"none","background":"rgba(255, 255, 255, 1)"},"header":{"width":1200,"height":50,"top":0,"left":0,"zIndex":1,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":1,"borderColor":"rgba(238, 238, 238, 1)","borderStyle":"none","color":"rgba(141, 198, 67, 1)","fontSize":24,"textAlign":"center","background":"rgba(255, 255, 255, 1)","lineHeight":45,"fontFamily":"Microsoft YaHei","fontWeight":"normal"},"headerBottom":{"width":1200,"height":43,"top":50,"left":0,"zIndex":1,"display":"block","borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":1,"borderColor":"rgba(238, 238, 238, 1)","borderStyle":"solid","nameColor":"rgba(153, 153, 153, 1)","valColor":"rgba(153, 153, 153, 1)","fontSize":14,"background":"rgba(255, 255, 255, 1)","time":{"display":"block","marginLeft":0,"marginRight":0},"source":{"display":"block","marginLeft":15,"marginRight":0},"people":{"display":"block","marginLeft":10,"marginRight":10},"look":{"display":"block","marginLeft":15,"marginRight":0},"textAlign":"center"},"img":{"display":"none","width":550,"height":380,"top":0,"left":0,"zIndex":1,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":0,"borderColor":"rgba(204, 204, 204, 1)","borderStyle":"none","imgWidth":550,"imgHeight":380,"margin":0},"content":{"display":"block","width":1200,"height":700,"top":115,"left":0,"zIndex":1,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":0,"borderColor":"rgba(204, 204, 204, 1)","borderStyle":"none","background":"rgba(255, 255, 255, 1)","color":"#f00","fontSize":18,"textAlign":"left","lineHeight":60},"magnifier":{"display":"none","width":300,"height":300,"top":340,"left":0,"zIndex":1,"margin":10},"summary":{"display":"none","width":570,"height":180,"top":75,"left":630,"zIndex":2,"borderLeftWidth":1,"borderRightWidth":1,"borderTopWidth":1,"borderBottomWidth":1,"borderColor":"rgba(204, 204, 204, 1)","borderStyle":"none","background":"rgba(255, 255, 255, 1)","color":"rgba(90, 90, 90, 1)","fontSize":15,"textAlign":"left","lineHeight":24,"fontFamily":"Microsoft YaHei"},"styleId":"4189","effectsObj":{"type":"","icon":"fa-adjust","iconSize":50,"iconColor":"#fff","changeSrc":"","borderStyle":"solid","borderWidth":1,"borderColor":"#ccc","deg":90,"zoom":1.5,"distance":20}}';

                        //var StorageVal = JSON.parse(StorageValStr);

                        this.editVal = JSON.parse(JSON.stringify({"tab":{"box":{"display":"none","width":1200,"top":400,"left":0,"zIndex":10,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":0,"borderColor":"rgba(228, 234, 236, 1)","borderStyle":"solid","background":"rgba(255, 255, 255, 1)","marginTop":10,"marginBottom":0,"padding":0,"text":"查看详情","inquiryDisplay":"block"},"btn":{"width":100,"height":45,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":1,"borderColor":"rgba(179, 39, 52, 1)","borderStyle":"none","background":"rgba(234, 234, 234, 1)","color":"rgba(51, 51, 51, 1)","fontSize":14,"textAlign":"center","marginRight":5,"lineBackground":"rgba(246, 246, 246, 1)"},"btnSelect":{"background":"rgba(179, 39, 52, 1)","color":"rgba(255, 255, 255, 1)","fontSize":14},"content":{"width":780,"height":50,"borderLeftWidth":1,"borderRightWidth":1,"borderTopWidth":1,"borderBottomWidth":1,"borderColor":"rgba(204, 204, 204, 1)","borderStyle":"none","color":"rgba(90, 90, 90, 1)","fontSize":14,"textAlign":"left","lineHeight":30,"marginTop":10,"marginRight":10,"marginBottom":10,"marginLeft":10,"padding":10},"icon":{"display":"block"}},"box":{"width":1200,"height":293,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":0,"borderColor":"rgba(204, 204, 204, 1)","borderStyle":"none","background":"rgba(255, 255, 255, 1)"},"header":{"width":1200,"height":50,"top":0,"left":0,"zIndex":1,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":1,"borderColor":"rgba(238, 238, 238, 1)","borderStyle":"none","color":"rgba(141, 198, 67, 1)","fontSize":24,"textAlign":"center","background":"rgba(255, 255, 255, 1)","lineHeight":45,"fontFamily":"Microsoft YaHei","fontWeight":"normal"},"headerBottom":{"width":1200,"height":43,"top":50,"left":0,"zIndex":1,"display":"block","borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":1,"borderColor":"rgba(238, 238, 238, 1)","borderStyle":"solid","nameColor":"rgba(153, 153, 153, 1)","valColor":"rgba(153, 153, 153, 1)","fontSize":14,"background":"rgba(255, 255, 255, 1)","time":{"display":"block","marginLeft":0,"marginRight":0},"source":{"display":"block","marginLeft":15,"marginRight":0},"people":{"display":"block","marginLeft":10,"marginRight":10},"look":{"display":"block","marginLeft":15,"marginRight":0},"textAlign":"center"},"img":{"display":"none","width":550,"height":380,"top":0,"left":0,"zIndex":1,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":0,"borderColor":"rgba(204, 204, 204, 1)","borderStyle":"none","imgWidth":550,"imgHeight":380,"margin":0},"content":{"display":"block","width":1200,"height":700,"top":115,"left":0,"zIndex":1,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":0,"borderColor":"rgba(204, 204, 204, 1)","borderStyle":"none","background":"rgba(255, 255, 255, 1)","color":"#f00","fontSize":18,"textAlign":"left","lineHeight":60},"magnifier":{"display":"none","width":300,"height":300,"top":340,"left":0,"zIndex":1,"margin":10},"summary":{"display":"none","width":570,"height":180,"top":75,"left":630,"zIndex":2,"borderLeftWidth":1,"borderRightWidth":1,"borderTopWidth":1,"borderBottomWidth":1,"borderColor":"rgba(204, 204, 204, 1)","borderStyle":"none","background":"rgba(255, 255, 255, 1)","color":"rgba(90, 90, 90, 1)","fontSize":15,"textAlign":"left","lineHeight":24,"fontFamily":"Microsoft YaHei"},"styleId":"4189","effectsObj":{"type":"","icon":"fa-adjust","iconSize":50,"iconColor":"#fff","changeSrc":"","borderStyle":"solid","borderWidth":1,"borderColor":"#ccc","deg":90,"zoom":1.5,"distance":20}}));


                        //var listArr = {"release_time":"发布时间：","source":"来源：","look":"浏览次数：","asking_price":"询价"}
                        //var a = '{'
                        var typeNow = '';

                    }
                    catch(err){}



                    if( typeNow == 'video'){
                        this.type = 'video';

                    }

                    /*if (StorageVal != null) {
                        this.editVal = StorageVal;
                    }*/

                },
                ready:function () {
                    var that = this;

                    //为了应对有padding情况下，初始化计算高度有误差
                    var timer = setTimeout(function(){
                        clearTimeout(timer);
                        timer = null;
                        that.rowHeight();
                    },0)
                    var img_list = $('#u787554').find('.has_imgs').find('img');
                    for(var i = 0;i<img_list.length;i++){
                        (function () {
                            $(img_list[i]).load(function () {
                                that.rowHeight();
                            })
                        })(i)
                    }
                    var dom_id = document.getElementById('u787554')
                   
                   var video =dom_id.querySelectorAll("#video2") ||dom_id.querySelectorAll("#video1") 
                   if(video&& video[0]){
                    video[0].addEventListener('canplay', function (e) {
                        that.rowHeight();
                    })
                   }
                   
                   var video_list = $('#u787554').find('.productIndexTab-content .contentText').find('video');
                   for(var j = 0;j<video_list.length;j++){
                    (function () {
                        $(video_list[j]).on('canplaythrough', function () {
                            that.rowHeight();
                        })
                    })(j)
                   }

                    if(typeof templet!="undefined")
                    {
                        templet.checkaction(this);
                    }
                    
                    
                    

                }
            });
        }


    }
//<script>
    var textareaEle = document.querySelector('#u133970 > textarea');
    //textarea元素是否存在
    if( textareaEle ){
        var StorageVal = $('#u133970').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":932,"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":"rgba(51, 51, 51, 1)","w_border_left_color_globalColor":"","w_border_left_style":"solid","w_border_left_width":0,"w_border_top_color":"rgba(51, 51, 51, 1)","w_border_top_color_globalColor":"","w_border_top_style":"solid","w_border_top_width":0,"w_border_right_color":"rgba(51, 51, 51, 1)","w_border_right_color_globalColor":"","w_border_right_style":"solid","w_border_right_width":0,"w_border_bottom_color":"rgba(51, 51, 51, 1)","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 : 'u133970';
        }
    }

    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 = $('#u133970').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 ){
}else{
    //只有dom存在，才绑定js
    if(document.querySelector('#u683830')){
        var num = 'u683830';
        window['indexVm'+num] = new Vue({
            el:"#u683830",
            data:{
                indexStore:{

                },
                indexShow:false
            },
            computed:{
                ul:function(){
                    return {
                        width:this.indexStore.page_box_li_width + 'px',
                        height:this.indexStore.page_box_li_height + 'px',
                        position:'relative'
                    }
                },
                b1:function(){
                    return {
                        position: "absolute",
                        width:this.indexStore.page_date_width + 'px',
                        height:this.indexStore.page_date_height + 'px',
                        lineHeight:this.indexStore.page_date_height + 'px',
                        display:this.indexStore.page_b_is_show,
                        fontSize:this.indexStore.page_b_fs + 'px',
                        color:this.indexStore.page_b_fs_color,
                        left:(this.indexStore.predate.left - this.indexStore.pre.left) + 'px',
                        top:(this.indexStore.predate.top - this.indexStore.pre.top) + 'px',
                        overflow: 'hidden',
                        whiteSpace: 'nowrap',
                        textOverflow: 'ellipsis',
                    };
                },
                b2:function(){
                    return {
                        position: "absolute",
                        width:this.indexStore.page_date_width + 'px',
                        height:this.indexStore.page_date_height + 'px',
                        lineHeight:this.indexStore.page_date_height + 'px',
                        display:this.indexStore.page_b_is_show,
                        fontSize:this.indexStore.page_b_fs + 'px',
                        color:this.indexStore.page_b_fs_color,
                        left:(this.indexStore.nextdate.left - this.indexStore.next.left) + 'px',
                        top:(this.indexStore.nextdate.top - this.indexStore.next.top) + 'px',
                        overflow: 'hidden',
                        whiteSpace: 'nowrap',
                        textOverflow: 'ellipsis',
                    };
                },
                li1:function(){
                    return {
                        position: "absolute",
                        width:this.indexStore.page_li_width + 'px',
                        height:this.indexStore.page_li_height + 'px',
                        background:this.indexStore.page_li_bc_color,
                        left:this.indexStore.pre.left + 'px',
                        top:this.indexStore.pre.top + 'px',
                    };
                },
                li2:function(){
                    return {
                        position: "absolute",
                        width:this.indexStore.page_li_width + 'px',
                        height:this.indexStore.page_li_height + 'px',
                        background:this.indexStore.page_li_bc_color,
                        left:this.indexStore.next.left + 'px',
                        top:this.indexStore.next.top + 'px',
                    };
                },
                a1:function(){
                    return {
                        position: "absolute",
                        fontSize:this.indexStore.page_a_fs + 'px',
                        color:this.indexStore.is_unify === '1' ?  this.indexStore.page_a_fs_color : this.indexStore.is_unify_color,
                        width:this.indexStore.page_a_width + 'px',
                        height:this.indexStore.page_a_height + 'px',
                        left:(this.indexStore.prea.left - this.indexStore.pre.left) + 'px',
                        top:(this.indexStore.prea.top - this.indexStore.pre.top) + 'px',
                        whiteSpace: 'nowrap',
                        overflow: 'hidden',
                        textOverflow: 'ellipsis',
                        lineHeight:this.indexStore.page_a_lineheight + 'px'

                    };
                },
                a11:function(){
                    return {
                        position: "absolute",
                        fontSize:this.indexStore.page_a_fs + 'px',
                        color:this.indexStore.is_unify === '1' ?  this.indexStore.page_a_fs_color : this.indexStore.is_unify_color,
                        width:this.indexStore.page_a_width + 'px',
                        height:this.indexStore.page_a_height + 'px',
                        left:(this.indexStore.prea.left - this.indexStore.pre.left) + 'px',
                        top:(this.indexStore.prea.top - this.indexStore.pre.top) + 'px',
                        lineHeight:this.indexStore.page_a_lineheight + 'px'

                    };
                },
                a2:function(){
                    return {
                        position: "absolute",
                        fontSize:this.indexStore.page_a_fs + 'px',
                        color:this.indexStore.is_unify === '1' ?  this.indexStore.page_a_fs_color : this.indexStore.is_unify_color,
                        width:this.indexStore.page_a_width + 'px',
                        height:this.indexStore.page_a_height + 'px',
                        left:(this.indexStore.nexta.left - this.indexStore.next.left) + 'px',
                        top:(this.indexStore.nexta.top - this.indexStore.next.top) + 'px',
                        whiteSpace: 'nowrap',
                        overflow: 'hidden',
                        textOverflow: 'ellipsis',
                        lineHeight:this.indexStore.page_a_lineheight + 'px'
                    };
                },
                a22:function(){
                    return {
                        position: "absolute",
                        fontSize:this.indexStore.page_a_fs + 'px',
                        color:this.indexStore.is_unify === '1' ?  this.indexStore.page_a_fs_color : this.indexStore.is_unify_color,
                        width:this.indexStore.page_a_width + 'px',
                        height:this.indexStore.page_a_height + 'px',
                        left:(this.indexStore.nexta.left - this.indexStore.next.left) + 'px',
                        top:(this.indexStore.nexta.top - this.indexStore.next.top) + 'px',
                        lineHeight:this.indexStore.page_a_lineheight + 'px'
                    };
                },
                span1:function(){
                    return {
                        width:this.indexStore.page_txt_width + 'px',
                        height:this.indexStore.page_txt_height + 'px',
                        lineHeight:this.indexStore.page_txt_lineheight + 'px',
                        position: "absolute",
                        fontSize:this.indexStore.page_span_fs + 'px',
                        color:this.indexStore.is_unify === '1' ?  this.indexStore.page_span_fs_color : this.indexStore.is_unify_color,
                        left:(this.indexStore.pretxt.left  - this.indexStore.pre.left) + 'px',
                        top:(this.indexStore.pretxt.top - this.indexStore.pre.top) + 'px',

                    };
                },
                span2:function(){
                    return {
                        width:this.indexStore.page_txt_width + 'px',
                        height:this.indexStore.page_txt_height + 'px',
                        lineHeight:this.indexStore.page_txt_lineheight + 'px',
                        position: "absolute",
                        fontSize:this.indexStore.page_span_fs + 'px',
                        color:this.indexStore.is_unify === '1' ?  this.indexStore.page_span_fs_color : this.indexStore.is_unify_color,
                        left:(this.indexStore.nexttxt.left - this.indexStore.next.left) + 'px',
                        top:(this.indexStore.nexttxt.top - this.indexStore.next.top) + 'px',
                    };
                }
            },
            methods:{

            },
            created:function(){

                try{
                    var StorageVal = {"allwidth":200,"allheight":200,"is_unify":"0","is_unify_color":"rgba(102, 102, 102, 1)","is_unify_bc":"rgba(141, 198, 67, 1)","page_span_a_hover":"1","page_a_lineheight":30,"page_box_li_width":1200,"page_box_li_height":30,"page_li_width":600,"page_li_height":30,"page_txt_width":57,"page_txt_height":30,"page_txt_lineheight":30,"page_a_width":517,"page_a_height":30,"page_date_width":105,"page_date_height":31.5,"public":{},"pre":{"top":0,"left":0},"next":{"top":0,"left":600},"pretxt":{"top":0,"left":0},"nexttxt":{"top":0,"left":618},"prea":{"top":0,"left":55.5},"nexta":{"top":0,"left":674.5},"predate":{"top":27,"left":336},"nextdate":{"top":760,"left":600},"page_pre_txt":"上一个：","page_next_txt":"下一个：","page_a_margin_left":0,"page_a_margin_right":0,"page_span_margin_left":-551,"page_span_margin_right":0,"page_span_fs":14,"page_a_fs":14,"page_span_fs_color":"rgba(102, 102, 102, 1)","page_a_fs_color":"rgba(102, 102, 102, 1)","page_span_fs_color_hover":"rgba(51, 51, 51, 1)","page_a_fs_color_hover":"rgba(0, 134, 205, 1)","page_li_bc_color":"rgba(255, 255, 255, 1)","page_li_bc_color_hover":"rgba(255, 255, 255, 1)","page_b_fs_color":"#660000","page_b_fs_color_hover":"#f00","page_a_width_overfllow":"0","page_a_span_hover":"1","page_b_fs":14,"page_b_margin_left":220,"page_b_margin_right":30,"page_b_is_show":"none","page_li_line_height":30,"page_li_line_overflow":"hidden","styleId":"4187","effectsObj":{"type":"","icon":"fa-adjust","iconSize":50,"iconColor":"#fff","changeSrc":"","borderStyle":"solid","borderWidth":1,"borderColor":"#ccc","deg":90,"zoom":1.5,"distance":20},"page_pre_a":"没有了","page_next_a":"没有了"};
                    if(StorageVal != null){
                        this.indexStore = StorageVal;
                    }
                }catch(e){}

                var objs = {
                    acolor:'' || "rgba(102, 102, 102, 1)",
                    ahovercolor:'' || "rgba(0, 134, 205, 1)",
                    spancolor:'' || "rgba(102, 102, 102, 1)",
                    spanhovercolor:'' || "rgba(51, 51, 51, 1)",
                    istongyi:'' || "1",
                    isspan:"" || "1",
                    isunify:"" || "0",
                    isunifycolor:"" || "rgba(102, 102, 102, 1)",
                    isunifybc:"" || "rgba(141, 198, 67, 1)"
                }

                //文本和链接颜色是否统一设置
                if(objs.isunify == 0){
                    $('#u683830 ul.page_ul li span, #u683830 ul.page_ul li a').hover(function(){
                        $(this).parent().children().not('b').eq(0).css('color',objs.isunifybc);
                        $(this).parent().children().not('b').eq(1).css('color',objs.isunifybc);
                    },function(){
                        $(this).parent().children().not('b').eq(0).css('color',objs.isunifycolor);
                        $(this).parent().children().not('b').eq(1).css('color',objs.isunifycolor);
                    });

                }else{
                    //文本设置 链接与文本颜色保持一直
                    if(objs.isspan == 0){
                        $('#u683830 ul.page_ul li span').hover(function(){
                            $(this).css('color',objs.spanhovercolor);
                            $(this).prev('a').css('color',objs.spanhovercolor);
                        },function(){
                            $(this).css('color',objs.spancolor);
                            $(this).prev('a').css('color',objs.acolor);
                        });
                    }

                    //链接设置 链接与文本颜色保持一直
                    if (objs.istongyi == 0) {
                        $('#u683830 ul.page_ul li a').hover(function(){
                            $(this).css('color',objs.ahovercolor);
                            $(this).parent().find('span').css('color',objs.ahovercolor);

                        },function(){
                            $(this).css('color',objs.acolor);
                            $(this).parent().find('span').css('color',objs.spancolor);
                        });

                        $('#u683830 ul.page_ul li span').hover(function(){
                            $(this).css('color',objs.spanhovercolor);
                        },function(){
                            $(this).css('color',objs.spancolor);
                        });
                    }else{

                        $('ul.page_ul li a').hover(function(){
                            $(this).css('color',objs.ahovercolor);

                        },function(){
                            $(this).css('color',objs.acolor);
                        });
                    }

                }

            },
            ready:function(){
                if(typeof templet!="undefined"){
                    templet.checkaction(this);
                }
            }
        });
    }


}

if('' == '0' || '1' == '0'){
    //样式1
    var ad = new AdMove("u730946");
    $('#u730946').css('zIndex','999999');
    var times = '' || '10'
    ad.Run(parseInt(times));
    //关闭点击事件
    $("#u730946 #open_page").on('click',function(){
        $('#u730946').css("display","none");
    });
};

 	if( parseInt($.browser.version) === 8 ){
 		console.log('ie8')
 	}else {

        //只有dom存在，才绑定js
        if (document.querySelector('#u730946')) {
            ;var num = 'u730946';
            window['indexVm' + num] = new Vue({
                el: "#u730946",
                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":"<p style=\"font-size:16px;color:#FFFFFF;line-height:35px;padding-left:15px;\">\n\t相关视频\n</p>","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":35,"fixedLeft":0,"fixedTop":0,"openShow":false,"isShows":false,"editBc":"rgba(47, 11, 11, 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 {
                            $('#u730946').css({
                                'position': 'fixed',
                                'zIndex': '999999'
                            });
                        } catch (e) {
                        }
                        ;
                    }

                    //挂件动画
                    try {
                        $.allWidgetAnimate(this, $('#u730946'));
                    } catch (e) {
                    }
                    ;
                },
                ready: function () {
                    if (this.indexStore.custom_pos_style === '2') {
                        var t = setTimeout(function () {
                            try {
                                $("#u730946").draggable();
                                $("#u730946").draggable("disable");
                            } catch (e) {
                            }
                            clearTimeout(t);
                        }, 500);
                    } else if (this.indexStore.custom_pos_style === '1') {
                        setTimeout(function () {
                            try {
                                $("#u730946").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 ){
}else{
    Vue.filter('my_picarticle', function (value) {
var that = this;

var str = value;
        if(value){
            str = value.replace(/`/g,'"');

        }
if(value.length > this.editVal.content.textLength){
    str = str.substring(0,this.editVal.content.textLength) + '...';
}

return str
    })
    Vue.filter('my-yyf-day', function (value) {
        if(value){
            var arr = value.split('-');
            var str = arr[2];
            return str
        }
    })
    Vue.filter('my-yyf-year', function (value) {
        if(value){
            var arr = value.split('-');
            var str = arr[0] + '-' +arr[1];
            return str
        }else{
            return '';
        }
    })
    //只有dom存在，才绑定js
    if(document.querySelector('#u448555')){
        var num = 'u448555';
        window['indexPicarticleVm'+num] = new Vue({
            el: '#u448555',
            data: {
                editVal:{},
                listArr:{},
                classSwiperVal:'', //初始化是第一分类的数据
                classIndex:0,
                picSwiper:{}
            },
            methods: {
                //分类模式(点击切换)
                openSwiper: function(i) {
                    this.classIndex = i;
                    var classFrame = $('#u448555').find('.picSwiper-container-frame');
                    classFrame.eq(i).siblings().css('visibility','hidden');
                    classFrame.eq(i).css('visibility','visible');
                },

                //分类模式（鼠标悬浮切换）
                mouseOverSwiper:function (i) {
                    if(this.editVal.classStyle.selectPattern == 'hover'){
                        this.openSwiper(i);
                    }

                },
                borderHoverAnimation:function () {
                    var that = this;
                    if(that.editVal.Mongolia.isOpen == 'true'){


                        $('#u448555').on('mouseenter','.swiper-slide',function(){
                            $(this).find('.Mongolia').stop(true,true).delay(200).show(
                                {
                                    effect:that.editVal.Mongolia.animation,
                                    direction:that.editVal.Mongolia.direction
                                },
                                1000
                            )
                        })

                        $('#u448555').on('mouseleave','.swiper-slide',function(){
                            $(this).find('.Mongolia').stop(true,true).delay(200).hide(
                                {
                                    effect:that.editVal.Mongolia.animation,
                                    direction:that.editVal.Mongolia.direction
                                },
                                1000
                            )
                        })

                    }
                },
                swiperBtn:function (swiper) {
                    $('#u448555').find('.banner-btn-prev').click(function () {
                        swiper.slidePrev();
                    })
                    $('#u448555').find('.banner-btn-next').click(function () {
                        swiper.slideNext();
                    })
                }


            },
            created:function () {
                //初始化数据源赋值

                //初始化数据源赋
                try{
                    var style = JSON.stringify({"loop":"false","pattern":"horizontal","speed":300,"patternWidth":1200,"patternHeight":257,"patternPadding":0,"patternBorderType":"none","patternBordercolor":"rgba(204, 204, 204, 1)","patternBorderSize":0,"patternAutoplay":0,"patternSpace":40,"patternSlidesPerView":4,"patternSlidesRow":1,"patternDisplay":"block","classOpen":false,"btnStyle":{"leftIcon":"fa-angle-double-left","rightIcon":"fa-angle-double-right","background":"#f00","fontSize":16,"color":"#fff","width":50,"height":80,"display":"none","top":0,"left":10},"classStyle":{"selectPattern":"hover","background":"#ccc","selectbackground":"#f2f2f2","width":80,"height":30,"margin":5,"borderColor":"#333","fontSize":16,"color":"#ff0","selectcolor":"#fff","boxWidth":300,"boxHeight":40,"boxMarginLeft":0,"selectborderColor":"#f00","marginTop":"5px"},"Mongolia":{"width":323,"height":306,"marginLeft":0,"marginTop":0,"background":"#ccc","opacity":0.3,"animation":"fade","time":200,"direction":"up","isOpen":"false"},"MongoliaIcon":{"display":"block","color":"#fff","fontSize":24,"icon":"fa-adjust"},"MongoliaTitle":{"display":"block","color":"#fff","fontSize":24,"fontFamily":"Microsoft YaHei","lineHeight":30,"width":300,"height":30,"fontWeight":"bolder","textAlign":"center"},"MongoliaContent":{"display":"block","color":"#f00","fontSize":24,"fontFamily":"Microsoft YaHei","lineHeight":30,"width":300,"height":30,"textAlign":"left","fontWeight":"bolder"},"pic":{"width":235,"height":184,"margin":10,"display":"block","marginTop":15,"marginLeft":15,"marginRight":0,"marginBottom":5,"borderRadius":0,"scale":1},"title":{"color":"rgba(51, 51, 51, 1)","fontSize":15,"textAlign":"center","width":235,"height":23,"marginTop":5,"marginBottom":0,"marginLeft":15,"marginRight":0,"display":"block","paddingLeft":0,"paddingTop":2,"paddingBottom":2,"paddingRight":2,"borderLeftWidth":1,"borderRightWidth":1,"borderTopWidth":1,"borderBottomWidth":1,"borderColor":"rgba(204, 204, 204, 1)","borderStyle":"none","borderRadius":0,"fontWeight":"normal","Scolor":"rgba(141, 198, 67, 1)","SfontSize":15},"sequence":{"color":"#565656","fontSize":14,"textAlign":"center","width":40,"height":40,"marginTop":5,"marginBottom":5,"marginLeft":5,"marginRight":5,"display":"none","borderLeftWidth":1,"borderRightWidth":1,"borderTopWidth":1,"borderBottomWidth":1,"borderColor":"#ccc","borderStyle":"solid","fontWeight":"normal","Scolor":"#f00","SfontSize":16},"content":{"color":"rgba(153, 153, 153, 1)","fontSize":13,"textAlign":"left","width":235,"height":40,"marginTop":5,"marginBottom":0,"marginLeft":15,"marginRight":0,"lineHeight":20,"display":"none","Scolor":"rgba(153, 153, 153, 1)","SfontSize":13,"textLength":23},"model":{"background":"rgba(255, 255, 255, 1)","borderStyle":"solid","borderTopColor":"rgba(238, 238, 238, 1)","borderBottomColor":"rgba(238, 238, 238, 1)","borderLeftColor":"rgba(238, 238, 238, 1)","borderRightColor":"rgba(238, 238, 238, 1)","borderSize":1,"target":"_self","height":246,"hover_borderTopColor":"rgba(204, 204, 204, 1)","hover_borderBottomColor":"rgba(153, 153, 153, 1)"},"header":{"name":"我是标题","display":"none","height":50,"color":"#565656","textAlign":"left","fontSize":18,"fontWeight":"normal"},"classTitle":{"color":"#565656","fontSize":14,"textAlign":"left","width":40,"height":40,"marginTop":5,"marginBottom":5,"marginLeft":5,"marginRight":5,"display":"none","paddingLeft":2,"paddingTop":2,"paddingBottom":2,"paddingRight":2,"borderLeftWidth":1,"borderRightWidth":1,"borderTopWidth":1,"borderBottomWidth":1,"borderColor":"#ccc","borderStyle":"solid","borderRadius":5,"fontWeight":"normal","background":"#ccc"},"time":{"color":"#565656","fontSize":14,"textAlign":"left","width":66,"height":25,"marginTop":5,"marginBottom":5,"marginLeft":5,"marginRight":5,"display":"none","timePattern":"ordinary","day_line_height":40,"day_fontsize":18,"year_line_height":20,"year_fontsize":12,"background":"#ccc","Scolor":"#f00","SfontSize":16},"Prompt":{"height":40,"color":"rgba(51, 51, 51, 1)","fontSize":14},"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"},"styleId":"4188"});
                    if(style){ this.editVal = JSON.parse(style);}
                }
                catch(err){}




                //向下兼容
                //序列向下兼容
                if(!this.editVal.sequence){
                    this.editVal.sequence = {};
                    this.editVal.sequence.color = '#565656';
                    this.editVal.sequence.fontSize = 14;
                    this.editVal.sequence.textAlign = 'left';
                    this.editVal.sequence.width = 40;
                    this.editVal.sequence.height = 40;
                    this.editVal.sequence.margin = 10;
                    this.editVal.sequence.display = 'block';
                    this.editVal.sequence.borderLeftWidth = 1;
                    this.editVal.sequence.borderRightWidth = 1;
                    this.editVal.sequence.borderTopWidth = 1;
                    this.editVal.sequence.borderBottomWidth = 1;
                    this.editVal.sequence.borderColor = '#ccc';
                    this.editVal.sequence.borderStyle = 'solid';
                    this.editVal.sequence.fontWeight = 800;
                }

                if(!this.editVal.classTitle){
                    this.editVal.classTitle = {};
                    this.editVal.classTitle.color =  '#565656';
                    this.editVal.classTitle.fontSize =  14;
                    this.editVal.classTitle.textAlign =  'left';
                    this.editVal.classTitle.width =  80;
                    this.editVal.classTitle.height =  40;
                    this.editVal.classTitle.marginTop =  10;
                    this.editVal.classTitle.marginBottom = 10;
                    this.editVal.classTitle.marginLeft =  10;
                    this.editVal.classTitle.marginRight =  10;
                    this.editVal.classTitle.display = 'block';
                    this.editVal.classTitle.paddingLeft = 2;
                    this.editVal.classTitle.borderLeftWidth = 1;
                    this.editVal.classTitle.borderRightWidth = 1;
                    this.editVal.classTitle.borderTopWidth = 1;
                    this.editVal.classTitle.borderBottomWidth = 1;
                    this.editVal.classTitle.borderColor = '#ccc';
                    this.editVal.classTitle.borderStyle = 'solid';
                    this.editVal.classTitle.borderRadius = 5;
                    this.editVal.classTitle.fontWeight = 800;
                    this.editVal.classTitle.background = '#f00';
                }








                var listArr = '';
                try{
                    listArr = JSON.stringify({"listArr":[],"classArr":[],"Mongolia":{"icon":"icon-chakan"},"listType":"videoRelevant","RelevantLimit":3,"Prompt":"暂无数据！","classList":[],"classType":"product"});
                }
                catch(err){}
                if(listArr){
                    this.listArr = JSON.parse(listArr);
                }

                if(this.listArr.listType == 'productRelevant' || this.listArr.listType == 'caseRelevant' || this.listArr.listType == 'articleRelevant' || this.listArr.listType == 'videoRelevant' || this.listArr.listType == 'downloadRelevant'|| this.listArr.listType == 'productNew' || this.listArr.listType == 'caseNew'|| this.listArr.listType == 'articleNew'|| this.listArr.listType == 'videoNew'|| this.listArr.listType == 'helpNew'){
                    var RelevantList = '';
                    try{
                        RelevantList = JSON.stringify();
                    }
                    catch(err){}
                    if(RelevantList){
                        var RelevantListArr = JSON.parse(RelevantList);
                        for(var i = 0; i<RelevantListArr.length; i++){
                            RelevantListArr[i].src = RelevantListArr[i].img;
                            RelevantListArr[i].content = RelevantListArr[i].summary;
                            RelevantListArr[i].title = RelevantListArr[i].name;

                            //时间转化
                            var num = parseInt(RelevantListArr[i].up_time)*1000;
                            var t = new Date(num).toLocaleString();
                            var nian = t.split(' ')[0].replace(/\//g,'-');
                            RelevantListArr[i].time = nian;

                        }
                        this.listArr.listArr = RelevantListArr;
                    }

                }

                if(JSON.parse(listArr).classArr.length > 0){
                    this.classSwiperVal = JSON.parse(listArr).classArr[0].listArr;
                }


            },

            ready: function() {
                var targetElement = $('#u448555').find('.picSwiper-container');
                var targetElementClass = $('#u448555').find('.picSwiper-container-class');
                this.borderHoverAnimation();
                //轮播如的模式判断
                if(this.editVal.classOpen || this.listArr.listType == 'class'){
                    //分类模式初始化
                    var classEle = $('#u448555').find('.picSwiper-container-class');
                    var classFrame = $('#u448555').find('.picSwiper-container-frame');
                    var class_swpier_list = [];
                    classFrame.eq(0).css('visibility','visible');//初始化第一个样式
                    var loop_list;
                    if(this.editVal.classOpen){
                        loop_list = this.listArr.classArr;
                    }
                    else if(this.listArr.listType == 'class'){
                        loop_list = this.listArr.classList;
                    }

                    for(var i = 0;i<loop_list.length;i++){
                        var PicarticleSwiper = new Swiper($(classEle[i]), {
                            lazyLoading : true,
                            loop: this.editVal.loop ? this.editVal.loop == 'true' ? true : false : false,
                            speed:this.editVal.speed ? this.editVal.speed : 300,
                            pagination: '',
                            slidesPerView: this.editVal.patternSlidesPerView, //同时显示数量
                            paginationClickable: true,
                            spaceBetween: this.editVal.patternSpace, //间距
                            freeMode: true,
                            direction: this.editVal.pattern,
                            autoplay: this.editVal.patternAutoplay,
                            autoplayDisableOnInteraction: false,
                            observer: true,
                            observeParents: true, //时时监听
                            simulateTouch : false,
                            slidesPerColumn : this.editVal.pattern == 'horizontal' ? this.editVal.patternSlidesRow : 1,
                            slidesPerColumnFill : this.editVal.pattern == 'horizontal' ? 'row' : 'column',
                            onInit: function(swiper){
                                $(classFrame[i]).find('.banner-btn-next').click(function () {
                                    swiper.slideNext();
                                });
                                $(classFrame[i]).find('.banner-btn-prev').click(function () {
                                    swiper.slidePrev();
                                });

                                if($('#u448555').find('.loading_mongolia').length > 0){
                                    $('#u448555').find('.loading_mongolia').remove();
                                }
                                $(`#u448555 img`).trigger("appear")
                            }
                        });

                        class_swpier_list.push(PicarticleSwiper);
                        $(classEle[i]).mouseenter(function(){
                            var index = $(this).parents('.picSwiper-container-frame').index()
                            class_swpier_list[index].stopAutoplay();
                        })
                        $(classEle[i]).mouseleave(function(){
                            var index = $(this).parents('.picSwiper-container-frame').index()
                            class_swpier_list[index].startAutoplay();
                        })



                    }


                }
                else{
                    //无分类模式初始化
                    var picSwiperNoClass = new Swiper(targetElement, {
                        lazyLoading : true,
                        loop: this.editVal.loop ? this.editVal.loop == 'true' ? true : false : false,
                        speed:this.editVal.speed ? this.editVal.speed : 300,
                        pagination: '',
                        slidesPerView: this.editVal.patternSlidesPerView, //同时显示数量
                        paginationClickable: true,
                        spaceBetween: this.editVal.patternSpace, //间距
                        freeMode: true,
                        direction: this.editVal.pattern,
                        autoplay: this.editVal.patternAutoplay,
                        autoplayDisableOnInteraction: false,
                        grabCursor: true,
                        observer: true,
                        observeParents: true, //时时监听
                        simulateTouch : false,
                        slidesPerColumn : this.editVal.pattern == 'horizontal' ? this.editVal.patternSlidesRow : 1,
                        slidesPerColumnFill : this.editVal.pattern == 'horizontal' ? 'row' : 'column',
                        onInit: function(swiper){

                            if($('#u448555').find('.loading_mongolia').length > 0){
                                $('#u448555').find('.loading_mongolia').remove();
                            }
                            $(`#u448555 img`).trigger("appear")
                        }
                    });
                    $('#u448555').find('.banner-btn-next-noclass').click(function () {
                        picSwiperNoClass.slideNext();
                    });
                    $('#u448555').find('.banner-btn-prev-noclass').click(function () {
                        picSwiperNoClass.slidePrev();
                    });
                    targetElement.mouseenter(function(){
                        picSwiperNoClass.stopAutoplay();
                    })
                    targetElement.mouseleave(function(){
                        picSwiperNoClass.startAutoplay();
                    })


                }

                if(typeof templet!="undefined")
                {
                    templet.checkaction(this);
                }
                
            },

        });
    }


}
//<script>
    var textareaEle = document.querySelector('#u959703 > textarea');
    //textarea元素是否存在
    if( textareaEle ){
        var StorageVal = $('#u959703').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":410,"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":"rgba(51, 51, 51, 1)","w_border_left_color_globalColor":"","w_border_left_style":"solid","w_border_left_width":0,"w_border_top_color":"rgba(51, 51, 51, 1)","w_border_top_color_globalColor":"","w_border_top_style":"solid","w_border_top_width":0,"w_border_right_color":"rgba(51, 51, 51, 1)","w_border_right_color_globalColor":"","w_border_right_style":"solid","w_border_right_width":0,"w_border_bottom_color":"rgba(51, 51, 51, 1)","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 : 'u959703';
        }
    }

    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 = $('#u959703').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();
    });
    
        

    //滚动模式下的动画
    

    //普通模式下的横幅
    