//<script>
    var textareaEle = document.querySelector('#u754509 > textarea');
    //textarea元素是否存在
    if( textareaEle ){
        var StorageVal = $('#u754509').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 : 'u754509';
        }
    }

    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);
            }
        })
    }

    //普通模式下的动画,且不是横幅
    
        

    //滚动模式下的动画
    

    //普通模式下的横幅
    if('1' == '0' || '1' == '0'){
    //样式1
    var ad = new AdMove("u452541");
    $('#u452541').css('zIndex','999999');
    var times = '10' || '10'
    ad.Run(parseInt(times));
    //关闭点击事件
    $("#u452541 #open_page").on('click',function(){
        $('#u452541').css("display","none");
    });
};

 	if( parseInt($.browser.version) === 8 ){
 		console.log('ie8')
 	}else {

        //只有dom存在，才绑定js
        if (document.querySelector('#u452541')) {
            ;var num = 'u452541';
            window['indexVm' + num] = new Vue({
                el: "#u452541",
                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;font-family:Microsoft YaHei;\">\n\t<div style=\"width:188px;height:750px;background:#f1f1f1;color:#404040;font-size:24px;line-height:63px;padding:0 13px;\">\n\t\t<p style=\"border-bottom:1px solid #cccccc;\">\n\t\t\t产品展示\n\t\t</p>\n\t</div>\n\t<div style=\"width:188px;height:62px;color:#565656;border:3px solid #f1f1f1;margin-top:8px;font-size:18px;line-height:25px;padding:6px 10px 5px;\">\n\t\t<p style=\"border-bottom:1px solid #cccccc;height:14px;\">\n\t\t\t<span style=\"background:#fff;padding:0 15px;\">联系我们<span></span></span> \n\t\t</p>\n\t\t<p style=\"font-family:arial;margin-top:11px;\">\n\t\t\t0577-63090888\n\t\t</p>\n\t</div>\n</div>","msg":"","custom_pos_style":"1","is_hover":"0","custom_pos_style_left":0,"custom_pos_style_top":0,"custom_pos_style_rate":10,"hover_color":"#000","hover_bc_color":"#fff","animation_countsss":1,"widget_loading":"基础","widget_loading_li":"无动画","widget_animateds":"","widget_scroll_loading_checked":false,"widget_scroll_loading":false,"widget_scroll_loading_location_checked":false,"widget_scroll_loading_location":false,"widget_scroll_loading_location_height":0,"pic_iteration_checked2":false,"pic_iteration2":"no","animation_durasss":1,"animation_delaysss":0,"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"},"isShows":false,"editBc":"#fff","width":196,"height":872};
                        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 {
                            $('#u452541').css({
                                'position': 'fixed',
                                'zIndex': '999999'
                            });
                        } catch (e) {
                        }
                        ;
                    }

                    //挂件动画
                    try {
                        $.allWidgetAnimate(this, $('#u452541'));
                    } catch (e) {
                    }
                    ;
                },
                ready: function () {
                    if (this.indexStore.custom_pos_style === '2') {
                        var t = setTimeout(function () {
                            try {
                                $("#u452541").draggable();
                                $("#u452541").draggable("disable");
                            } catch (e) {
                            }
                            clearTimeout(t);
                        }, 500);
                    } else if (this.indexStore.custom_pos_style === '1') {
                        setTimeout(function () {
                            try {
                                $("#u452541").draggable("enable");
                            } catch (e) {
                            }
                        }, 100);
                    }
                    if (typeof templet != "undefined") {
                        templet.checkaction(this);
                    }

                    // 兼容
                    if (!this.indexStore.is_hover) {
                        this.indexStore.is_hover = '0';
                        this.indexStore.hover_color = "#000";
                        this.indexStore.hover_bc_color = "#fff";
                    }
                }
            });
        }
    }

 	if( parseInt($.browser.version) === 8 ){
	console.log('ie8')
}else{
    //只有dom存在，才绑定js
    if(document.querySelector('#u59911')){
        var num = 'u59911';
        window['indexVm'+num]	=new Vue({
            el:'#u59911',
            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 = {"icon_class":"","font_sizes":12,"icon_sizes":18,"location_icon_left":0,"location_icon_top":0,"location_title":"您的当前位置：","font_color":"#666","last_font_color":"#666","hover_font_color":"#db1525","location_icon_color":"#ff0","location_text_align_all":"right","location_data_source":"default","location_self_data":"","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"},"allwidth":780,"allheight":42};
                    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>

if( parseInt($.browser.version) === 8 ){
    }else {
    Vue.filter('my-filter', function (value) {
        var str = value.replace(/`/g, '"');
        return str
    });
    //只有dom存在，才绑定js
    if (document.querySelector('#u729834')) {
        var num = 'u729834';
        window['indexCatelogVm' + num] = new Vue({
            el: '#u729834',
            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($('#u729834').outerHeight());
    var doms = $('#u729834').siblings('.module');
    var difference = now_height - this.self_height;//计算出高度的差值

    var max_top = parseFloat($('#u729834').css('top')) + this.self_height;
    var laybox_left = 0;
    if($("#u729834").parent('.laybox').offset() && $("#u729834").parent('.laybox').offset().left) {
        laybox_left = $("#u729834").parent('.laybox').offset().left
    }
    var self_offset_left = parseFloat($('#u729834').css('left')) + laybox_left;
    var self_width = parseFloat($("#u729834").css('width'));
    var layrow_height = parseFloat($("#u729834").parents('.layrow').attr('data-height'));

    $("#u729834").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 = $('#u729834').parent().children('.module');
    var layrow = $("#u729834").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($('#u729834').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":"vertical","animation":"slide","animationTime":600,"sort":"float","numShow":6,"padding":5,"btn":{"width":40,"fontSzie":14,"background":"#666","color":"#fff","borderColor":"#f00","borderRadius":3},"box":{"width":162,"height":800,"borderColor":"rgba(204, 204, 204, 1)","borderStyle":"none","borderWidth":1,"background":"rgba(255, 255, 255, 0)","padding":0},"title":{"content":"我是分类列表","height":30,"fontSize":12,"fontFamily":"Microsoft YaHei","background":"#f00","color":"#f00","fontWeight":"500","fontAlign":"center","display":"none","paddingLeft":10},"onelevel":{"fontWeight":"500","fontAlign":"center","fontSize":14,"fontFamily":"Microsoft YaHei","background":"rgba(255, 255, 255, 0)","color":"rgba(86, 86, 86, 1)","width":162,"height":50,"borderColor":"rgba(204, 204, 204, 1)","borderStyle":"solid","borderRadius":0,"seleFontSize":14,"seleBackground":"rgba(255, 255, 255, 0)","seleColor":"rgba(218, 21, 38, 1)","borderTopWidth":0,"borderBottomWidth":1,"borderleftWidth":0,"borderRightWidth":0,"paddingLeft":0},"twolevel":{"fontWeight":"500","fontAlign":"center","fontSize":12,"fontFamily":"Microsoft YaHei","background":"rgba(255,255,255,0)","color":"#898989","width":162,"height":24,"borderColor":"#ccc","borderStyle":"none","borderRadius":0,"seleFontSize":12,"seleBackground":"rgba(255,255,255,0)","seleColor":"#da1526","boxWidth":1000,"boxHeight":40,"margin":10,"borderTopWidth":0,"borderBottomWidth":0,"borderleftWidth":0,"borderRightWidth":0,"paddingLeft":0,"marginTop":0,"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"},"open_type":"hoverOpen","height_type":"box","frameBox":162,"frameHeight":326});
                    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 = $('#u729834').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
                });

                $('#u729834').find('.swiperLeft button').click(function () {
                    catelogSwiper.slidePrev();
                });

                $('#u729834').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') {
                        $('#u729834').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)
                                }

                            }
                        );
                        $('#u729834').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') {
                        $('#u729834').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);
                                }
                            }
                        );
                        $('#u729834').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 {
                        $('#u729834').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)
                                }

                            }
                        );
                        $('#u729834').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($('#u729834').outerHeight());
                    this.mark_top();
                    if (this.editVal.animation == 'toggle') {
                        $('#u729834').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();
                                }

                            }
                        );
                        $('#u729834').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') {
                        $('#u729834').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();
                                }
                            }
                        );
                        $('#u729834').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 {
                        $('#u729834').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();
                                }

                            }
                        );
                        $('#u729834').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{

    //只有dom存在，才绑定js
    if(document.querySelector('#u924985')){
        var num = 'u924985';
        window['indexVm'+num] = new Vue({
            el:"#u924985",
            data:{
                indexStore:{

                },
                indexShow:false
            },
            methods:{

            },
            computed:{
                h2:function(){
                    return {
                        background: this.indexStore.location_title_bc_color ,
                        color: this.indexStore.location_title_fs_color ,
                        textAlign: this.indexStore.location_title_text_align ,
                        fontSize: this.indexStore.location_title_fs + 'px',
                        borderRadius: this.indexStore.location_title_border_radius + 'px',
                        paddingTop: this.indexStore.location_title_padding_top + 'px',
                        paddingBottom: this.indexStore.location_title_padding_bottom + 'px',
                        borderStyle:this.indexStore.location_title_border_style,
                        borderWidth:this.indexStore.location_title_border_width + 'px',
                        borderColor:this.indexStore.location_title_border_color,
                        fontWeight:this.indexStore.location_title_fs_weight,
                        marginTop: this.indexStore.location_title_margin_top + 'px',
                        marginBottom: this.indexStore.location_title_margin_bottom + 'px',
                    };
                }
            },
            created:function(){
                try{
                    var StorageVal = {"location_title_fs":24,"location_title_fs_color":"#565656","location_title_bc_color":"rgba(255,255,255,0)","location_title_text_align":"left","location_title_border_radius":0,"location_title_padding_top":0,"location_title_padding_bottom":0,"location_title_border_width":0,"location_title_border_style":"solid","location_title_border_color":"#565656","location_title_fs_weight":"normal","location_title_data_source":"default","location_title_self_data":"","location_title_margin_top":20,"location_title_margin_bottom":0,"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"},"allwidth":200,"allheight":30,"location_title_fw":"normal"};
                    if(StorageVal != null){
                        this.indexStore = StorageVal;
                    }
                }catch(e){}
            },
            ready:function(){
                if(typeof templet!="undefined"){
                    templet.checkaction(this);
                }
            }
        });
    }

}
if( parseInt($.browser.version) === 8 ){
    console.log('ie8')
}else{

    //只有dom存在，才绑定js
    if(document.querySelector('#u49667')){
        console.log(1111,8)
        var num = 'u49667';
        window['indexListAndPageVm'+num] = new Vue({
            el: '#u49667',
            data:{
                editVal:{},
                listArr:{},
                indexData:[],
                page:[],
                left:[
                    {
                        name:'上一页',
                        title:'nextBtnWidth'
                    },
                    {
                        name:'首页',
                        title:'firstBtnWidth'
                    }
                ],
                right:[
                    {
                        name:'下一页',
                        title:'nextBtnWidth'
                    },
                    {
                        name:'末页',
                        title:'firstBtnWidth'
                    }
                ],
                selectPage:0,
                nowPage:0,
                id:0,
                nextBtnUrl:'',
                lastBtnUrl:'',
                searchType:'',
                pageType:'',
                pageToGo: ''
            },
            filters:{
                myFilter:function(value){
                    if(value){
                        var str = value.replace(/`/g,'"');
                        return str
                    }
                },

            },
            methods:{
                listAndPageHoverAnimation:function (that) {
                    if(that.Mongolia.isOpen == 'true'){

                        $('#u49667').find('.listEveryOne').hover(
                            function () {
                                $(this).find('.Mongolia').stop(true,true).delay(200).show(
                                    {
                                        effect:that.Mongolia.animation,
                                        direction:that.Mongolia.direction,
                                        duration:that.Mongolia.time
                                    }
                                )
                            },
                            function () {
                                $(this).find('.Mongolia').stop(true,true).delay(200).hide(
                                    {
                                        effect:that.Mongolia.animation,
                                        direction:that.Mongolia.direction,
                                        duration:that.Mongolia.time
                                    }
                                )
                            }
                        )
                    }
                },
                onClickGoPageBtn(){
                    this.goPage()
                },
                onClickEnterPage(){
                    this.goPage()
                },
                goPage(){
                    if(!this.isValidPage(this.pageToGo)){
                        return
                    }
                    let url
                    if(this.pageType == 'search'){
                        url = '/' + this.pageType + '-0-'  +this.pageToGo +'-'+ this.searchType +'.html';
                    }
                    else{
                        url = '/' + this.listArr.listType + '-' + this.id + '-' +this.pageToGo +'.html';
                    }
                    window.location = url;
                },
                isValidPage(pageToGo){
                    pageToGo = Number(pageToGo)
                    var page = '4';
                    return pageToGo>0 && pageToGo<=page
                }
            },
            created:function () {
                try{
                    //编辑数据源
                    var listArr = JSON.stringify({"listType":"video","Pattern":"list","listArr":[],"Prompt":"暂无数据！"});
                    this.editVal = JSON.parse(JSON.stringify({"summaryLength":27,"backgroundSelect":{"background":"#db1525","className":"backgroundSelect","color":"#fff","fontSize":14,"textAlign":"center","fontFamily":"Microsoft YaHei","isOpen":"true"},"Mongolia":{"width":248,"height":183,"background":"#db1525","opacity":0.8,"animation":"slide","time":400,"direction":"up","isOpen":"false","marginTop":0,"marginLeft":0},"MongoliaIcon":{"display":"none","color":"#fff","fontSize":0,"icon":"icon-chakan"},"MongoliaTitle":{"display":"none","color":"#fff","fontSize":14,"fontFamily":"Microsoft YaHei","lineHeight":30,"width":216,"height":30,"fontWeight":"bolder","textAlign":"center"},"MongoliaContent":{"display":"none","color":"#ffffff","fontSize":12,"fontFamily":"Microsoft YaHei","lineHeight":18,"width":216,"height":40,"fontWeight":"bolder"},"pageSelect":{"width":26,"height":26,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":0,"borderColor":"rgba(204, 204, 204, 1)","borderStyle":"none","background":"rgba(255, 255, 255, 0)","borderRadius":0,"margin":0,"padding":0,"color":"rgba(219, 21, 37, 1)","fontSize":12,"textAlign":"center","fontFamily":"Microsoft YaHei","className":"pageSelect"},"pageDefault":{"boxWidth":700,"width":26,"nextBtnWidth":66,"firstBtnWidth":44,"height":26,"borderLeftWidth":1,"borderRightWidth":1,"borderTopWidth":1,"borderBottomWidth":1,"borderColor":"rgba(232, 232, 232, 1)","borderStyle":"none","background":"rgba(255, 255, 255, 0)","borderRadius":0,"margin":0,"className":"pageDefault","padding":0,"color":"rgba(102, 102, 102, 1)","fontSize":12,"textAlign":"center","fontFamily":"Microsoft YaHei","left":0,"bottom":0,"isOpen":"true","pagePosition":"center"},"frame":{"width":816,"height":809,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":0,"borderColor":"#ccc","borderStyle":"none","background":"rgba(255, 255, 255, 1)","borderRadius":1,"className":"frame","padding":0,"showNum":9,"borderLeftColor":"rgba(204, 204, 204, 1)","borderRightColor":"rgba(204, 204, 204, 1)","borderTopColor":"rgba(204, 204, 204, 1)","borderBottomColor":"rgba(204, 204, 204, 1)","borderLeftStyle":"none","borderRightStyle":"none","borderTopStyle":"none","borderBottomStyle":"none","heightType":"num"},"box":{"width":236,"height":235,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":0,"borderColor":"#ccc","borderStyle":"none","background":"rgba(217, 217, 217, 1)","left":25,"top":0,"className":"box","margin":10,"target":"_self","marginTop":0,"marginLeft":18,"marginRight":18,"marginBottom":30,"borderLeftColor":"rgba(204, 204, 204, 1)","borderRightColor":"rgba(204, 204, 204, 1)","borderTopColor":"rgba(204, 204, 204, 1)","borderBottomColor":"rgba(204, 204, 204, 1)","borderLeftStyle":"none","borderRightStyle":"none","borderTopStyle":"none","borderBottomStyle":"none"},"Component":[{"editName":"标题","englishName":"name","id":0,"select":"block","width":210,"height":20,"padding":0,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":0,"borderColor":"#ccc","borderStyle":"none","background":"rgba(255,255,255,0)","color":"#484848","fontSize":14,"textAlign":"center","fontFamily":"Microsoft YaHei","fontWeight":"500","left":13,"top":158,"zIndex":1,"className":"title","lineHeight":20,"editBackground":"#f00","SfontWeight":800,"Swidth":320,"Sheight":40,"Spadding":0,"SborderLeftWidth":1,"SborderRightWidth":1,"SborderTopWidth":1,"SborderBottomWidth":1,"SborderColor":"#f00","SborderStyle":"solid","Sbackground":"#000","Scolor":"#fff","SfontSize":20,"StextAlign":"center","SfontFamily":"Microsoft YaHei"},{"editName":"时间","englishName":"up_time","id":1,"select":"none","width":300,"height":40,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":0,"padding":0,"borderColor":"#ccc","borderStyle":"solid","editBackground":"#00E31B","color":"#333","fontSize":14,"textAlign":"center","left":0,"top":10,"fontFamily":"Microsoft YaHei","background":"#fff","zIndex":1,"className":"time","lineHeight":40,"Swidth":400,"Sheight":40,"Spadding":0,"SborderLeftWidth":1,"SborderRightWidth":1,"SborderTopWidth":1,"SborderBottomWidth":1,"SborderColor":"#f00","SborderStyle":"solid","Sbackground":"#000","Scolor":"#fff","SfontSize":20,"StextAlign":"center","SfontFamily":"Microsoft YaHei"},{"editName":"简介","englishName":"summary","id":2,"select":"block","width":210,"height":45,"padding":0,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":1,"borderColor":"#ddd","borderStyle":"dashed","editBackground":"#3563FF","color":"#898989","fontSize":12,"textAlign":"center","left":13,"top":185,"fontFamily":"Microsoft YaHei","background":"rgba(255,255,255,0)","zIndex":1,"className":"content","lineHeight":20,"Swidth":320,"Sheight":40,"Spadding":0,"SborderLeftWidth":1,"SborderRightWidth":1,"SborderTopWidth":1,"SborderBottomWidth":1,"SborderColor":"#f00","SborderStyle":"solid","Sbackground":"#000","Scolor":"#fff","SfontSize":20,"StextAlign":"center","SfontFamily":"Microsoft YaHei"},{"editName":"价格","englishName":"price_sell","id":3,"select":"none","width":260,"height":40,"padding":0,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":0,"borderColor":"#ccc","borderStyle":"solid","editBackground":"#FF00E1","color":"#333","fontSize":14,"textAlign":"center","left":0,"top":30,"fontFamily":"Microsoft YaHei","background":"#fff","zIndex":1,"className":"money","lineHeight":40,"Swidth":320,"Sheight":40,"Spadding":0,"SborderLeftWidth":1,"SborderRightWidth":1,"SborderTopWidth":1,"SborderBottomWidth":1,"SborderColor":"#f00","SborderStyle":"solid","Sbackground":"#000","Scolor":"#fff","SfontSize":20,"StextAlign":"center","SfontFamily":"Microsoft YaHei"},{"editName":"更多","englishName":"more","id":4,"select":"none","width":240,"height":40,"padding":0,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":0,"borderColor":"#ccc","borderStyle":"solid","editBackground":"#FFB200","color":"#333","fontSize":14,"textAlign":"center","left":0,"top":40,"fontFamily":"Microsoft YaHei","background":"#fff","zIndex":1,"className":"more","lineHeight":40,"content":"查看更多","borderRadius":1,"Swidth":320,"Sheight":40,"Spadding":0,"SborderLeftWidth":1,"SborderRightWidth":1,"SborderTopWidth":1,"SborderBottomWidth":1,"SborderColor":"#f00","SborderStyle":"solid","Sbackground":"#000","Scolor":"#fff","SfontSize":20,"StextAlign":"center","SfontFamily":"Microsoft YaHei"},{"editName":"图片","englishName":"img","id":5,"select":"block","width":194,"height":135,"padding":0,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":0,"borderColor":"rgba(204, 204, 204, 1)","borderStyle":"none","editBackground":"#00EBFF","color":"#333","fontSize":14,"textAlign":"center","left":21,"top":12,"fontFamily":"Microsoft YaHei","background":"rgba(255, 255, 255, 1)","zIndex":1,"className":"pic","length":20,"hover":"false","Swidth":340,"Sheight":220,"Spadding":0,"SborderLeftWidth":1,"SborderRightWidth":1,"SborderTopWidth":1,"SborderBottomWidth":1,"SborderColor":"#f00","SborderStyle":"solid","Sbackground":"#000","SmarginLeft":-15,"SmarginTop":-10,"lineHeight":1},{"editName":"图标","englishName":"icon","id":6,"select":"none","width":80,"height":80,"padding":0,"borderLeftWidth":1,"borderRightWidth":1,"borderTopWidth":1,"borderBottomWidth":1,"borderColor":"#ccc","borderStyle":"solid","editBackground":"#FFB200","color":"#333","fontSize":14,"textAlign":"center","left":0,"top":80,"background":"#fff","zIndex":3,"className":"more","lineHeight":80,"content":"fa-adjust","borderRadius":1,"Swidth":320,"Sheight":40,"Spadding":0,"SborderLeftWidth":1,"SborderRightWidth":1,"SborderTopWidth":1,"SborderBottomWidth":1,"SborderColor":"#f00","SborderStyle":"solid","Sbackground":"#000","Scolor":"#fff","SfontSize":20,"StextAlign":"center"}],"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"}}))
                    this.listArr = listArr ? JSON.parse(listArr) : {};
                    this.pageType = this.listArr.listType;
                    //获得搜索当前的key值
                    var searchType = '';
                }
                catch(err){}

                if(searchType){
                    this.searchType = searchType;
                }


                //判断模式----------------------------------
                if(this.listArr.Pattern == 'list'){
                    //列表数据
                    var moduleStr = '';
                    try{
                        moduleStr =  JSON.stringify([{"id":"415","name":"\u540d\u535a\u673a\u68b0\u4e28\u9752\u53e3\u8d1d\u5e73\u94fa\u771f\u7a7a\u5305\u88c5","summary":"220\u5e73\u94fa\u7ed9\u888b\u5f0f\u771f\u7a7a\u5305\u88c5\u673a\uff0c\u642d\u914d2.5L\u632f\u52a8\u7ec4\u5408\u79e4\u3002","createtime":"1724659245","up_time":"1724657514","img":"https:\/\/img01.71360.com\/w3\/p9k04\/20240826\/503be05e77cca2b51cc87848f016b78d.jpg","auto_issue":"1724657514"},{"id":"414","name":"\u540d\u535a\u673a\u68b0\u4e28\u6ce1\u513f\u83dc\u771f\u7a7a\u5305\u88c5","summary":"220\u578b\u7ed9\u888b\u5f0f\u771f\u7a7a\u5305\u88c5\u673a\uff0c\u642d\u914d14\u6597\u632f\u52a8\u7ec4\u5408\u79e4\uff0c\u80fd\u5305\u88c5100-1500\u514b\u91cd\u8303\u56f4\u5185\u7684\u6ce1\u513f\u83dc\uff0c\u5b9e\u9645\u751f\u4ea7\u901f\u5ea6\u80fd\u8fbe\u523060\u5305\/\u5206\u949f\u3002","createtime":"1724656347","up_time":"1724655723","img":"https:\/\/img01.71360.com\/w3\/p9k04\/20240826\/8df0626da32c4592b0dcbd09141c4148.jpg","auto_issue":"1724655723"},{"id":"413","name":"\u540d\u535a\u673a\u68b0\u4e28\u5c0f\u96f6\u98df\u725b\u8089\u6761\u771f\u7a7a\u5305\u88c5","summary":"100g\u9ad8\u901f\u7ed9\u888b\u5f0f\u771f\u7a7a\u5305\u88c5\u673a\u642d\u914d\u624b\u5de5\u6295\u6599\u5668\uff0c\u53ea\u8981\u4eba\u5de5\u6295\u653e\u8ddf\u7684\u4e0a\uff0c\u5305\u88c5\u901f\u5ea6\u80fd\u8fbe\u5230100\u5305\/\u5206\u949f\u3002","createtime":"1724655716","up_time":"1724655512","img":"https:\/\/img01.71360.com\/w3\/p9k04\/20240826\/dd70b770256fb6aeac0df9308ce782ad.jpg","auto_issue":"1724655512"},{"id":"412","name":"\u540d\u535a\u673a\u68b0\u4e28\u9b54\u828b\u9762\u888b\u4e2d\u888b\u5305\u88c5","summary":"200E\u7ed9\u888b\u5f0f\u5305\u88c5\u673a\uff0c\u642d\u914d\u63d0\u5347\u673a\uff0c\u5b9e\u9645\u5305\u88c5\u901f\u5ea6\u80fd\u8fbe\u523060\u5305\/\u5206\u949f","createtime":"1724487791","up_time":"1724486113","img":"https:\/\/img01.71360.com\/w3\/p9k04\/20240824\/9fa7a012d260203d69b274db9ea76d4a.jpg","auto_issue":"1724486113"},{"id":"411","name":"\u540d\u535a\u673a\u68b0\u4e28 \u9762\u7c89\u5c0f\u578b\u4e00\u4f53\u673a\u5305\u88c5","summary":"\u7c89\u5242\u8ba1\u91cf\u5305\u88c5\u4e00\u4f53\u673a\uff0c\u5305\u88c5\u901f\u5ea6\u80fd\u8fbe\u523055\u5305\/\u5206\u949f\u3002","createtime":"1724486108","up_time":"1724485847","img":"https:\/\/img01.71360.com\/w3\/p9k04\/20240824\/886859e37ee9e044d9e0377b386fa50a.jpg","auto_issue":"1724485847"},{"id":"410","name":"\u540d\u535a\u673a\u68b0\u4e28\u8fa3\u6912\u7c89\u5305\u88c5","summary":"\u8fd9\u53f0220\u578b\u7ed9\u888b\u5f0f\u5305\u88c5\u673a\uff0c\u642d\u914d\u7c89\u5242\u87ba\u6746\u8ba1\u91cf\u673a\uff0c\u5b83\u7684\u5b9e\u9645\u5305\u88c5\u901f\u5ea6\u80fd\u8fbe\u5230\u6bcf\u5206\u949f35-45\u5305\u3002","createtime":"1724485843","up_time":"1724485321","img":"https:\/\/img01.71360.com\/w3\/p9k04\/20240824\/9d0f3ea32a767c47e5d9742ba1e29548.jpg","auto_issue":"1724485321"},{"id":"409","name":"\u540d\u535a\u673a\u68b0\u4e28\u6574\u9897\u8fa3\u767d\u83dc\u771f\u7a7a\u5305\u88c5","summary":"220\u578b\u7ed9\u888b\u5f0f\u771f\u7a7a\u5305\u88c5\u673a\u642d\u914d\u5b9a\u5411\u63d0\u5347\u673a\uff0c\u5b9a\u5411\u6295\u653e\u6574\u9897\u8fa3\u767d\u83dc\u3002","createtime":"1724485315","up_time":"1724485206","img":"https:\/\/img01.71360.com\/w3\/p9k04\/20240824\/265f37d10248085be363d319d419205c.jpg","auto_issue":"1724485206"},{"id":"408","name":"\u540d\u535a\u673a\u68b0\u4e28\u5c0f\u96f6\u98df\u9e21\u5c16\u771f\u7a7a\u5305\u88c5","summary":"\u9ad8\u901f\u53cc\u7ed9\u888b\u5f0f\u771f\u7a7a\u5305\u88c5\u673a\uff0c\u642d\u914d\u53cc\u4e0b\u6599\u73af\u5f62\u624b\u5de5\u6295\u6599\u5668\uff0c\u5b9e\u9645\u751f\u4ea7\u901f\u5ea6\u80fd\u8fbe\u5230150\u5305\/\u5206\u949f","createtime":"1724485009","up_time":"1724467678","img":"https:\/\/img01.71360.com\/w3\/p9k04\/20240824\/7b75e0f61b2b7ce4df778d4a1342052d.jpg","auto_issue":"1724467678"},{"id":"407","name":"\u540d\u535a\u673a\u68b0\u4e28\u706b\u9505\u5e95\u6599\u888b\u4e2d\u888b\u5305\u88c5\uff08\u56db\u5757\u88c5\uff09","summary":"220SP\u5e73\u63a8\u7ed9\u888b\u5f0f\u5305\u88c5\u673a\uff0c\u642d\u914d\u4e0a\u5e73\u63a8\u5f0f\u6295\u6599\u5668\uff0c\u5305\u88c5\u901f\u5ea6\u80fd\u8fbe\u523020-45\u5305\/\u5206\u949f\u3002","createtime":"1724467674","up_time":"1724467039","img":"https:\/\/img01.71360.com\/w3\/p9k04\/20240824\/c9d4145a414e3bffee04c1e36db74eba.jpg","auto_issue":"1724467039"}]);//这样可以处理双引号

                    }
                    catch(err){}
                    var module = moduleStr.replace(/\r\n/g,'');//处理换行

                    if(module && module != 'null'){
                        module =  JSON.parse(module);
                        if(module.length > 0){
                            for(var i = 0; i < module.length; i++ ){
                                if(module[i].summary.length > this.editVal.summaryLength){
                                    module[i].summary = module[i].summary.substring(0,this.editVal.summaryLength) + '...';
                                }

                                module[i].up_time = new Date(Number(module[i].up_time)*1000).toLocaleDateString();
                            }
                            //在搜索页面下
                            if(module[0].type){
                                this.listArr.listType = module[0].type;
                            }
                        }
                        this.indexData = module;
                    }
                    //当前分页
                    var p = '1';
                    this.nowPage = Number(p);

                    //分页总数
                    var page = '4';
                    if(page > 0){
                        this.page = [];
                        for(var i = 0;i<page;i++){
                            var num = i + 1;
                            this.page.push(num);
                        }
                    }
                    else{
                        this.page = ''
                    }
                    console.log('分页总数',page)


                    //当前id
                    var idHeader = this.listArr.listType;
                    var id = '0';
                    this.id = id;

                    //下一页链接
                    if(p == page){
                        if(this.pageType == 'search'){
                            this.nextBtnUrl = '/' + this.pageType + '-0-'  +this.nowPage +'-'+ this.searchType +'.html';
                        }
                        else{
                            this.nextBtnUrl = '/' + this.listArr.listType + '-' + id + '-' +this.nowPage +'.html';
                        }

                    }
                    else{
                        if(this.pageType == 'search'){
                            this.nextBtnUrl = '/' + this.pageType + '-0-'  +(this.nowPage+1) +'-'+ this.searchType +'.html';
                        }
                        else{
                            this.nextBtnUrl = '/' + this.listArr.listType + '-' + id + '-' +(this.nowPage +1)+'.html';
                        }

                    }

                    //末页链接
                    if(this.pageType == 'search'){
                        this.lastBtnUrl = '/' + this.pageType + '-0-' + page + '-' + this.searchType +'.html';
                    }
                    else{
                        this.lastBtnUrl = '/' + this.listArr.listType + '-' + id + '-' + page +'.html';
                    }
                }
                else{
                    this.indexData = this.listArr.listArr;
                    for(var i = 0; i < this.indexData.length; i++ ){
                        if(this.indexData[i].summary.length > this.editVal.summaryLength){
                            this.indexData[i].summary = this.indexData[i].summary.substring(0,this.editVal.summaryLength) + '...';
                        }
                    }
                }
            },
            ready:function () {
                this.listAndPageHoverAnimation(this.editVal);
                if(typeof templet!="undefined")
                {
                    templet.checkaction(this);
                }
            }
        });
    }

}
//<script>
    var textareaEle = document.querySelector('#u317844 > textarea');
    //textarea元素是否存在
    if( textareaEle ){
        var StorageVal = $('#u317844').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 = '{"module_width":"1000","r_background":"rgba(255, 255, 255, 1)","w_background":"rgba(255,255,255,0)","module_height":1313,"module_index":1,"module_name":"","w_border_raduis_num":"8","w_opacity":"1","w_fill":"0","w_transtion":"0","w_border_left_style":"solid","w_border_left_width":"0","w_border_top_style":"solid","w_border_top_width":"0","w_border_right_style":"solid","w_border_right_width":"0","w_border_bottom_style":"solid","w_border_bottom_width":"0","r_border_top_style":"solid","r_border_top_width":0,"r_border_bottom_width":0,"r_border_bottom_style":"solid","r_fill":0,"r_tile_style":"no-repeat","w_tile_style":"repeat","fixed":"static","rowId":"u741171","r_bg_src":"https:\/\/img01.71360.com\/file\/read\/www2\/M00\/5A\/1C\/rBwBEmRxzlSAWUBBAAEfoOcKnEY317.jpg","w_bg_src":"","r_border_top_color":"rgba(255, 255, 255, 1)","r_border_bottom_color":"rgba(255, 255, 255, 1)","r_bg_position":"top center","w_bg_position":"center center","w_border_top_color":"#fff","w_border_right_color":"#fff","w_border_bottom_color":"#fff","w_border_left_color":"#fff"}';
        if( StorageVal != 'null'){
            var rowFixed = JSON.parse(StorageVal).fixed;

            var rowId = JSON.parse(StorageVal).rowId ? JSON.parse(StorageVal).rowId : 'u317844';
        }
    }

    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 = $('#u317844').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();
    });
    
        

    //滚动模式下的动画
    

    //普通模式下的横幅
    