//<script>
    var textareaEle = document.querySelector('#u271413 > textarea');
    //textarea元素是否存在
    if( textareaEle ){
        var StorageVal = $('#u271413').children('textarea').eq(0).text();
        if(JSON.parse(StorageVal).data.StorageVal){
            var rowFixed = JSON.parse(JSON.parse(StorageVal).data.StorageVal).fixed;
            var rowId = JSON.parse(JSON.parse(StorageVal).data.StorageVal).rowId;
        }
    }
    else{
        var StorageVal = '{"display":"none","row_type":"default","rowId":"","module_height":"500","r_background":"#e3e3e3","scroll_list":[{"id":"10","src":"","url":"","target":"_blank","video_isOpen":"false","video_src":"","video_poster":"","video_autoplay":"true"},{"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"},"full_banner_width":"0","full_banner_height":"0","banner_is_adaptation":"false"}';
        if( StorageVal != 'null'){
            var rowFixed = JSON.parse(StorageVal).fixed;

            var rowId = JSON.parse(StorageVal).rowId ? JSON.parse(StorageVal).rowId : 'u271413';
        }
    }

    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('#u501137 > textarea');
    //textarea元素是否存在
    if( textareaEle ){
        var StorageVal = $('#u501137').children('textarea').eq(0).text();
        if(JSON.parse(StorageVal).data.StorageVal){
            var rowFixed = JSON.parse(JSON.parse(StorageVal).data.StorageVal).fixed;
            var rowId = JSON.parse(JSON.parse(StorageVal).data.StorageVal).rowId;
        }
    }
    else{
        var StorageVal = '{"row_type":"default","module_width":"980","module_height":350,"module_index":1,"module_name":"","w_border_raduis_num":"0","w_opacity":"1","w_fill":"0","w_transtion":"0","w_background":"rgba(227, 227, 227, 0)","w_background_globalColor":"","w_border_left_color":"#fff","w_border_left_color_globalColor":"","w_border_left_style":"solid","w_border_left_width":"0","w_border_top_color":"#fff","w_border_top_color_globalColor":"","w_border_top_style":"solid","w_border_top_width":"0","w_border_right_color":"#fff","w_border_right_color_globalColor":"","w_border_right_style":"solid","w_border_right_width":"0","w_border_bottom_color":"#fff","w_border_bottom_color_globalColor":"","w_border_bottom_style":"solid","w_border_bottom_width":"0","w_tile_style":"repeat","w_bg_src":"","w_bg_position":"center center","r_bg_src":"https:\/\/img01.71360.com\/file\/read\/www2\/M00\/5B\/F3\/rBwBEmR0eU2AMcT8AAdlz0Qg9UI056.jpg","r_bg_position":"top 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":"no-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 : 'u501137';
        }
    }

    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 = $('#u501137').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('#u963259')){
        var num = 'u963259';
        window['indexVm'+num]	=new Vue({
            el:'#u963259',
            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":832,"allheight":39,"icon_class":"","font_sizes":14,"line_height":39,"icon_sizes":18,"location_icon_left":0,"location_icon_top":0,"location_title":"当前位置：","font_color":"rgba(119, 119, 119, 1)","font_color_globalColor":"","last_font_color":"#08519E","last_font_color_globalColor":"","hover_font_color":"#08519E","hover_font_color_globalColor":"","location_icon_color":"#000","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"}};
                    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);
                }
            }
        });
    }

}
//重设伪类，使字体强制生效
;!(function redrawFontFace() {
    if ($.support.leadingWhitespace) return;
    $(window).one("load", function() {
        $('html').addClass('fix-ie-font-face');
        setTimeout(function() {
            $('html').removeClass('fix-ie-font-face');
        }, 10);
    });
}());


$(function () {
    init();

    function init() {
        $(".iconBox").on("click", ".glyphicon", iconOnClick);
    }

    //点击图标显示类名
    function iconOnClick(e) {
        var clsName = "." + $(this).attr("class").split(" ").join(" .");
        $(".iconClass").val(clsName);
    }
});

if( parseInt($.browser.version) === 8 ){
}else{
    //只有dom存在，才绑定js
    if(document.querySelector('#u689332')){
        var num = 'u689332';
        window['indexVm' + num] = new Vue({
            el: "#u689332",
            data: {
                indexStore  : {

                },
                indexShow: false,
                cnashu:'pro',
                urlValue:''
            },
            computed:{
                isshowicons:function(){
                    return this.indexStore.search_oppen_style == 2 ? false : true;
                },
                isshowbtnicon:function(){
                    var isClick = this.indexStore.isShowStyle3Icon || 'open';
                    return this.indexStore.search_oppen_style == 1 || (this.indexStore.search_oppen_style == 2 && isClick == 'open') ? true : false;
                },
                isshowicon:function(){
                    return this.indexStore.search_is_show_icon == "block" ? true : false;
                },
                isshowtxt:function(){
                    return this.indexStore.search_is_show_txt == "block" ? true : false;
                },
                search1Div:function(){
                    return {
                        position:'relative',
                        width:this.indexStore.search_div_width + 'px',
                        height:this.indexStore.search_div_height + 'px',
                        backgroundColor:this.indexStore.search_div_height_bc,
                    }
                },
                search1Input:function(){
                    return {
                        width:this.indexStore.search_width + 'px',
                        height:this.indexStore.search_height + 'px',
                        border:'0px',
                        marginLeft:this.indexStore.search_margin_left + 'px',
                        marginTop:this.indexStore.search_margin_top + 'px',
                        paddingLeft:this.indexStore.search_padding_left + 'px',
                        paddingRight:this.indexStore.search_padding_right + 'px',
                        borderRadius:this.indexStore.search_radius + 'px',
                        color:this.indexStore.search_input_color,
                        fontSize:this.indexStore.search_input_fs + 'px',
                        borderTopStyle:this.indexStore.searchs_border_top_style ,
                        borderTopColor:this.indexStore.searchs_border_top_color ,
                        borderTopWidth:this.indexStore.searchs_border_top_width  + 'px',
                        borderRightStyle:this.indexStore.searchs_border_right_style ,
                        borderRightColor:this.indexStore.searchs_border_right_color ,
                        borderRightWidth:this.indexStore.searchs_border_right_width  + 'px',
                        borderBottomStyle:this.indexStore.searchs_border_bottom_style ,
                        borderBottomColor:this.indexStore.searchs_border_bottom_color ,
                        borderBottomWidth:this.indexStore.searchs_border_bottom_width  + 'px',
                        borderLeftStyle:this.indexStore.searchs_border_left_style ,
                        borderLeftColor:this.indexStore.searchs_border_left_color ,
                        borderLeftWidth:this.indexStore.searchs_border_left_width  + 'px',
                        backgroundColor:this.indexStore.search_input_bg_color,
                    }
                },
                search1I:function(){
                    return {
                        fontSize: this.indexStore.search_icon_width + 'px',
                        color: this.indexStore.search_icon_color,
                        display: 'inline-block',
                        position: 'absolute',
                        left: this.indexStore.search_absolute_left + 'px',
                        top: this.indexStore.search_absolute_top + 'px',
                        zIndex: 99,
                        transform: 'rotate('+ this.indexStore.search_icon_rotate +'deg)'
                    }
                },
                search1Span:function(){
                    return {
                        cursor: 'pointer',
                        position: 'absolute',
                        display: this.indexStore.search_is_show_txt,
                        width: this.indexStore.search_text_width + 'px',
                        height: this.indexStore.search_text_height + 'px',
                        lineHeight: this.indexStore.search_text_height + 'px',
                        color: this.indexStore.search_text_font_color,
                        background: this.indexStore.search_text_color,
                        fontSize: this.indexStore.search_text_fs + 'px',
                        textAlign: this.indexStore.search_text_text_align,
                        borderRadius: this.indexStore.search_text_border_radius + 'px',
                        left: this.indexStore.search_text_pos_left + 'px',
                        top: this.indexStore.search_text_pos_right + 'px'
                    }
                },
                search2Div:function(){
                    return {
                        width: this.indexStore.search_btn_icon_div_width + 'px',
                        height: this.indexStore.search_btn_icon_div_height + 'px',
                        marginTop: this.indexStore.search_btn_icon_margin_top + 'px',
                        marginRight: this.indexStore.search_btn_icon_margin_right + 'px',
                        marginBottom: this.indexStore.search_btn_icon_margin_bottom + 'px',
                        marginLeft: this.indexStore.search_btn_icon_margin_left + 'px',
                        paddingTop: this.indexStore.search_btn_icon_padding_top + 'px',
                        paddingRight: this.indexStore.search_btn_icon_padding_right + 'px',
                        paddingBottom: this.indexStore.search_btn_icon_padding_bottom + 'px',
                        paddingLeft: this.indexStore.search_btn_icon_padding_left + 'px'
                    };
                },
                search2I:function(){
                    return {
                        fontSize:this.indexStore.search_btn_icon_fs + 'px',
                        color:this.indexStore.search_btn_icon_color,
                        display:'block',
                        transform: 'rotate('+ this.indexStore.search_iconbtn_rotate +'deg)'
                    };
                },
                style5i:function(){
                    return {
                        display: 'inline-block',
                        width: 0,
                        height: 0,
                        border: '5px solid transparent',
                        borderTopColor: '#000'
                    };
                }
            },
            methods: {
                deleteSpace:function(str){
                    var arr1 = str.split('');
                    var str2 ='';
                    arr1.forEach(function(val){
                        if (val === ' ') {
                        }else{
                            str2 += val;
                        }
                    });

                    return str2;
                },
                keyEnter: function() {
                    this.url = location.host + '/search.html?keywords=' + this.urlValue;

                    this.urlValue == ''
                    this.urlValue = this.deleteSpace($('#u689332 .searchCon').val());

                    if (this.urlValue == '') {
                        alert('输入查询内容' || '输入查询内容');
                        return;
                    }
                    document.location = '/search.html?keywords=' + this.urlValue + '&keywordstype=all';
                },
                keyEnter4: function() {
                    this.url = location.host + '/search.html?keywords=' + this.urlValue;

                    this.urlValue == ''
                    this.urlValue = this.deleteSpace($('#u689332 .search4-input').val());

                    if (this.urlValue == '') {
                        alert('输入查询内容' || '输入查询内容');
                        return;
                    }
                    document.location = '/search.html?keywords=' + this.urlValue + '&keywordstype=all';
                },
                keyEnters: function() {
                    this.url = location.host + '/search.html?keywords=' + this.urlValue;
                    this.urlValue == '';
                    this.urlValue = this.deleteSpace($('#u689332  .search3 .ivu-input').val());

                    if (this.urlValue === '') {
                        alert('输入查询内容' || '输入查询内容');
                        return;
                    }
                    document.location = '/search.html?keywords=' + this.urlValue + '&keywordstype=' + this.cnashu;
                },
                keyEnters5: function() {
                    this.url = location.host + '/search.html?keywords=' + this.urlValue;
                    this.urlValue == '';
                    this.urlValue = this.deleteSpace($('#u689332  input.search-center').val());

                    if (this.urlValue === '') {
                        alert('输入查询内容' || '输入查询内容');
                        return;
                    }
                    document.location = '/search.html?keywords=' + this.urlValue + '&keywordstype=' + this.cnashu;
                },
                txtchange:function(){
                }
            },
            watch:{
                indexStore:{
                    handler: function (val, oldVal) {
                        $('#u689332 input.ivu-input').css({
                            borderTopStyle:this.indexStore.searchs_border_top_style,
                            borderTopColor:this.indexStore.searchs_border_top_color,
                            borderTopWidth:this.indexStore.searchs_border_top_width,
                            borderRightStyle:this.indexStore.searchs_border_right_style,
                            borderRightColor:this.indexStore.searchs_border_right_color,
                            borderRightWidth:this.indexStore.searchs_border_right_width,
                            borderBottomStyle:this.indexStore.searchs_border_bottom_style,
                            borderBottomColor:this.indexStore.searchs_border_bottom_color,
                            borderBottomWidth:this.indexStore.searchs_border_bottom_width,
                            borderLeftStyle:this.indexStore.searchs_border_left_style,
                            borderLeftColor:this.indexStore.searchs_border_left_color,
                            borderLeftWidth:this.indexStore.searchs_border_left_width,
                        });
                    },
                    deep: true
                }
            },
            created: function() {

                try{
                    var StorageVal = {"allwidth":283,"allheight":34,"isShowStyle3Icon":"open","search4_bc":"#fff","search_div_height_bc":"#fff","search_x_show":"none","search_x_fs":12,"search_x_color":"#000","search_x_top":0,"search_x_right":0,"search_input_placeholder_color":"rgba(103, 103, 103, 1)","search_placeholder_fs":14,"icon_class":"icon iconfont icon-search4","search_oppen_style":0,"search_text_border_radius":0,"search_btn_icon_margin_top":0,"search_btn_icon_margin_right":0,"search_btn_icon_margin_bottom":0,"search_btn_icon_margin_left":0,"search_btn_icon_padding_top":0,"search_btn_icon_padding_right":0,"search_btn_icon_padding_bottom":0,"search_btn_icon_padding_left":0,"search_btn_icon_div_width":40,"search_btn_icon_div_height":40,"search_is_show_icon":"none","search_is_show_txt":"block","search_btn_icon_fs":24,"search_btn_icon_color":"#f0f","search_text_fs":14,"search_text_text_align":"center","search_text_pos_left":223,"search_text_pos_right":0,"search_width":223,"search_height":35,"search_div_width":400,"search_div_height":40,"search_input_fs":14,"search_padding_left":10,"search_padding_right":4,"search_placeholder":"\u8bf7\u8f93\u5165\u67e5\u8be2\u4fe1\u606f","search_absolute_left":0,"search_absolute_top":0,"search_radius":0,"search_text_width":59,"search_text_height":35,"search_text_color":"#08519E","search_text_font_color":"rgba(255, 255, 255, 1)","search_icon_color":"#f0f","search_input_color":"rgba(103, 103, 103, 1)","is_show_icon":true,"show_icon":"","show_text":"","search_icon_width":24,"search_btn_text":"\u641c\u7d22","open_style":true,"search_margin_left":0,"search_margin_top":0,"styleId":2847,"searchs_border_top_style":"solid","searchs_border_top_color":"rgba(221, 221, 221, 1)","searchs_border_top_width":1,"searchs_border_right_style":"solid","searchs_border_right_width":0,"searchs_border_bottom_style":"solid","searchs_border_bottom_width":1,"searchs_border_left_style":"solid","searchs_border_left_width":1,"searchs_border_right_color":"#ccc","searchs_border_bottom_color":"rgba(221, 221, 221, 1)","searchs_border_left_color":"rgba(221, 221, 221, 1)","search_input_bg_color":"rgba(255, 255, 255, 0)","widget_loading":"\u57fa\u7840","widget_loading_li":"\u65e0\u52a8\u753b","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_countsss":1,"animation_durasss":1,"animation_delaysss":0,"search5_select_width":20,"search5_select_height":20,"search5_select_fs":12,"search5_icon_width":20,"search5_icon_height":20,"waringTitle":"\u8f93\u5165\u67e5\u8be2\u5185\u5bb9","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"},"search_text_color_globalColor":""};
                    if (StorageVal != null) {
                        this.indexStore = StorageVal;
                    }
                }catch(e){}

                var arr = [];
                for (item in this.indexStore) {
                    arr.push(this.indexStore[item]);
                }
                var _this = this;

                if(this.indexStore.search_oppen_style == '0'){
                    //样式1
                    $('#u689332 b').css('display','none');
                }else if(this.indexStore.search_oppen_style == '1'){
                    //样式2
                    $('#u689332 .iconBtn i, #u689332 .search2 .btnClickShow b').off();
                    $('#u689332 .iconBtn i, #u689332 .search2 .btnClickShow b').on('click',function(){
                        $('#u689332 .search2').slideToggle("slow");
                        $('#u689332 .search2 .btnClickShow').slideToggle("slow");
                        var iShow = ''  || 'none';
                        var spanShow = '' || 'block';
                        var bShow = '' || 'none';

                        if( iShow === 'block'){
                            $('#u689332 .search2 .btnClickShow i').slideToggle("slow");
                        }

                        if( spanShow === 'block'){
                            $('#u689332 .search2 .btnClickShow span').slideToggle("slow");
                        }

                        if( bShow === 'block'){
                            $('#u689332 .search2 .btnClickShow b').slideToggle("slow");
                        }

                    });
                }else if(this.indexStore.search_oppen_style == '2'){
                    //样式3
                    var isClick = this.indexStore.isShowStyle3Icon || 'open';

                    //是否开启图标显示
                    var $dom = $('#u689332 .search3');
                    if(isClick == 'open'){
                        $('#u689332 .iconBtn i').on('click',function(){
                            if($dom.hasClass('hasSelect')){
                                $dom.css('display','none').removeClass('hasSelect');
                            }else{
                                $dom.css('display','block').addClass('hasSelect');
                            }
                        });
                    }else{
                        $dom.css('display','block');
                        $('#u689332 .iconBtn').css('display','none');
                    }

                }else if(this.indexStore.search_oppen_style == '3'){
                    //样式4
                    $('#u689332 div.search4-div, #u689332 input.search4-input').hover(function(){
                        $('#u689332 input.search4-input').show();
                    },function(){
                        $('#u689332 input.search4-input').hide();
                    });

                }else if(this.indexStore.search_oppen_style == '4'){

                    $('#u689332 .search-left').off();
                    $('#u689332 .search-left').on('click',function () {
                        $(this).toggleClass('select-visible');
                        $(this).find('.search-left-btm').fadeToggle(".3","linear");
                    });

                    var $li = $('#u689332 .search-left-btm ul li');

                    $.each( $li,function (index,value) {
                        $(value).removeClass('checked-items');
                        $(value).on('click',function () {
                            removeLiClass($li);
                            $(this).addClass('checked-items');
                            _this.cnashu = $(this).data('type');
                            $('#u689332 #searchs5 .search-left-top span').text($(this).text());
                        });
                    });

                    // 移除其他li的class checked-items
                    function removeLiClass(item) {
                        $.each(item,function (index,value) {
                            $(value).removeClass('checked-items');
                        });
                    }

                    // 动态获取 下拉框选项
                    function getLi(){
                        var $ul = $('#u689332 .search-left-btm ul');
                        var $li = $('#u689332 .search-left-btm ul > li');
                        $.ajax({
                            url:location.host + '?m=mine&a=searchNav',
                            success:function(val){
                                var val = JSON.parse(val);
                                var i=0;

                                $.each(val,function(item,index){
                                    $li.eq(i).text(index).attr('data-type',item).css('display','block');
                                    if(i == 0){
                                        $('#u689332 #searchs5 .search-left-top span').text(index);
                                        $li.eq(i).addClass('checked-items')
                                        _this.cnashu = item;
                                    }
                                    i++;
                                });
                            }
                        });
                    }
                    getLi();
                }


                //挂件动画
                try{
                    $.allWidgetAnimate(this,$('#u689332'));
                }catch(e){};
            },
            ready:function(){
                if(typeof templet!="undefined"){
                    templet.checkaction(this);
                }
                //将搜索之后 返回时 输入框清空
                $('#u689332 input').val('');

                // 兼容placeholder searchCon

                // 客户端 样式3的边框样式
                $('#u689332 input.ivu-input').css({
                    borderTopStyle:this.indexStore.searchs_border_top_style,
                    borderTopColor:this.indexStore.searchs_border_top_color,
                    borderTopWidth:this.indexStore.searchs_border_top_width,
                    borderRightStyle:this.indexStore.searchs_border_right_style,
                    borderRightColor:this.indexStore.searchs_border_right_color,
                    borderRightWidth:this.indexStore.searchs_border_right_width,
                    borderBottomStyle:this.indexStore.searchs_border_bottom_style,
                    borderBottomColor:this.indexStore.searchs_border_bottom_color,
                    borderBottomWidth:this.indexStore.searchs_border_bottom_width,
                    borderLeftStyle:this.indexStore.searchs_border_left_style,
                    borderLeftColor:this.indexStore.searchs_border_left_color,
                    borderLeftWidth:this.indexStore.searchs_border_left_width,
                });

                if(this.indexStore.search_oppen_style == 2){
                }

            }
        });
    }

}
//<script>
    var textareaEle = document.querySelector('#u942830 > textarea');
    //textarea元素是否存在
    if( textareaEle ){
        var StorageVal = $('#u942830').children('textarea').eq(0).text();
        if(JSON.parse(StorageVal).data.StorageVal){
            var rowFixed = JSON.parse(JSON.parse(StorageVal).data.StorageVal).fixed;
            var rowId = JSON.parse(JSON.parse(StorageVal).data.StorageVal).rowId;
        }
    }
    else{
        var StorageVal = '{"row_type":"default","module_width":"1200","module_height":"50","module_index":"1","module_name":"","w_border_raduis_num":"0","w_opacity":"1","w_fill":"0","w_transtion":"0","w_background":"rgba(255, 255, 255, 1)","w_background_globalColor":"","w_border_left_color":"#333","w_border_left_color_globalColor":"","w_border_left_style":"solid","w_border_left_width":"0","w_border_top_color":"#333","w_border_top_color_globalColor":"","w_border_top_style":"solid","w_border_top_width":"0","w_border_right_color":"#333","w_border_right_color_globalColor":"","w_border_right_style":"solid","w_border_right_width":"0","w_border_bottom_color":"#333","w_border_bottom_color_globalColor":"","w_border_bottom_style":"solid","w_border_bottom_width":"0","w_tile_style":"repeat","w_bg_src":"","w_bg_position":"top left","r_bg_src":"","r_bg_position":"top left","r_background":"rgba(255, 255, 255, 1)","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 : 'u942830';
        }
    }

    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 = $('#u942830').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('#u375767')) {
        var num = 'u375767';
        window['indexCatelogVm' + num] = new Vue({
            el: '#u375767',
            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($('#u375767').outerHeight());
    var doms = $('#u375767').siblings('.module');
    var difference = now_height - this.self_height;//计算出高度的差值

    var max_top = parseFloat($('#u375767').css('top')) + this.self_height;
    var laybox_left = 0;
    if($("#u375767").parent('.laybox').offset() && $("#u375767").parent('.laybox').offset().left) {
        laybox_left = $("#u375767").parent('.laybox').offset().left
    }
    var self_offset_left = parseFloat($('#u375767').css('left')) + laybox_left;
    var self_width = parseFloat($("#u375767").css('width'));
    var layrow_height = parseFloat($("#u375767").parents('.layrow').attr('data-height'));

    $("#u375767").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 = $('#u375767').parent().children('.module');
    var layrow = $("#u375767").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($('#u375767').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":480,"height":300,"borderColor":"#ccc","borderStyle":"none","borderWidth":1,"background":"rgba(255,255,255,0)","padding":20},"title":{"content":"我是分类列表","height":30,"fontSize":14,"fontFamily":"Microsoft YaHei","background":"rgba(255, 0, 0, 0)","color":"rgba(34, 34, 34, 1)","fontWeight":"normal","fontAlign":"center","display":"none","paddingLeft":0},"onelevel":{"fontWeight":"normal","fontAlign":"center","fontSize":16,"fontFamily":"Microsoft YaHei","background":"rgba(250, 250, 250, 0)","color":"rgba(102, 102, 102, 1)","width":120,"height":40,"borderColor":"#eee","borderStyle":"none","borderRadius":0,"seleFontSize":16,"seleBackground":"#08519E","seleColor":"rgba(255, 255, 255, 1)","borderTopWidth":1,"borderBottomWidth":1,"borderleftWidth":1,"borderRightWidth":1,"paddingLeft":0,"seleColor_globalColor":"","seleBackground_globalColor":""},"twolevel":{"fontWeight":"normal","fontAlign":"center","fontSize":12,"fontFamily":"Microsoft YaHei","background":"rgba(255,255,255,0)","color":"#666","width":0,"height":0,"borderColor":"rgba(255, 153, 0, 0)","borderStyle":"none","borderRadius":0,"seleFontSize":15,"seleBackground":"rgba(255,255,255,0)","seleColor":"#ff9900","boxWidth":1000,"boxHeight":40,"margin":10,"borderTopWidth":1,"borderBottomWidth":1,"borderleftWidth":1,"borderRightWidth":1,"paddingLeft":0,"marginTop":20,"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},"styleId":2901,"frameBox":338,"frameHeight":40,"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 = $('#u375767').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
                });

                $('#u375767').find('.swiperLeft button').click(function () {
                    catelogSwiper.slidePrev();
                });

                $('#u375767').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') {
                        $('#u375767').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)
                                }

                            }
                        );
                        $('#u375767').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') {
                        $('#u375767').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);
                                }
                            }
                        );
                        $('#u375767').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 {
                        $('#u375767').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)
                                }

                            }
                        );
                        $('#u375767').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($('#u375767').outerHeight());
                    this.mark_top();
                    if (this.editVal.animation == 'toggle') {
                        $('#u375767').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();
                                }

                            }
                        );
                        $('#u375767').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') {
                        $('#u375767').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();
                                }
                            }
                        );
                        $('#u375767').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 {
                        $('#u375767').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();
                                }

                            }
                        );
                        $('#u375767').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);
                }


            }
        })
    }
}

//<script>
    var textareaEle = document.querySelector('#u354365 > textarea');
    //textarea元素是否存在
    if( textareaEle ){
        var StorageVal = $('#u354365').children('textarea').eq(0).text();
        if(JSON.parse(StorageVal).data.StorageVal){
            var rowFixed = JSON.parse(JSON.parse(StorageVal).data.StorageVal).fixed;
            var rowId = JSON.parse(JSON.parse(StorageVal).data.StorageVal).rowId;
        }
    }
    else{
        var StorageVal = '{"row_type":"default","module_width":"1200","module_height":"60","module_index":"1","module_name":"","w_border_raduis_num":"0","w_opacity":"1","w_fill":"0","w_transtion":"0","w_background":"rgba(227, 227, 227, 0)","w_background_globalColor":"","w_border_left_color":"#333","w_border_left_color_globalColor":"","w_border_left_style":"solid","w_border_left_width":"0","w_border_top_color":"#333","w_border_top_color_globalColor":"","w_border_top_style":"solid","w_border_top_width":"0","w_border_right_color":"#333","w_border_right_color_globalColor":"","w_border_right_style":"solid","w_border_right_width":"0","w_border_bottom_color":"#333","w_border_bottom_color_globalColor":"","w_border_bottom_style":"solid","w_border_bottom_width":"0","w_tile_style":"repeat","w_bg_src":"","w_bg_position":"top left","r_bg_src":"","r_bg_position":"top left","r_background":"rgba(248, 248, 248, 1)","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":"1","r_border_bottom_style":"solid","r_border_bottom_color":"rgba(221, 221, 221, 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 : 'u354365';
        }
    }

    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 = $('#u354365').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>
    var textareaEle = document.querySelector('#u820437 > textarea');
    //textarea元素是否存在
    if( textareaEle ){
        var StorageVal = $('#u820437').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":578,"module_index":"1","module_name":"","w_border_raduis_num":"0","w_opacity":"1","w_fill":"0","w_transtion":"0","w_background":"rgba(255, 255, 255, 1)","w_background_globalColor":"","w_border_left_color":"#fff","w_border_left_color_globalColor":"","w_border_left_style":"solid","w_border_left_width":"0","w_border_top_color":"#fff","w_border_top_color_globalColor":"","w_border_top_style":"solid","w_border_top_width":"0","w_border_right_color":"#fff","w_border_right_color_globalColor":"","w_border_right_style":"solid","w_border_right_width":"0","w_border_bottom_color":"#fff","w_border_bottom_color_globalColor":"","w_border_bottom_style":"solid","w_border_bottom_width":"0","w_tile_style":"repeat","w_bg_src":"","w_bg_position":"center center","r_bg_src":"","r_bg_position":"center center","r_background":"#fff","r_background_globalColor":"","r_border_top_style":"solid","r_border_top_width":"0","r_border_top_color":"#fff","r_border_top_color_globalColor":"","r_border_bottom_width":"0","r_border_bottom_style":"solid","r_border_bottom_color":"#fff","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 : 'u820437';
        }
    }

    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 = $('#u820437').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('#u636426')){
        console.log(1111,8)
        var num = 'u636426';
        window['indexListAndPageVm'+num] = new Vue({
            el: '#u636426',
            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'){

                        $('#u636426').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 = '3';
                    return pageToGo>0 && pageToGo<=page
                }
            },
            created:function () {
                try{
                    //编辑数据源
                    var listArr = JSON.stringify({"listType":"article","Pattern":"list","listArr":[],"Prompt":"暂无数据！","home_page":"首页","last_page":"末页","previous_page":"上一页","next_page":"下一页"});
                    this.editVal = JSON.parse(JSON.stringify({"summaryLength":69,"backgroundSelect":{"background":"#08519E","className":"backgroundSelect","color":"rgba(255, 255, 255, 1)","fontSize":14,"textAlign":"center","fontFamily":"Microsoft YaHei","isOpen":"true","background_globalColor":""},"Mongolia":{"width":400,"height":400,"background":"#f00","opacity":0.3,"animation":"fade","time":200,"direction":"up","isOpen":"false","marginTop":50,"marginLeft":50},"MongoliaIcon":{"display":"block","color":"#fff","fontSize":24,"icon":"icon-chakan"},"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,"fontWeight":"bolder"},"pageSelect":{"width":28,"height":25,"borderLeftWidth":1,"borderRightWidth":1,"borderTopWidth":1,"borderBottomWidth":1,"borderColor":"#08519E","borderStyle":"solid","background":"#08519E","borderRadius":0,"margin":3,"padding":0,"color":"rgba(255, 255, 255, 1)","fontSize":14,"textAlign":"center","fontFamily":"Microsoft YaHei","className":"pageSelect","borderColor_globalColor":"","background_globalColor":""},"pageDefault":{"boxWidth":700,"width":30,"nextBtnWidth":60,"firstBtnWidth":60,"height":30,"borderLeftWidth":1,"borderRightWidth":1,"borderTopWidth":1,"borderBottomWidth":1,"borderColor":"rgba(221, 221, 221, 1)","borderStyle":"solid","background":"rgba(184, 126, 119, 0)","borderRadius":0,"margin":3,"className":"pageDefault","padding":0,"color":"rgba(119, 119, 119, 1)","fontSize":14,"textAlign":"center","fontFamily":"Microsoft YaHei","left":0,"bottom":19,"isOpen":"true","pagePosition":"center","type":0,"color_globalColor":"","text_background":"rgba(184, 126, 119, 0)","text_background_globalColor":"","background_globalColor":""},"frame":{"width":1200,"height":193,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":0,"borderColor":"#ccc","borderStyle":"solid","background":"rgba(255,255,255,0)","borderRadius":0,"className":"frame","padding":0,"showNum":9,"heightType":"auto","paddingBottom":80,"paddingLeft":0,"paddingRight":0,"paddingTop":0,"borderLeftColor":"#ccc","borderRightColor":"#ccc","borderTopColor":"#ccc","borderBottomColor":"#ccc","borderLeftStyle":"solid","borderRightStyle":"solid","borderTopStyle":"solid","borderBottomStyle":"solid"},"box":{"width":380,"height":193,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":0,"borderColor":"#ccc","borderStyle":"solid","background":"rgba(246, 246, 248, 1)","left":25,"top":0,"className":"box","margin":10,"target":"_self","marginTop":0,"marginLeft":10,"marginRight":10,"marginBottom":20,"padding":0,"borderRadius":0,"borderLeftColor":"#ccc","borderRightColor":"#ccc","borderTopColor":"#ccc","borderBottomColor":"#ccc","borderLeftStyle":"solid","borderRightStyle":"solid","borderTopStyle":"solid","borderBottomStyle":"solid","background_globalColor":""},"Component":[{"editName":"标题","englishName":"name","id":0,"select":"block","width":341,"height":30,"padding":0,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":0,"borderColor":"#ccc","borderStyle":"none","background":"rgba(255,255,255,0)","color":"rgba(51, 51, 51, 1)","fontSize":16,"textAlign":"left","fontFamily":"Microsoft YaHei","fontWeight":"normal","left":20,"top":20,"zIndex":1,"className":"title","lineHeight":30,"editBackground":"#f00","SfontWeight":"normal","Swidth":500,"Sheight":30,"Spadding":0,"SborderLeftWidth":0,"SborderRightWidth":0,"SborderTopWidth":0,"SborderBottomWidth":0,"SborderColor":"rgba(255,255,255,0)","SborderStyle":"none","Sbackground":"rgba(255,255,255,0)","Scolor":"#B87E77","SfontSize":16,"StextAlign":"left","SfontFamily":"Microsoft YaHei","color_globalColor":"","Scolor_globalColor":""},{"editName":"时间","englishName":"up_time","id":1,"select":"block","width":83,"height":25,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":0,"padding":0,"borderColor":"#ccc","borderStyle":"none","editBackground":"#00E31B","color":"rgba(51, 51, 51, 1)","fontSize":14,"textAlign":"left","left":20,"top":56,"fontFamily":"Microsoft YaHei","background":"rgba(255,255,255,0)","zIndex":1,"className":"time","lineHeight":25,"Swidth":83,"Sheight":25,"Spadding":0,"SborderLeftWidth":0,"SborderRightWidth":0,"SborderTopWidth":0,"SborderBottomWidth":0,"SborderColor":"rgba(255,255,255,0)","SborderStyle":"none","Sbackground":"rgba(255,255,255,0)","Scolor":"rgba(153, 153, 153, 1)","SfontSize":12,"StextAlign":"left","SfontFamily":"Microsoft YaHei","timePattern":"ordinary"},{"editName":"简介","englishName":"summary","id":2,"select":"block","width":340,"height":82,"padding":0,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":0,"borderColor":"#ccc","borderStyle":"none","editBackground":"#3563FF","color":"rgba(102, 102, 102, 1)","fontSize":14,"textAlign":"left","left":20,"top":88,"fontFamily":"Microsoft YaHei","background":"rgba(255,255,255,0)","zIndex":1,"className":"content","lineHeight":27,"Swidth":620,"Sheight":82,"Spadding":0,"SborderLeftWidth":0,"SborderRightWidth":0,"SborderTopWidth":1,"SborderBottomWidth":0,"SborderColor":"rgba(255,255,255,0)","SborderStyle":"none","Sbackground":"rgba(255,255,255,0)","Scolor":"rgba(153, 153, 153, 1)","SfontSize":14,"StextAlign":"left","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":130,"height":35,"padding":0,"borderLeftWidth":1,"borderRightWidth":1,"borderTopWidth":1,"borderBottomWidth":1,"borderColor":"#999","borderStyle":"none","editBackground":"#FFB200","color":"rgba(255, 255, 255, 1)","fontSize":12,"textAlign":"center","left":300,"top":135,"fontFamily":"Microsoft YaHei","background":"rgba(255, 139, 65, 1)","zIndex":1,"className":"more","lineHeight":35,"content":"查看详情","borderRadius":0,"Swidth":240,"Sheight":30,"Spadding":0,"SborderLeftWidth":1,"SborderRightWidth":1,"SborderTopWidth":1,"SborderBottomWidth":1,"SborderColor":"#999","SborderStyle":"solid","Sbackground":"rgba(255,255,255,0)","Scolor":"#999","SfontSize":12,"StextAlign":"center","SfontFamily":"Microsoft YaHei"},{"editName":"图片","englishName":"img","id":5,"select":"none","width":200,"height":153,"padding":0,"borderLeftWidth":0,"borderRightWidth":0,"borderTopWidth":0,"borderBottomWidth":0,"borderColor":"#ccc","borderStyle":"solid","editBackground":"#00EBFF","color":"#333","fontSize":14,"textAlign":"center","left":20,"top":20,"fontFamily":"Microsoft YaHei","background":"rgba(255,255,255,0)","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},{"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":"#333","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},"styleId":3619}))
                    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":"27","name":"\u7a7a\u8c03\u6e29\u63a7\u5668\u751f\u4ea7\u5382\u5bb6\u2014\u2014\u5e7f\u5dde\u5353\u6613\u7535\u5b50","summary":"\u5e7f\u5dde\u5353\u6613\u7535\u5b50\u79d1\u6280\u6709\u9650\u516c\u53f8\u63a8\u51fa\u5168\u65b0\u7684\u7a7a\u8c03\u6e29\u63a7\u5668\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u52a0\u667a\u80fd\u3001\u4fbf\u6377\u7684\u7a7a\u8c03\u63a7\u5236\u4f53\u9a8c\u3002\u8be5\u6e29\u63a7\u5668\u91c7\u7528\u5148\u8fdb\u7684\u667a\u80fd\u63a7\u5236\u6280\u672f\uff0c\u80fd\u591f\u81ea\u52a8\u611f\u77e5\u5ba4\u5185\u6e29\u5ea6\uff0c\u5e76\u6839\u636e\u7528\u6237\u7684\u9700\u6c42\u8fdb\u884c\u667a\u80fd\u8c03\u8282\uff0c\u5b9e\u73b0\u63a7\u6e29\uff0c\u8ba9\u7528\u6237\u4eab\u53d7\u5230\u66f4\u52a0\u8212\u9002\u7684\u7a7a\u8c03\u4f53\u9a8c\u3002","createtime":"1700278002","up_time":"1700275865","img":"https:\/\/img01.71360.com\/w3\/0kpvqx\/20230923\/46d51584cde6db58c19da5cd662fc98e.png","auto_issue":"1700275865"},{"id":"26","name":"\u70ed\u6cf5\u63a7\u5236\u677f\u2014\u2014\u5e7f\u5dde\u5353\u6613\u7535\u5b50\u79d1\u6280\u6709\u9650\u516c\u53f8","summary":"\u70ed\u6cf5\u63a7\u5236\u677f\u662f\u70ed\u6cf5\u7cfb\u7edf\u4e2d\u7684\u5173\u952e\u90e8\u4ef6\uff0c\u5b83\u7684\u4e3b\u8981\u4f5c\u7528\u662f\u63a7\u5236\u70ed\u6cf5\u7684\u8fd0\u884c\u548c\u8c03\u8282\u70ed\u6cf5\u7684\u5de5\u4f5c\u72b6\u6001\u3002\u70ed\u6cf5\u63a7\u5236\u677f\u7684\u5de5\u4f5c\u539f\u7406\u662f\u901a\u8fc7\u4f20\u611f\u5668\u68c0\u6d4b\u73af\u5883\u6e29\u5ea6\u548c\u6e7f\u5ea6\u7b49\u53c2\u6570\uff0c\u7136\u540e\u5c06\u8fd9\u4e9b\u53c2\u6570\u4f20\u9012\u7ed9\u63a7\u5236\u5668\uff0c\u63a7\u5236\u5668\u6839\u636e\u9884\u8bbe\u7684\u7a0b\u5e8f\u548c\u7b97\u6cd5\u6765\u63a7\u5236\u70ed\u6cf5\u7684\u8fd0\u884c\u3002","createtime":"1699707553","up_time":"1699706947","img":"https:\/\/img01.71360.com\/w3\/0kpvqx\/20230923\/b1d738a949670d82b9c8fa32d3889853.png","auto_issue":"1699706947"},{"id":"25","name":"\u5bb6\u7535\u667a\u80fd\u63a7\u5236\u5668\u4fdd\u517b\u6e05\u6d17\u65b9\u6cd5\u2014\u2014\u5e7f\u5dde\u5353\u6613\u7535\u5b50\u79d1\u6280\u6709\u9650\u516c\u53f8","summary":"\u5bb6\u7535\u667a\u80fd\u63a7\u5236\u5668\u662f\u73b0\u4ee3\u5bb6\u5ead\u4e2d\u4e0d\u53ef\u6216\u7f3a\u7684\u4e00\u90e8\u5206\uff0c\u5b83\u53ef\u4ee5\u8ba9\u6211\u4eec\u7684\u751f\u6d3b\u66f4\u52a0\u4fbf\u5229\u548c\u8212\u9002\u3002\u4f46\u662f\uff0c\u5982\u679c\u4e0d\u8fdb\u884c\u4fdd\u517b\u548c\u6e05\u6d17\uff0c\u5b83\u7684\u4f7f\u7528\u5bff\u547d\u4f1a\u6781\u5927\u7f29\u77ed\uff0c\u751a\u81f3\u4f1a\u51fa\u73b0\u6545\u969c\u3002\u56e0\u6b64\uff0c\u6b63\u786e\u7684\u4fdd\u517b\u548c\u6e05\u6d17\u65b9\u6cd5\u5bf9\u4e8e\u5bb6\u7535\u667a\u80fd\u63a7\u5236\u5668\u7684\u4f7f\u7528\u975e\u5e38\u91cd\u8981\u3002","createtime":"1697878921","up_time":"1697878735","img":"https:\/\/img01.71360.com\/w3\/0kpvqx\/20230923\/ed3dee1f6347b5f10432788f23d63ed4.png","auto_issue":"1697878735"},{"id":"24","name":"\u5e7f\u5dde\u5353\u6613\u7535\u5b50\u2014\u2014\u6e29\u63a7\u5668","summary":"\u5e7f\u5dde\u5353\u6613\u7535\u5b50\u79d1\u6280\u6709\u9650\u516c\u53f8\u662f\u4e00\u5bb6\u4e13\u6ce8\u4e8e\u5bb6\u7535\u667a\u80fd\u63a7\u5236\u5668\u7684\u5f00\u53d1\u3001\u751f\u4ea7\u548c\u9500\u552e\u7684\u516c\u53f8\u3002\u8be5\u516c\u53f8\u81f4\u529b\u4e8e\u6210\u4e3a\u4e13\u4e1a\u4e13\u6ce8\u7684\u667a\u80fd\u63a7\u5236\u5668\u65b9\u6848\u89e3\u51b3\u548c\u5b9e\u65bd\u516c\u53f8\uff0c\u4e3a\u7a7a\u8c03\u3001\u70ed\u6cf5\u3001\u6696\u98ce\u673a\u3001\u9664\u6e7f\u673a\u3001\u7a7a\u6c14\u51c0\u5316\u5668\u3001\u533b\u7597\u8bbe\u5907\u7b49\u9886\u57df\u63d0\u4f9b\u667a\u80fd\u63a7\u5236\u5668\u65b9\u6848\u3002","createtime":"1694760736","up_time":"1694760506","img":"https:\/\/img01.71360.com\/file\/read\/www\/M00\/DA\/A3\/wKj0iWGeDVeABpKIAALAp_P64RA345.jpg","auto_issue":"1694760506"},{"id":"23","name":"\u5e7f\u5dde\u5353\u6613\u7535\u5b50\u2014\u2014\u667a\u80fd\u63a7\u5236\u5668\u65b9\u6848\u4f9b\u5e94\u5546","summary":"\u5e7f\u5dde\u5353\u6613\u7535\u5b50\u79d1\u6280\u6709\u9650\u516c\u53f8\uff0c\u6210\u7acb\u4e8e2002\u5e7411\u6708\uff0c\u662f\u4e00\u5bb6\u4e13\u6ce8\u4e8e\u5bb6\u7535\u667a\u80fd\u63a7\u5236\u5668\u7814\u53d1\u3001\u751f\u4ea7\u548c\u9500\u552e\u7684\u516c\u53f8\u3002\u591a\u5e74\u6765\uff0c\u6211\u53f8\u81f4\u529b\u4e8e\u4e3a\u7a7a\u8c03\u70ed\u6cf5\u3001\u6696\u98ce\u673a\u3001\u98ce\u5e55\u673a\u3001\u9664\u6e7f\u673a\u3001\u6cf3\u6c60\u673a\u3001\u533b\u7597\u8bbe\u5907\u7b49\u9886\u57df\u63d0\u4f9b\u667a\u80fd\u63a7\u5236\u5668\u65b9\u6848\uff0c\u6210\u4e3a\u4e1a\u754c\u7684\u53e3\u7891\u597d\u7684\u516c\u53f8\u4e4b\u4e00\u3002","createtime":"1692412113","up_time":"1692411278","img":"https:\/\/img01.71360.com\/file\/read\/www2\/M00\/62\/4D\/rBwBEmR5uZOAKvwaAAHNUsj60Ak923.jpg","auto_issue":"1692411278"},{"id":"22","name":"\u79d1\u666e\u2014\u2014\u7a7a\u8c03\u7535\u63a7\u677f\u548c\u70ed\u6cf5\u63a7\u5236\u677f","summary":"\u5e7f\u5dde\u5353\u6613\u7535\u5b50\u662f\u4e00\u5bb6\u4e13\u4e1a\u751f\u4ea7\u7a7a\u8c03\u7535\u63a7\u677f\u548c\u70ed\u6cf5\u63a7\u5236\u677f\u7684\u516c\u53f8\u3002\u4ed6\u4eec\u81f4\u529b\u4e8e\u63d0\u4f9b\u7535\u63a7\u677f\u4ea7\u54c1\u548c\u89e3\u51b3\u65b9\u6848\uff0c\u4e3a\u7a7a\u8c03\u548c\u70ed\u6cf5\u5236\u9020\u5546\u63d0\u4f9b\u5b9a\u5236\u5316\u7684\u63a7\u5236\u7cfb\u7edf\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5e7f\u5dde\u5353\u6613\u7535\u5b50\u751f\u4ea7\u7684\u7a7a\u8c03\u7535\u63a7\u677f\u548c\u70ed\u6cf5\u7684\u7279\u70b9\u548c\u4f18\u52bf\u3002","createtime":"1689649289","up_time":"1689648888","img":"https:\/\/img01.71360.com\/file\/read\/www2\/M00\/62\/4D\/rBwBEmR5uZOAKvwaAAHNUsj60Ak923.jpg","auto_issue":"1689648888"},{"id":"21","name":"\u7a7a\u6c14\u51c0\u5316\u5668\u7684\u5de5\u4f5c\u539f\u7406","summary":"\u7a7a\u6c14\u51c0\u5316\u5668\u7684\u5de5\u4f5c\u539f\u7406\u662f\u901a\u8fc7\u8fc7\u6ee4\u3001\u5438\u9644\u3001\u7535\u5316\u5b66\u53cd\u5e94\u7b49\u65b9\u5f0f\uff0c\u5c06\u7a7a\u6c14\u4e2d\u7684\u6c61\u67d3\u7269\u8d28\u53bb\u9664\u6216\u8f6c\u5316\uff0c\u4ece\u800c\u8fbe\u5230\u51c0\u5316\u7a7a\u6c14\u7684\u76ee\u7684\u3002","createtime":"1684565925","up_time":"1684565619","img":"https:\/\/img01.71360.com\/file\/read\/www2\/M00\/13\/6D\/rBwBEmQellSAOiPwAAKTta_3aDY680.jpg","auto_issue":"1684565619"},{"id":"20","name":"\u70ed\u6cf5\u63a7\u5236\u677f\u662f\u4ec0\u4e48\uff1f","summary":"\u5353\u6613\u7535\u5b50\u516c\u53f8\u4e3b\u8981\u662f\u4ece\u4e8b\u5bb6\u7535\u667a\u80fd\u63a7\u5236\u5668\u7684\u7814\u53d1\u3001\u751f\u4ea7\u548c\u9500\u552e\uff0c\u5e76\u4e13\u6ce8\u4e8e\u7a7a\u3001\u70ed\u6cf5\u3001\u98ce\u673a\u3001\u98ce\u673a\u3001\u9664\u6e7f\u673a\u3001\u6cf3\u6c60\u673a\u3001\u7a7a\u6c14\u51c0\u5316\u5668\u3001\u533b\u7597\u8bbe\u5907\u3002\u5176\u4e2d\u673a\u5177\u4f18\u52bf\u7684\u5c31\u662f\u70ed\u6cf5\u63a7\u5236\u677f\u3002","createtime":"1683512703","up_time":"1683512277","img":"https:\/\/img01.71360.com\/file\/read\/www\/M00\/B5\/87\/wKj0iWFyXcqAChoOAAIM1kDFiIY012.jpg","auto_issue":"1683512277"},{"id":"19","name":"\u5353\u6613\u7535\u5b50\u70ed\u6cf5\u63a7\u5236\u677f","summary":"\u70ed\u6cf5\u63a7\u5236\u677f\u662f\u70ed\u6cf5\u7cfb\u7edf\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\uff0c\u5b83\u901a\u8fc7\u5bf9\u70ed\u6cf5\u8fd0\u884c\u7684\u76d1\u6d4b\u548c\u63a7\u5236\uff0c\u5b9e\u73b0\u70ed\u6cf5\u7cfb\u7edf\u7684\u9ad8\u6548\u7a33\u5b9a\u8fd0\u884c\u3002\u968f\u7740\u6211\u56fd\u70ed\u6cf5\u5e02\u573a\u7684\u4e0d\u65ad\u53d1\u5c55\u58ee\u5927\uff0c\u70ed\u6cf5\u63a7\u5236\u677f\u7684\u9700\u6c42\u4e5f\u65e5\u76ca\u589e\u957f\u3002\u672c\u6587\u5c06\u4e3a\u60a8\u4ecb\u7ecd\u4e00\u5bb6\u70ed\u6cf5\u63a7\u5236\u677f\u5382\u5bb6\u2014\u2014\u5e7f\u5dde\u5353\u6613\u7535\u5b50\u79d1\u6280\u6709\u9650\u516c\u53f8\u3002","createtime":"1681798708","up_time":"1681798510","img":"https:\/\/img01.71360.com\/file\/read\/www\/M00\/C1\/00\/wKj0iWGB5OuASyLEAASTITUK1R4092.png","auto_issue":"1681798510"}]);//这样可以处理双引号

                    }
                    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 = '3';
                    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);
                }
            }
        });
    }

}
