if('1' == '0' || '1' == '0'){ //鏍峰紡1 var ad = new AdMove("u432281"); $('#u432281').css('zIndex','999999'); var times = '10' || '10' ad.Run(parseInt(times)); //鍏抽棴鐐瑰嚮浜嬩欢 $("#u432281 #open_page").on('click',function(){ $('#u432281').css("display","none"); }); }; if( parseInt($.browser.version) === 8 ){ console.log('ie8') }else { //鍙湁dom瀛樺湪锛屾墠缁戝畾js if (document.querySelector('#u432281')) { ;var num = 'u432281'; window['indexVm' + num] = new Vue({ el: "#u432281", 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娆㈣繋璁块棶娣卞湷姝e疄鑷姩鍖栬澶囨湁闄愬叕鍙哥綉绔欙紒鍏ㄥ浗鐑嚎鐢佃瘽锛欬span style=\"color:#009900;\">0755-36698520 绔欑偣鍦板浘 \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","animation_countsss":1,"widget_loading":"鍩虹","widget_loading_li":"鏃犲姩鐢?,"widget_animateds":"","widget_scroll_loading_checked":false,"widget_scroll_loading":false,"widget_scroll_loading_location_checked":false,"widget_scroll_loading_location":false,"widget_scroll_loading_location_height":0,"pic_iteration_checked2":false,"pic_iteration2":"no","animation_durasss":1,"animation_delaysss":0,"effectsObj":{"type":"","icon":"fa-adjust","iconSize":50,"iconColor":"#fff","changeSrc":"","borderStyle":"solid","borderWidth":1,"borderColor":"#ccc","deg":90,"zoom":1.5,"distance":20,"direction":"left-right"},"isShows":false,"editBc":"#fff","width":938,"height":35}; 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 { $('#u432281').css({ 'position': 'fixed', 'zIndex': '999999' }); } catch (e) { } ; } //鎸備欢鍔ㄧ敾 try { $.allWidgetAnimate(this, $('#u432281')); } catch (e) { } ; }, ready: function () { if (this.indexStore.custom_pos_style === '2') { var t = setTimeout(function () { try { $("#u432281").draggable(); $("#u432281").draggable("disable"); } catch (e) { } clearTimeout(t); }, 500); } else if (this.indexStore.custom_pos_style === '1') { setTimeout(function () { try { $("#u432281").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('#u348350')){ ;var num = 'u348350'; window['indexVm'+num] = new Vue({ el:'#u348350', data:{ indexStore:{ }, infos:{ }, dataArr:{ }, inforLentgh:'', indexShow:false }, computed:{ lanImg:function(){ return { width:this.indexStore.w_language_img_width + 'px', height:this.indexStore.w_language_img_height + 'px', position:'absolute', left:this.indexStore.w_language_img_left + 'px', top:this.indexStore.w_language_img_top + 'px', display:this.indexStore.w_language_img_show, borderRadius:this.indexStore.w_language_img_border_radius + 'px' }; }, style2:function(){ return { width:this.indexStore.w_languageWidth + 'px', height:this.indexStore.w_languageHeight + 'px', fontSize:this.indexStore.w_minbeds + 'px', color:this.indexStore.w_fontColor, paddingLeft:this.indexStore.w_style2_padding_left + 'px', background:this.indexStore.w_inputColor, borderRadius:this.indexStore.w_style2_border_radius + 'px' }; }, style1:function(){ return { width:this.indexStore.w_languageWidth + 'px', height:this.indexStore.w_languageHeight + 'px', marginLeft:'2px' }; }, style1li:function(){ return { float:this.indexStore.w_style1_float, width:this.indexStore.w_style1_languageWidth + 'px', height:this.indexStore.w_style1_languageHeight + 'px', lineHeight:this.indexStore.w_style1_languageHeight + 'px', background:this.indexStore.w_inputColor, borderRadius:this.indexStore.w_style1_border_radius + 'px', textAlign:this.indexStore.w_style1_text_align, paddingTop:this.indexStore.w_style1_padding_top + 'px', paddingRight:this.indexStore.w_style1_padding_right + 'px', paddingBottom:this.indexStore.w_style1_padding_bottom + 'px', paddingLeft:this.indexStore.w_style1_padding_left + 'px', marginTop:this.indexStore.w_style1_margin_top + 'px', marginRight:this.indexStore.w_style1_margin_right + 'px', marginBottom:this.indexStore.w_style1_margin_bottom + 'px', marginLeft:this.indexStore.w_style1_margin_left + 'px', borderStyle:this.indexStore.language_a_border_all_styles, borderColor:this.indexStore.language_a_border_all_color, borderWidth:this.indexStore.language_a_border_all_width + 'px', position:'relative', }; }, style1af:function(){ return { display:this.indexStore.w_language_txt_show, fontSize:this.indexStore.w_minbeds + 'px', color:this.indexStore.w_fontColor, width:this.indexStore.w_style1_a_width + 'px', height:this.indexStore.w_style1_a_height + 'px', lineHeight:this.indexStore.w_style1_a_height + 'px', borderLeftStyle:this.indexStore.language_a_border_first_left_styles, borderLeftColor:this.indexStore.language_a_border_first_left_color, borderLeftWidth:this.indexStore.language_a_border_first_left_width + 'px', borderRightStyle:this.indexStore.language_a_border_first_right_styles, borderRightColor:this.indexStore.language_a_border_first_right_color, borderRightWidth:this.indexStore.language_a_border_first_right_width + 'px', }; }, style1a:function(){ return { display:this.indexStore.w_language_txt_show, fontSize:this.indexStore.w_minbeds + 'px', color:this.indexStore.w_fontColor, width:this.indexStore.w_style1_a_width + 'px', height:this.indexStore.w_style1_a_height + 'px', lineHeight:this.indexStore.w_style1_a_height + 'px', borderLeftStyle:this.indexStore.language_a_border_other_left_styles, borderLeftColor:this.indexStore.language_a_border_other_left_color, borderLeftWidth:this.indexStore.language_a_border_other_left_width + 'px', borderRightStyle:this.indexStore.language_a_border_other_right_styles, borderRightColor:this.indexStore.language_a_border_other_right_color, borderRightWidth:this.indexStore.language_a_border_other_right_width + 'px', }; }, style1as:function(){ return { display:this.indexStore.w_language_txt_show, fontSize:this.indexStore.w_minbeds + 'px', width:this.indexStore.w_style1_a_width + 'px', height:this.indexStore.w_style1_a_height + 'px', lineHeight:this.indexStore.w_style1_a_height + 'px', color:this.indexStore.w_fontColor, borderLeftStyle:this.indexStore.language_a_border_last_left_styles, borderLeftColor:this.indexStore.language_a_border_last_left_color, borderLeftWidth:this.indexStore.language_a_border_last_left_width + 'px', borderRightStyle:this.indexStore.language_a_border_last_right_styles, borderRightColor:this.indexStore.language_a_border_last_right_color, borderRightWidth:this.indexStore.language_a_border_last_right_width + 'px', }; } }, methods:{ boders:function(){ if (this.indexStore.language_a_border_right_show === 'show') { return "#f00" }else{ return '#f0f' } }, txtArr:function (arr) { var _this = this; if (!this.indexStore.txt_arr.length) { this.indexStore.txt_arr.length = 0; $.each(arr,function (index,item) { _this.indexStore.txt_arr.push(item.lang); }); } _this.indexStore.txt_arr_str = _this.indexStore.txt_arr.join(','); }, useOri:function(obj){ var arr = []; $.each(obj,function(index,item){ console.log('ie8',item.lang); arr.push(item.lang) }); return arr; } }, created:function(){ try{ //JSON.stringify var StorageVal = JSON.parse(JSON.stringify({"w_language_img":"http://txysen015.nbseo.cn/site/themes/T-XYSEN015/images/ch_ico.jpg,http://txys015.nbseo.cn/site/themes/T-XYS015/images/en_ico.png,http://txys015.nbseo.cn/site/themes/T-XYS015/images/en_ico.png","img_obj":["/static/image/graphicInfo/style-bg.png","/static/image/graphicInfo/style-bg.png","/static/image/graphicInfo/style-bg.png","/static/image/graphicInfo/style-bg.png","/static/image/graphicInfo/style-bg.png"],"w_language_img_show":"none","w_language_txt_show":"block","w_language_img_width":30,"w_language_img_height":30,"w_language_img_left":0,"w_language_img_top":0,"w_language_img_border_radius":0,"w_languageHeight":"40","w_languageWidth":"60","w_minbeds":18,"w_filletRadius":4,"w_languageFont":"SimHei","w_fontColor":"#ffffff","w_borderColor":"#666","w_inputColor":"#7ecc97","w_languageStyle":"1","w_style2_padding_left":0,"w_style2_border_radius":0,"w_style1_border_radius":0,"w_style1_float":"left","w_style1_languageWidth":100,"w_style1_languageHeight":50,"w_style1_line_height":30,"w_style1_padding_top":15,"w_style1_padding_right":0,"w_style1_padding_bottom":0,"w_style1_padding_left":0,"w_style1_margin_top":0,"w_style1_margin_right":0,"w_style1_margin_bottom":0,"w_style1_margin_left":0,"w_a_hover_font_color":"#000000","w_a_hover_bc_color":"#f0f","w_style1_text_align":"center","language_a_border_all_styles":"solid","language_a_border_all_color":"#000","language_a_border_all_width":0,"w_style1_a_width":100,"w_style1_a_height":20,"language_a_border_right_show":"show","language_a_border_first_left_styles":"solid","language_a_border_first_left_color":"#000","language_a_border_first_left_width":0,"language_a_border_first_right_styles":"solid","language_a_border_first_right_color":"#000","language_a_border_first_right_width":1,"language_a_border_last_left_styles":"solid","language_a_border_last_left_color":"#000","language_a_border_last_left_width":0,"language_a_border_last_right_styles":"solid","language_a_border_last_right_color":"#000","language_a_border_last_right_width":0,"language_a_border_other_left_styles":"solid","language_a_border_other_left_color":"#000","language_a_border_other_left_width":0,"language_a_border_other_right_styles":"solid","language_a_border_other_right_color":"#000","language_a_border_other_right_width":1,"styleId":"w4444","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; } if(''){ this.infos = JSON.parse(''); } //console.log('ie8',JSON.stringify(StorageVal)) //var listArr = '{"txt_arr":[],"txt_arr_str":"","img_items":null}'; var listArr = JSON.parse(JSON.stringify({"txt_arr":[],"txt_arr_str":"","img_items":null})); if(listArr != null){ if(listArr === ''){ //鍏煎涔嬪墠鐨勬寕浠 鍥犱负鏁版嵁婧愭洿鏀 瀵艰嚧鍘熷鎸備欢鏃犳暟鎹 浣跨敤榛樿鍘熷鏁版嵁 var arr = this.useOri(this.infos); this.$set('dataArr.txt_arr',arr) }else{ this.dataArr = JSON.parse(listArr); } } }catch(e){} this.$set('inforLentgh',Object.keys(this.infos).length); /** * 鍏煎 */ if (!this.indexStore.img_obj) { this.indexStore.w_language_img = 'http://txysen015.nbseo.cn/site/themes/T-XYSEN015/images/ch_ico.jpg,http://txys015.nbseo.cn/site/themes/T-XYS015/images/en_ico.png,http://txys015.nbseo.cn/site/themes/T-XYS015/images/en_ico.png,http://txys015.nbseo.cn/site/themes/T-XYS015/images/en_ico.png,http://txys015.nbseo.cn/site/themes/T-XYS015/images/en_ico.png'; this.indexStore.img_obj = ['https://xcx05.71360.com//static/image/graphicInfo/style-bg.png','https://xcx05.71360.com//static/image/graphicInfo/style-bg.png','https://xcx05.71360.com//static/image/graphicInfo/style-bg.png','https://xcx05.71360.com//static/image/graphicInfo/style-bg.png','https://xcx05.71360.com//static/image/graphicInfo/style-bg.png']; this.indexStore.w_language_img_show = 'none'; this.indexStore.w_language_img_width = 30; this.indexStore.w_language_img_height = 30; this.indexStore.w_language_img_left = 0; this.indexStore.w_language_img_top = 0; this.indexStore.w_language_img_border_radius = 0; } if (!this.indexStore.w_language_txt_show) { this.indexStore.w_language_txt_show = 'block'; } if (!this.indexStore.txt_arr) { this.indexStore.txt_arr = []; this.indexStore.txt_arr_str = ''; } this.txtArr(this.infos); console.log('this.infos','http://txysen015.nbseo.cn/site/themes/T-XYSEN015/images/ch_ico.jpg,http://txys015.nbseo.cn/site/themes/T-XYS015/images/en_ico.png,http://txys015.nbseo.cn/site/themes/T-XYS015/images/en_ico.png') console.log('this.infos','/static/image/graphicInfo/style-bg.png') console.log('this.infos','/static/image/graphicInfo/style-bg.png') }, ready:function(){ if(typeof templet!="undefined"){ templet.checkaction(this); } } }); } } if( parseInt($.browser.version) === 8 ){ }else{ var num = 'u12844'; //鍙湁dom瀛樺湪锛屾墠缁戝畾js if(document.querySelector('#u12844')){ window['indexVm' + num] = new Vue({ el: "#u12844", 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 = {"img_title":"","allwidth":200,"allheight":200,"isNewPage":true,"picStyle":"0","picture_width":60,"picture_height":20,"picture_border_radius":0,"imgUrl":"https://cmsimg01.71360.com/data/20200211/11u3175/public/2020021116363851121.png","imgUrl_hover":"","effectNum":0,"animatedType":"stylejs","linksStyle":"self","linksUrl":"tencent://message/?uin=1077321622&Site=sc.chinaz.com&Menu=yes","openStyle":"_blank","is_lazy":"false","effectsObj":{"type":"","icon":"fa-adjust","iconSize":50,"iconColor":"#fff","iconColor_globalColor":"","changeSrc":"","borderStyle":"solid","borderWidth":1,"borderColor":"#ccc","borderColor_globalColor":"","deg":90,"zoom":1.5,"distance":20,"direction":"left-right","time":300}}; if (StorageVal != null) { this.indexStore = StorageVal; } }catch(e){} }, ready: function() { if (typeof templet != "undefined") { templet.checkaction(this); } // 鎮诞 $('#u12844 div.graphic_position').hover(function () { $('#u12844 div.graphic_position img').eq(0).hide(); $('#u12844 div.graphic_position img').stop().eq(1).fadeIn(300); },function () { $('#u12844 div.graphic_position img').eq(1).hide(); $('#u12844 div.graphic_position img').stop().eq(0).fadeIn(300); }); } }); } } if( parseInt($.browser.version) === 8 ){ }else{ var num = 'u603873'; //鍙湁dom瀛樺湪锛屾墠缁戝畾js if(document.querySelector('#u603873')){ window['indexVm' + num] = new Vue({ el: "#u603873", 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 = {"img_title":"","allwidth":200,"allheight":200,"isNewPage":true,"picStyle":"0","picture_width":60,"picture_height":20,"picture_border_radius":0,"imgUrl":"https://cmsimg01.71360.com/data/20200211/11u3175/public/2020021116363819106.png","imgUrl_hover":"","effectNum":0,"animatedType":"stylejs","linksStyle":"self","linksUrl":"tencent://message/?uin=1077321622&Site=sc.chinaz.com&Menu=yes","openStyle":"_blank","is_lazy":"false","effectsObj":{"type":"","icon":"fa-adjust","iconSize":50,"iconColor":"#fff","iconColor_globalColor":"","changeSrc":"","borderStyle":"solid","borderWidth":1,"borderColor":"#ccc","borderColor_globalColor":"","deg":90,"zoom":1.5,"distance":20,"direction":"left-right","time":300}}; if (StorageVal != null) { this.indexStore = StorageVal; } }catch(e){} }, ready: function() { if (typeof templet != "undefined") { templet.checkaction(this); } // 鎮诞 $('#u603873 div.graphic_position').hover(function () { $('#u603873 div.graphic_position img').eq(0).hide(); $('#u603873 div.graphic_position img').stop().eq(1).fadeIn(300); },function () { $('#u603873 div.graphic_position img').eq(1).hide(); $('#u603873 div.graphic_position img').stop().eq(0).fadeIn(300); }); } }); } } if( parseInt($.browser.version) === 8 ){ console.log('ie8') }else{ //鍙湁dom瀛樺湪锛屾墠缁戝畾js if(document.querySelector('#u740047')){ var num = 'u740047'; window['indexVm'+num] = new Vue({ el:'#u740047', data:{ indexStore:{ }, indexShow:false }, methods:{ vif:function(v){ // return this.indexStore.switchArr[v] =='true' ? true : false; } }, computed:{ vifs:function(){ return { width:this.indexStore.w_flinks_pic_width + 'px', height:this.indexStore.w_flinks_pic_height + 'px', left:this.indexStore.w_flinks_pic_left + 'px', top:this.indexStore.w_flinks_pic_top + 'px', position:'absolute', zIndex: 99 } }, spanConi:function(){ return { left:this.indexStore.w_flinks_icon_left + 'px', top:this.indexStore.w_flinks_icon_top + 'px', position:'absolute', fontFamily:"Ionicons" } }, spanCon:function(){ return { width:this.indexStore.w_flinks_width + 'px', height:this.indexStore.w_flinks_height + 'px', lineHeight:this.indexStore.w_flinks_height + 'px', textAlign:this.indexStore.w_flink_text_align, background:this.indexStore.w_flinks_bc_color, color:this.indexStore.w_flinks_font_color, fontSize:this.indexStore.w_flinks_font_size + 'px', borderRadius:this.indexStore.w_flinks_border_radius + 'px', position:'relative' } }, listyles:function(){ return { float:this.indexStore.w_link_dir, position:'relative' } }, astylesFir:function(){ return { color:this.indexStore.w_link_color_first, fontSize:this.indexStore.w_link_fs_first + 'px', backgroundColor:this.indexStore.w_link_bg_color_first, fontWeight:this.indexStore.w_link_bold_first, position:'relative', width:this.indexStore.w_color_width_first + 'px', height:this.indexStore.w_color_height_first + 'px', lineHeight:this.indexStore.w_color_height_first + 'px', textAlign:this.indexStore.w_link_text_align_first, display:'block', textDecoration:this.indexStore.w_link_decoration_link, marginTop:this.indexStore.w_link_first_mt + 'px', marginRight:this.indexStore.w_link_first_mr + 'px', marginBottom:this.indexStore.w_link_first_mb + 'px', marginLeft:this.indexStore.w_link_first_ml + 'px', paddingLeft:this.indexStore.w_link_first_pl + 'px', paddingRight:this.indexStore.w_link_first_pr + 'px', paddingTop:this.indexStore.w_link_first_pt + 'px', paddingBottom:this.indexStore.w_link_first_pb + 'px', borderTopStyle:this.indexStore.w_link_border_top_border_style, borderTopColor:this.indexStore.w_link_border_top_border_color, borderTopWidth:this.indexStore.w_link_border_top_border_width + 'px', borderRightStyle:this.indexStore.w_link_border_right_border_style, borderRightColor:this.indexStore.w_link_border_right_border_color, borderRightWidth:this.indexStore.w_link_border_right_border_width + 'px', borderBottomStyle:this.indexStore.w_link_border_bottom_border_style, borderBottomColor:this.indexStore.w_link_border_bottom_border_color, borderBottomWidth:this.indexStore.w_link_border_bottom_border_width + 'px', borderLeftStyle:this.indexStore.w_link_border_left_border_style, borderLeftColor:this.indexStore.w_link_border_left_border_color, borderLeftWidth:this.indexStore.w_link_border_left_border_width + 'px', } }, astyles:function(){ return { color:this.indexStore.w_link_color, fontSize:this.indexStore.w_link_fs + 'px', backgroundColor:this.indexStore.w_link_bg_color, fontWeight:this.indexStore.w_link_bold, position:'relative', paddingTop:this.indexStore.w_link_filltop + 'px', paddingRight:this.indexStore.w_link_fillr + 'px', paddingBottom:this.indexStore.w_link_fillbtm + 'px', paddingLeft:this.indexStore.w_link_fillleft + 'px', width:this.indexStore.w_color_width + 'px', height:this.indexStore.w_color_height + 'px', lineHeight:this.indexStore.w_color_height + 'px', textAlign:this.indexStore.w_link_text_align, display:'block', textDecoration:this.indexStore.w_link_decoration_link, borderTopStyle:this.indexStore.w_link_border_top_border_style, borderTopColor:this.indexStore.w_link_border_top_border_color, borderTopWidth:this.indexStore.w_link_border_top_border_width + 'px', borderRightStyle:this.indexStore.w_link_border_right_border_style, borderRightColor:this.indexStore.w_link_border_right_border_color, borderRightWidth:this.indexStore.w_link_border_right_border_width + 'px', borderBottomStyle:this.indexStore.w_link_border_bottom_border_style, borderBottomColor:this.indexStore.w_link_border_bottom_border_color, borderBottomWidth:this.indexStore.w_link_border_bottom_border_width + 'px', borderLeftStyle:this.indexStore.w_link_border_left_border_style, borderLeftColor:this.indexStore.w_link_border_left_border_color, borderLeftWidth:this.indexStore.w_link_border_left_border_width + 'px', marginLeft:this.indexStore.w_link_margin_left + 'px', marginRight:this.indexStore.w_link_margin_right + 'px', marginTop:this.indexStore.w_link_margin_top + 'px', marginBottom:this.indexStore.w_link_margin_bottom + 'px', } }, istyles:function(){ return { color:this.indexStore.w_icon_color, fontSize:this.indexStore.w_color_fs + 'px', paddingTop:this.indexStore.w_icon_filltop + 'px', paddingRight:this.indexStore.w_icon_fillr + 'px', paddingBottom:this.indexStore.w_icon_fillbtm + 'px', paddingLeft:this.indexStore.w_icon_fillleft + 'px', position:'absolute', left:this.indexStore.icon_pos_left, top:this.indexStore.icon_pos_top, fontFamily:"FontAwesome" } } }, watch:{ indexStore:{ handler:function(a,b){ }, deep:true } }, created:function(){ try{ var StorageVal = JSON.stringify({"w_link_decoration_link":"none","w_link_decoration_visited":"none","w_link_decoration_hover":"none","w_link_decoration_active":"none","icon_pos_left":0,"icon_pos_top":0,"w_icon_fillr":0,"w_icon_fillleft":0,"w_icon_fillbtm":0,"w_icon_filltop":0,"w_link_fillleft":0,"w_link_fillr":0,"w_link_fillbtm":0,"w_link_filltop":0,"w_link_family":"SimSun","w_link_bold":"normal","w_link_fs":12,"w_link_dir":"left","w_color_fs":12,"w_icon_color":"#f00","w_link_bg_color":"rgba(255, 255, 255, 1)","w_link_bg_hover_color":"rgba(255, 255, 0, 1)","w_link_color":"rgba(51, 51, 51, 1)","w_link_hover_color":"rgba(0, 255, 0, 1)","clickName":0,"cityList":[{"linkTitles":"link_title1","linkLinks":"link_href1","linkTargets":"link_target1","linkAddPic":"娣诲姞鍥?,"linkDelPic":"鍒犻櫎鍥?,"imgalt":"imgalt1","imgUrl":"data/u12331/public/201803/20180302/2018030217182652144.jpg","isShowPic":"false","isShowPics":"isShowPics1","imgUrls":"imgUrls1","linkDeletes":"鍒犻櫎琛?}],"cityLists":[{"title":"","href":"JavaScript:void(0)","target":"_self","iconCLass":"","imgalt":"","isShowPic":"false","isShowPics":"true","imgUrls":"https://cmsimg01.71360.com/data/20200429/11u3175/public/2020042917015251381.png","backgroundImage":"https://cmsimg01.71360.com/data/20200211/11u3175/public/2020021117015631668.png","backgroundImageHover":"https://cmsimg01.71360.com/data/20200211/11u3175/public/2020021117015631668.png"}],"rowNumber":1,"isShowWarn":false,"widget":"","links_styles":"0","w_color_width":80,"w_color_height":40,"w_link_text_align":"center","w_flinks_width":180,"w_flinks_height":50,"w_flink_text_align":"center","w_flinks_bc_color":"#ccc","w_flinks_font_color":"#0f0","w_flinks_con":"鍙嬫儏閾炬帴","w_links_emit_styles":"click","w_flinks_font_size":18,"w_links_sport_time":1000,"w_links_sport_styles":"slide","w_flinks_icon_left":20,"w_flinks_icon_top":20,"w_flinks_border_radius":0,"imgUrls":["data/u12331/public/201803/20180302/2018030217182652144.jpg"],"switchArr":["false"],"w_flinks_pic_width":120,"w_flinks_pic_height":120,"w_flinks_pic_left":0,"w_flinks_pic_top":30,"w_link_bold_first":"normal","w_link_text_align_first":"right","w_link_color_first":"rgba(255, 255, 255, 1)","w_link_hover_color_first":"rgba(255, 255, 255, 1)","w_link_bg_color_first":"rgba(255, 255, 255, 0)","w_link_bg_hover_color_first":"rgba(255, 255, 255, 0)","w_color_width_first":22,"w_color_height_first":22,"w_link_fs_first":14,"w_link_open_first_set":"1","w_link_margin_left":0,"w_link_margin_right":0,"w_link_margin_top":0,"w_link_margin_bottom":0,"w_link_border_top_border_style":"solid","w_link_border_top_border_color":"rgba(0, 0, 0, 1)","w_link_border_top_border_width":0,"w_link_border_right_border_style":"solid","w_link_border_right_border_color":"rgba(0, 0, 0, 1)","w_link_border_right_border_width":0,"w_link_border_bottom_border_style":"solid","w_link_border_bottom_border_color":"rgba(0, 0, 0, 1)","w_link_border_bottom_border_width":0,"w_link_border_left_border_style":"solid","w_link_border_left_border_color":"rgba(0, 0, 0, 1)","w_link_border_left_border_width":0,"w_link_hover_border_top_border_style":"solid","w_link_hover_border_top_border_color":"rgba(0, 0, 0, 1)","w_link_hover_border_top_border_width":0,"w_link_hover_border_right_border_style":"solid","w_link_hover_border_right_border_color":"rgba(0, 0, 0, 1)","w_link_hover_border_right_border_width":0,"w_link_hover_border_bottom_border_style":"solid","w_link_hover_border_bottom_border_color":"rgba(0, 0, 0, 1)","w_link_hover_border_bottom_border_width":0,"w_link_hover_border_left_border_style":"solid","w_link_hover_border_left_border_color":"rgba(0, 0, 0, 1)","w_link_hover_border_left_border_width":0,"w_color_lineheight":40,"w_link_first_mt":0,"w_link_first_mb":0,"w_link_first_ml":0,"w_link_first_mr":0,"w_link_first_pt":0,"w_link_first_pb":0,"w_link_first_pl":0,"w_link_first_pr":0,"animation_countsss":1,"widget_loading":"鍩虹","widget_loading_li":"鏃犲姩鐢?,"widget_animateds":"","widget_scroll_loading_checked":false,"widget_scroll_loading":false,"widget_scroll_loading_location_checked":false,"widget_scroll_loading_location":false,"widget_scroll_loading_location_height":0,"pic_iteration_checked2":false,"pic_iteration2":"no","animation_durasss":1,"animation_delaysss":0,"link_title1":"寰俊鍏紬鍙?,"link_target1":"_blank","isShowPics1":"true","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"},"width":100,"height":44,"w_link_first_br":0,"w_link_second_br":0,"allwidth":22,"allheight":22,"w_firlink_border_top_border_style":"solid","w_firlink_border_top_border_color":"rgba(0, 0, 0, 1)","w_firlink_border_top_border_width":0,"w_firlink_border_right_border_style":"solid","w_firlink_border_right_border_color":"rgba(0, 0, 0, 1)","w_firlink_border_right_border_width":0,"w_firlink_border_bottom_border_style":"solid","w_firlink_border_bottom_border_color":"rgba(0, 0, 0, 1)","w_firlink_border_bottom_border_width":0,"w_firlink_border_left_border_style":"solid","w_firlink_border_left_border_color":"rgba(0, 0, 0, 1)","w_firlink_border_left_border_width":0,"w_firlink_hover_border_top_border_style":"solid","w_firlink_hover_border_top_border_color":"rgba(0, 0, 0, 1)","w_firlink_hover_border_top_border_width":0,"w_firlink_hover_border_right_border_style":"solid","w_firlink_hover_border_right_border_color":"rgba(0, 0, 0, 1)","w_firlink_hover_border_right_border_width":0,"w_firlink_hover_border_bottom_border_style":"solid","w_firlink_hover_border_bottom_border_color":"rgba(0, 0, 0, 1)","w_firlink_hover_border_bottom_border_width":0,"w_firlink_hover_border_left_border_style":"solid","w_firlink_hover_border_left_border_color":"rgba(0, 0, 0, 1)","w_firlink_hover_border_left_border_width":0,"isShows":false,"w_color_lineheight_first":20,"styleId":2461}); if(StorageVal != null){ this.indexStore = JSON.parse(StorageVal); } }catch(e){} if(this.indexStore.links_styles == '0' || '0' == '0'){ //鏍峰紡1 $('#u740047 #links_a ul li').hover(function(){ $(this).find('img').show(); },function(){ $(this).find('img').hide(); }); $('#u740047 #links_a ul li a').hover(function(){ $(this).css('color','' || 'rgba(0, 255, 0, 1)'); },function(){ $(this).css('color','' || 'rgba(51, 51, 51, 1)'); }); var w_link_open_first_set = '' || '1'; $('#u740047 #links_a ul li a:first').hover(function(){ if (w_link_open_first_set == '1') { $(this).css('color','' || 'rgba(255, 255, 255, 1)'); }else{ $(this).css('color','' || 'rgba(0, 255, 0, 1)'); } },function(){ if (w_link_open_first_set == '1'){ $(this).css('color','' || 'rgba(255, 255, 255, 1)'); }else{ $(this).css('color','' || 'rgba(51, 51, 51, 1)'); } }); }else if(this.indexStore.links_styles == '1' || '0' == '1'){ //鏍峰紡2 var objs = { w_links_emit_styles:'' || 'click', w_links_sport_time:'' || '1000', w_links_sport_styles:'' || 'slide', w_link_hover_color:'' || 'rgba(0, 255, 0, 1)', w_link_color:'' || 'rgba(51, 51, 51, 1)' } $('#u740047 #links_a ul li a ').hover(function(){ $(this).css('color',objs.w_link_hover_color); },function(){ $(this).css('color',objs.w_link_color); }); if (objs.w_links_emit_styles == 'click') { $('#u740047 #links_a #flinks').off(); $('#u740047 #links_a #flinks').on('click',function(){ if (objs.w_links_sport_styles == 'slide') { $('#u740047 #links_a ul').stop(true,true).slideToggle(parseInt(objs.w_links_sport_time)); }else{ $('#u740047 #links_a ul').stop(true,true).fadeToggle(parseInt(objs.w_links_sport_time)); } $('#u740047 #links_a #flinks i').toggleClass('flinksi'); if ($('#u740047 #links_a #flinks i').hasClass('flinksi')) { $('#u740047 #links_a #flinks i').css('transform','rotate(180deg)'); }else{ $('#u740047 #links_a #flinks i').css('transform','rotate(360deg)'); } }); }else{ $('#u740047 #links_a #flinks').off(); $('#u740047 #links_a').hover(function(){ if (objs.w_links_sport_styles == 'slide') { $('#u740047 #links_a ul').stop(true,true).slideDown(parseInt(objs.w_links_sport_time)); $('#u740047 #links_a #flinks i').css('transform','rotate(180deg)'); }else{ $('#u740047 #links_a ul').stop(true,true).fadeIn(parseInt(objs.w_links_sport_time)); $('#u740047 #links_a #flinks i').css('transform','rotate(180deg)'); } },function(){ if (objs.w_links_sport_styles == 'slide') { $('#u740047 #links_a ul').stop(true,true).slideUp(parseInt(objs.w_links_sport_time)); $('#u740047 #links_a #flinks i').css('transform','rotate(0deg)'); }else{ $('#u740047 #links_a ul').stop(true,true).fadeOut(parseInt(objs.w_links_sport_time)); $('#u740047 #links_a #flinks i').css('transform','rotate(0deg)'); } }); } }else if(this.indexStore.links_styles == '2' || '0' == '2'){ //鏍峰紡3 var objs = { w_links_emit_styles:'' || 'click', w_links_sport_time:'' || '1000' , w_links_sport_styles:'' || 'slide', w_link_hover_color:'' || 'rgba(0, 255, 0, 1)', w_link_color:'' || 'rgba(51, 51, 51, 1)', is_hover_leave:false } $('#u740047 #links_a ul li a ').hover(function(){ $(this).css('color',objs.w_link_hover_color); },function(){ $(this).css('color',objs.w_link_color); }); $('#u740047 #links_a > #flinks').hover(function(){ $('#u740047 #links_a ul').css('transform','scale(1)').css('opacity',1); $('#u740047 #links_a #flinks i').css('transform','rotate(180deg)'); objs.is_hover_leave = false; },function(){ objs.is_hover_leave = true; setTimeout(function(){ if (objs.is_hover_leave) { $('#u740047 #links_a ul').css('transform','scale(0.00001)').css('opacity',0); $('#u740047 #links_a #flinks i').css('transform','rotate(0deg)'); } },200); }); $('#u740047 #links_a > ul').hover(function(){ $('#u740047 #links_a ul').css('transform','scale(1)').css('opacity',1); objs.is_hover_leave = false; },function(){ objs.is_hover_leave = true; setTimeout(function(){ if (objs.is_hover_leave) { $('#u740047 #links_a ul').css('transform','scale(0.00001)').css('opacity',0); $('#u740047 #links_a #flinks i').css('transform','rotate(0deg)'); } },200); }); } //鎸備欢鍔ㄧ敾 try{ $.allWidgetAnimate(this,$('#u740047')); }catch(e){}; }, ready:function(){ console.log('閾炬帴缁勪欢鐗堟湰锛?019-03-11') if(typeof templet!="undefined"){ templet.checkaction(this); } $.each($('#u740047 #links_a a'), function(index, item) { //闃叉椤甸潰鏃犵紭澧炲姞绌洪摼鎺 褰卞搷鏍峰紡 if ($(item).attr('href') === '' && $(item).text().trim() === "") { $('#u740047 #links_a a').eq(index).hide() } }); //閾炬帴鐨勯粯璁よ儗鏅浘鐗囧拰鎮诞鑳屾櫙鍥剧墖澶勭悊 $('#u740047 #links_a a').hover(function(){ var hoverImg = $(this).data('hoverimg'); if(hoverImg){ $(this).css('backgroundImage','url('+hoverImg+')') }else{ //鑻ユ槸娌℃湁鎮诞鑳屾櫙鍥剧墖 鐩存帴绉婚櫎 鏄剧ず鑳屾櫙棰滆壊 $(this).css('backgroundImage','') } },function(){ var defaultImg = $(this).data('defaultimg'); if(defaultImg){ $(this).css('backgroundImage','url('+defaultImg+')') } }) } }); } } //