if( parseInt($.browser.version) === 8 ){ console.log('ie8') }else{ //只有dom存在,才绑定js if(document.querySelector('#u773876')) { var num = 'u773876'; window['indexVm' + num] = new Vue({ el: "#u773876", data: { indexStore: {} }, watch: {}, computed: {}, methods: {}, created: function () { try { var StorageVal = {"allwidth":200,"allheight":19,"themes":"monokai","codeHtml":"","codeCss":".swiper-slide{margin-bottom:0!important;}\nbody{min-width:1200px;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('高级代码JS部分报错', e) } } }); } } if('' == '0' || '1' == '0'){ //样式1 var ad = new AdMove("u568074"); $('#u568074').css('zIndex','999999'); var times = '' || '10' ad.Run(parseInt(times)); //关闭点击事件 $("#u568074 #open_page").on('click',function(){ $('#u568074').css("display","none"); }); }; if( parseInt($.browser.version) === 8 ){ console.log('ie8') }else { //只有dom存在,才绑定js if (document.querySelector('#u568074')) { ;var num = 'u568074'; window['indexVm' + num] = new Vue({ el: "#u568074", 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经营销售各类起重机械产品\n\t

\n\t

\n\t\t服务邮箱:zhurong@gks-cn.com \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":337,"height":49,"fixedLeft":0,"fixedTop":0,"openShow":false,"isShows":false,"editBc":"#fff","effectsObj":{"type":"","icon":"fa-adjust","iconSize":50,"iconColor":"#fff","changeSrc":"","borderStyle":"solid","borderWidth":1,"borderColor":"#ccc","deg":90,"zoom":1.5,"distance":20,"direction":"left-right"}}; if (StorageVal != null) { this.indexStore = StorageVal; } } catch (e) { } // 兼容 if (!this.indexStore.is_hover) { this.indexStore.is_hover = '0'; this.indexStore.hover_color = "#000"; this.indexStore.hover_bc_color = "#fff"; } console.log('index', this.indexStore.custom_pos_style); //debugger; if (this.indexStore.custom_pos_style == '0') { //样式1 } else if (this.indexStore.custom_pos_style == '1') { //样式2 } else if (this.indexStore.custom_pos_style == '2') { //样式3 try { $('#u568074').css({ 'position': 'fixed', 'zIndex': '999999' }); } catch (e) { } ; } //挂件动画 try { $.allWidgetAnimate(this, $('#u568074')); } catch (e) { } ; }, ready: function () { if (this.indexStore.custom_pos_style === '2') { var t = setTimeout(function () { try { $("#u568074").draggable(); $("#u568074").draggable("disable"); } catch (e) { } clearTimeout(t); }, 500); } else if (this.indexStore.custom_pos_style === '1') { setTimeout(function () { try { $("#u568074").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"; } } }); } } //