if( parseInt($.browser.version) === 8 ){ }else{ var num = 'u486472'; //鍙湁dom瀛樺湪锛屾墠缁戝畾js if(document.querySelector('#u486472')){ window['indexVm' + num] = new Vue({ el: "#u486472", data: { indexStore: { }, indexShow: false }, watch: { infor: { handler: function(val, oldVal) { }, deep: true } }, methods: { pageHeight: function() { // 鑾峰彇娴忚鍣ㄩ珮搴 if ($.browser.msie) { return document.compatMode == "CSS1Compat" ? document.documentElement.clientHeight : document.body.clientHeight; } else { return self.innerHeight; } return $(window).height(); }, mouseover:function(e){ var ele = e.target; if(this.indexStore.effectsObj.type == 'scale'){ $(ele).css({ 'transform':'scale(' + this.indexStore.effectsObj.zoom + ')' }) } else if(this.indexStore.effectsObj.type == 'translate'){ if(this.indexStore.effectsObj.direction === 'up-down'){ $(ele).css({ 'transform':'translate(0,' +this.indexStore.effectsObj.distance + 'px)' }) } else{ $(ele).css({ 'transform':'translate(' +this.indexStore.effectsObj.distance + 'px,0)' }) } } else if(this.indexStore.effectsObj.type == 'rotate_new'){ $(ele).css({ 'transform':'rotate(' + this.indexStore.effectsObj.deg +'deg)' }) } else if(this.indexStore.effectsObj.type == 'border'){ $(ele).css({ 'borderStyle':this.indexStore.effectsObj.borderStyle, 'borderWidth':this.indexStore.effectsObj.borderWidth + 'px', 'borderColor':this.indexStore.effectsObj.borderColor, }); } }, mouseout:function(e){ var ele = e.target; if(this.indexStore.effectsObj.type == 'scale'){ $(ele).css({ 'transform':'scale(1)' }) } else if(this.indexStore.effectsObj.type == 'translate'){ $(ele).css({ 'transform':'translate(0,0)' }) } else if(this.indexStore.effectsObj.type == 'rotate_new'){ $(ele).css({ 'transform':'rotate(0deg)' }) } else if(this.indexStore.effectsObj.type == 'border'){ $(ele).css({ 'borderStyle':'not specified', 'borderWidth':0, 'borderColor':'', }); } } }, computed: { imgstyle: function() { return { width:this.indexStore.picture_width + 'px', height:this.indexStore.picture_height + 'px', borderRadius:this.indexStore.picture_border_radius + 'px', }; } }, created: function() { try{ var StorageVal = {"allwidth":200,"allheight":200,"isNewPage":true,"picStyle":"0","picture_width":162,"picture_height":57,"picture_border_radius":0,"imgUrl":"https://img01.71360.com/file/read/www/M00/8F/89/wKj0iWE_COGAKjeFAAHDCxvPxOk888.png","imgUrl_hover":"","effectNum":0,"animatedType":"stylejs","linksStyle":"self","linksUrl":"/","openStyle":"_self","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","time":300},"img_title":"娣卞湷甯傛鼎璇氳揪鐢靛姏绉戞妧鏈夐檺鍏徃"}; if (StorageVal != null) { this.indexStore = StorageVal; } }catch(e){} }, ready: function() { if (typeof templet != "undefined") { templet.checkaction(this); } // 鎮诞 $('#u486472 div.graphic_position').hover(function () { $('#u486472 div.graphic_position img').eq(0).hide(); $('#u486472 div.graphic_position img').stop().eq(1).fadeIn(300); },function () { $('#u486472 div.graphic_position img').eq(1).hide(); $('#u486472 div.graphic_position img').stop().eq(0).fadeIn(300); }); } }); } } if('' == '0' || '1' == '0'){ //鏍峰紡1 var ad = new AdMove("u831054"); $('#u831054').css('zIndex','999999'); var times = '' || '10' ad.Run(parseInt(times)); //鍏抽棴鐐瑰嚮浜嬩欢 $("#u831054 #open_page").on('click',function(){ $('#u831054').css("display","none"); }); }; if( parseInt($.browser.version) === 8 ){ console.log('ie8') }else { //鍙湁dom瀛樺湪锛屾墠缁戝畾js if (document.querySelector('#u831054')) { ;var num = 'u831054'; window['indexVm' + num] = new Vue({ el: "#u831054", data: { indexStore: {}, indexShow: false, costomDatas: {} }, watch: { costomDatas: { handler: function (val, oldVal) { console.log('test'); }, deep: true } }, computed: { div: function () { return { overflowX: this.indexStore.w_scrollX_type, overflowY: this.indexStore.w_scrollY_type, wordWrap: this.indexStore.w_word_type }; } }, methods: {}, created: function () { try { var StorageVal = {"w_scrollX_type":"hidden","w_scrollY_type":"hidden","w_word_type":"normal","contents":"
\n\t

\n\t\t 24灏忔椂鏈嶅姟鐑嚎锛欬/span> \n\t

\n\t

\n\t\t400 096 1518 \n\t

\n
","msg":"","custom_pos_style":"1","is_hover":"0","custom_pos_style_left":0,"custom_pos_style_top":0,"custom_pos_style_rate":10,"hover_color":"#000","hover_bc_color":"#fff","width":250,"height":44,"fixedLeft":0,"fixedTop":0,"openShow":false,"isShows":false,"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"},"editBc":"#fff"}; if (StorageVal != null) { this.indexStore = StorageVal; } } catch (e) { } // 鍏煎 if (!this.indexStore.is_hover) { this.indexStore.is_hover = '0'; this.indexStore.hover_color = "#000"; this.indexStore.hover_bc_color = "#fff"; } console.log('index', this.indexStore.custom_pos_style); //debugger; if (this.indexStore.custom_pos_style == '0') { //鏍峰紡1 } else if (this.indexStore.custom_pos_style == '1') { //鏍峰紡2 } else if (this.indexStore.custom_pos_style == '2') { //鏍峰紡3 try { $('#u831054').css({ 'position': 'fixed', 'zIndex': '999999' }); } catch (e) { } ; } //鎸備欢鍔ㄧ敾 try { $.allWidgetAnimate(this, $('#u831054')); } catch (e) { } ; }, ready: function () { if (this.indexStore.custom_pos_style === '2') { var t = setTimeout(function () { try { $("#u831054").draggable(); $("#u831054").draggable("disable"); } catch (e) { } clearTimeout(t); }, 500); } else if (this.indexStore.custom_pos_style === '1') { setTimeout(function () { try { $("#u831054").draggable("enable"); } catch (e) { } }, 100); } if (typeof templet != "undefined") { templet.checkaction(this); } // 鍏煎 if (!this.indexStore.is_hover) { this.indexStore.is_hover = '0'; this.indexStore.hover_color = "#000"; this.indexStore.hover_bc_color = "#fff"; } } }); } } if( parseInt($.browser.version) === 8 ){ console.log('ie8') }else{ //鍙湁dom瀛樺湪锛屾墠缁戝畾js if(document.querySelector('#u867241')) { var num = 'u867241'; window['indexVm' + num] = new Vue({ el: "#u867241", data: { indexStore: {} }, watch: {}, computed: {}, methods: {}, created: function () { try { var StorageVal = {"allwidth":200,"allheight":100,"themes":"monokai","codeHtml":"","codeCss":".swiper-slide{margin-bottom:0!important;}\nbody{min-width:1000px;overflow:hidden;}","codeJs":"$(\"body\").prepend(\"\");\n$(\"div,p,a,span,strong\").css(\"word-break\",\"\");\n","effectsObj":{"type":"","icon":"fa-adjust","iconSize":50,"iconColor":"#fff","changeSrc":"","borderStyle":"solid","borderWidth":1,"borderColor":"#ccc","deg":90,"zoom":1.5,"distance":20,"direction":"left-right"},"styleId":2036}; if (StorageVal != null) { this.indexStore = StorageVal; } //console.log('ie8',JSON.stringify(this.indexStore)) } catch (e) { } }, ready: function () { var _this = this; try { (function () { if (!_this.indexStore.codeJs) { return; } eval(_this.indexStore.codeJs) })(); } catch (e) { console.log('楂樼骇浠g爜JS閮ㄥ垎鎶ラ敊', e) } } }); } } if( parseInt($.browser.version) === 8 ){ }else{ //鍙湁dom瀛樺湪锛屾墠缁戝畾js if(document.querySelector('#u599533')){ var num = 'u599533'; window['indexNavVm'+num] = new Vue({ el: '#u599533', data:{ editVal:{}, listArr:[], url:'', indexShow:true,//鍒ゆ柇娓叉煋index杩樻槸edit }, methods:{ iconFourStyle:function (fontSize,navIconPosition,tweLevelFontSize,color) { var liHeight = $('#u599533').find('.indexNav').children('.indexNavChild').height(); var liWidth = $('#u599533').find('.indexNav').children('li').width(); var dropDownMenuHeight = $('#u599533').find('.indexNavChild').children('ul').children('li').height(); var fontSize = parseInt(fontSize); if(navIconPosition == 'top-left'){ $('#u599533').find('.indexNav').children('li').children('i').css({ top:'3%', bottom:'', left:'7%', right:'', fontSize:fontSize+'px', color:color }); } else if(navIconPosition == 'top-center'){ $('#u599533').find('.indexNav').children('li').children('i').css({ top:'3%', bottom:'', left:(liWidth - fontSize)/2+'px', right:'', fontSize:fontSize+'px', color:color }); } else if(navIconPosition == 'top-right'){ $('#u599533').find('.indexNav').children('li').children('i').css({ top:'3%', bottom:'', left:'', right:'7%', fontSize:fontSize+'px', color:color }); } else if(navIconPosition == 'center-left'){ $('#u599533').find('.indexNav').children('li').children('i').css({ top:(liHeight - fontSize)/2+'px', bottom:'', left:'7%', right:'', fontSize:fontSize+'px', color:color }); } else if(navIconPosition == 'center-center'){ $('#u599533').find('.indexNav').children('li').children('i').css({ top:(liHeight - fontSize)/2+'px', bottom:'', left:(liWidth - fontSize)/2+'px', right:'', fontSize:fontSize+'px', color:color }); } else if(navIconPosition == 'center-right'){ $('#u599533').find('.indexNav').children('li').children('i').css({ top:(liHeight - fontSize)/2+'px', bottom:'', left:'', right:'7%', fontSize:fontSize+'px', color:color }); } else if(navIconPosition == 'bottom-left'){ $('#u599533').find('.indexNav').children('li').children('i').css({ top:'', bottom:'3%', left:'7%', right:'', fontSize:fontSize+'px', color:color }); } else if(navIconPosition == 'bottom-center'){ $('#u599533').find('.indexNav').children('li').children('i').css({ top:'', bottom:'3%', left:(liWidth - fontSize)/2+'px', right:'', fontSize:fontSize+'px', color:color }); } else if(navIconPosition == 'bottom-right'){ $('#u599533').find('.indexNav').children('li').children('i').css({ top:'68%', bottom:'3%', left:'', right:'7%', fontSize:fontSize+'px', color:color }); } //涓嬫媺鑿滃崟鏍峰紡 $('#u599533').find('.indexNavChild').children('ul').find('i').css({ top:(dropDownMenuHeight - fontSize)/2+'px', bottom:'', left:'7%', right:'', fontSize:fontSize+'px', color:color }); //鎵€鏈夋牱寮忓姞杞藉畬鎴愶紝瀵艰埅鍑虹幇 $('#u599533').find('.indexCustom').find('i').css('display','block'); $('#u599533').find('.menumenu').find('i').css('display','block'); }, hoverUlShow:function () { var that = this; $('#u599533').find('.indexNav').on('mouseenter','.indexNavChild',function () { var page = $(this).attr('data-page'); if(that.editVal.full_screen_drop_down){ if(that.editVal.full_screen_drop_down.full_screen_drop_down && that.editVal.full_screen_drop_down.full_screen_drop_down.indexOf(page) > -1){ that.full_screen_drop_down($(this)); } else{ $(this).children('ul').stop(false,false).slideDown(150); } } else{ $(this).children('ul').stop(false,false).slideDown(150); } }); $('#u599533').find('.indexNav').on('mouseleave','.indexNavChild',function () { $(this).children('ul').stop(false,false).slideUp(150); var drop = $(this).find('.full_screen_drop_down'); if(drop.length > 0){ drop.removeClass('full_screen_drop_down_clone'); } }) }, full_screen_drop_down:function(li){ var w = $(window).width(); var dom = li.find('.full_screen_drop_down'); var l = li.offset().left; dom.css({ width:w + 'px', 'margin-left':l * -1 + 'px' }) dom.addClass('full_screen_drop_down_clone'); } }, created:function () { //鍒濆鍖栨暟鎹簮璧 try{ var style = JSON.stringify({"navCustomStyle":true,"styleId":"","styleChoicIndex":"","style":{"navBackground":"rgba(255,255,255,0)","navLiBackground":"rgba(255, 255, 255, 0)","navColor":"rgba(11, 10, 10, 1)","navBorderStyle":"none","navBorderColor":"#f00","navFontFamily":"Microsoft YaHei","navFontWeight":"normal","navFontAlign":"center","navOneWidth":133,"navWidth":706,"navHeight":50,"navFontSize":15,"navBorderRadius":0,"navMarginRight":0},"navSelectStyle":{"navSelectBackground":"rgba(28, 98, 176, 0)","navSelectColor":"rgba(28, 98, 176, 1)","navSelectFontSize":17},"dropDownStyle":{"dropDownBackground":"rgba(28, 98, 176, 1)","dropDownColor":"rgba(255, 255, 255, 1)","dropDownHeight":28,"dropDownFontSize":14,"dropDownBackgroundImage":"","isRepeat":"repeat","opacity":0.5},"dropDownSelectStyle":{"dropDownSelectBackground":"rgba(28, 98, 176, 1)","dropDownSelectColor":"rgba(255, 255, 255, 1)","dropDownSelectFontSize":12,"height":28,"opacity":1},"icon":{"position":"center-left","fontSize":12,"dropDownFontSize":12,"childIcon":"fa-chevron-right","color":"#fff"},"effectsObj":{"type":"","icon":"fa-adjust","iconSize":50,"iconColor":"#fff","changeSrc":"","borderStyle":"solid","borderWidth":1,"borderColor":"#ccc","deg":90,"zoom":1.5,"distance":20,"direction":"left-right"},"full_screen_drop_down":{"height":300,"background":"#f00","background_globalColor":"","col":6,"col_width":170,"class_title":{"color":"#fff","color_globalColor":"","select_color":"#666","select_color_globalColor":"","fontSize":16,"fontWeight":"normal","fontStyle":"normal","textDecoration":"none"},"list_title":{"num":6,"color":"#fff","color_globalColor":"","select_color":"#333","select_color_globalColor":"","fontSize":16,"fontWeight":"normal","fontStyle":"normal","textDecoration":"none"},"full_screen_drop_down":[]}}); if(style){ this.editVal = JSON.parse(style); } var listArr = JSON.stringify(); if(listArr){ this.listArr = JSON.parse(listArr); console.log('瀵艰埅鑿滃崟',this.listArr) } } catch(err){} //鑾峰彇閾炬帴锛屽尮閰?鍒嗗壊瀛楃涓 var urlId = window.location.pathname; }, ready:function () { var fontSize = this.editVal.icon.fontSize; var navIconPosition = this.editVal.icon.position; var tweLevelFontSize = this.editVal.icon.dropDownFontSize; var color = this.editVal.icon.color; this.iconFourStyle(fontSize,navIconPosition,tweLevelFontSize,color); this.hoverUlShow(); if(typeof templet!="undefined") { templet.checkaction(this); } } }); } } if( parseInt($.browser.version) === 8 ){ console.log('ie8') }else{ //鍙湁dom瀛樺湪锛屾墠缁戝畾js if(document.querySelector('#u467033')) { var num = 'u467033'; window['indexVm' + num] = new Vue({ el: "#u467033", data: { indexStore: {} }, watch: {}, computed: {}, methods: {}, created: function () { try { var StorageVal = {"allwidth":200,"allheight":100,"themes":"monokai","codeHtml":"","codeCss":"#u599533 .indexCustom .menumenu li:hover{\nborder-bottom:2px solid #1C62B0;\n}","codeJs":"","effectsObj":{"type":"","icon":"fa-adjust","iconSize":50,"iconColor":"#fff","changeSrc":"","borderStyle":"solid","borderWidth":1,"borderColor":"#ccc","deg":90,"zoom":1.5,"distance":20,"direction":"left-right"}}; if (StorageVal != null) { this.indexStore = StorageVal; } //console.log('ie8',JSON.stringify(this.indexStore)) } catch (e) { } }, ready: function () { var _this = this; try { (function () { if (!_this.indexStore.codeJs) { return; } eval(_this.indexStore.codeJs) })(); } catch (e) { console.log('楂樼骇浠g爜JS閮ㄥ垎鎶ラ敊', e) } } }); } } //