//=== viewid:dh_style_11_1551066852823 ===// /*pc,鎵嬫満鏄剧ず闅愯棌*/ function is_mobile(){ return window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767); } var is_mobile_boolean = is_mobile(); $(function(){ /*pc,鎵嬫満鏄剧ず闅愯棌*/ }) //=== viewid:dh_style_11_1551066852823 ===// function navSwtich(obj) { $(obj).siblings(".menuUlCopy").slideToggle(200); $(obj).toggleClass('ontoggle'); $(obj).parent().siblings().find(".menuUlCopy").slideUp(200); $(obj).parent().siblings().find(".fa-angle-down").removeClass('ontoggle'); } function subLeft_dh_style_11_1551066852823(){ $("#dh_style_11_1551066852823 .menuUl>li").each(function(){ $(this).find(".menuUl03").css("left",'100%'); }) } $(window).resize(function() { subLeft_dh_style_11_1551066852823(); }) $(function(){ $("#dh_style_11_1551066852823 .fa-navicon").click(function(){ $("#dh_style_11_1551066852823").addClass('clearTransform'); $("#dh_style_11_1551066852823 .menuUlCopy").each(function(){ $(this).siblings(".fa").show(); }) }) subLeft_dh_style_11_1551066852823(); $("#dh_style_11_1551066852823 .subBox").css("top",$("#dh_style_11_1551066852823 .menuUl_box").height()); if($("#dh_style_11_1551066852823 .menuUl").hasClass("noHover")){ var tabNum = 0; $("#dh_style_11_1551066852823 .menuUl>li").find(".Onsub").each(function(){ tabNum += 1; $(this).parent().attr("tabNum",tabNum) }) $("#dh_style_11_1551066852823 .menuUl>li .Onsub").mouseover(function(){ $("#dh_style_11_1551066852823 .subBox").show(); var index = $(this).parent().attr("tabNum"); $("#dh_style_11_1551066852823 .subBox .subItems").eq(index-1).fadeIn(100).siblings().hide(); $("#dh_style_11_1551066852823 .subBox .subMenuImgArea .subMenuImgCon").eq(0).fadeIn(100).siblings().hide(); }) $("#dh_style_11_1551066852823 .subBox").mouseleave(function(){ $(this).hide(); }); $("#dh_style_11_1551066852823 .menuUl>li .Nosub").mouseover(function(){ $("#dh_style_11_1551066852823 .subBox").hide(); }) //椋庢牸41 42 } }) //=== viewid:lang_style_13_1584449733825 ===// $(document).ready(function(){ }); //=== viewid:lang_style_13_1584449733825 ===// $('#lang_style_13_1584449733825 .lang_main').mousemove(function(){ $('#lang_style_13_1584449733825 .lang_content').show(); }).mouseout(function(){ $('#lang_style_13_1584449733825 .lang_content').hide(); }); //=== viewid:lang_style_13_1584451289291 ===// $('#lang_style_13_1584451289291 .lang_main').mousemove(function(){ $('#lang_style_13_1584451289291 .lang_content').show(); }).mouseout(function(){ $('#lang_style_13_1584451289291 .lang_content').hide(); }); //=== viewid:image_style_04_1551090775117 ===// $(function(){ let obj = $("#image_style_04_1551090775117"); let picItems = obj.find("li.imgItems"); let num = 0; let picBox; picItems.click(function(){ let topH = $(window).scrollTop(); let index = $(this).index(); let curPic = $(this).find(".theimgdiv").css("backgroundImage"); let curIcon,curIconStyle,curPicStyle; if(curPic){ curPic = curPic.replace('url(','').replace(')','').replaceAll('"','').replaceAll("'",''); curPicStyle = ''; curIcon = ''; curIconStyle = 'display:none;'; }else{ curPic = ''; curPicStyle = 'display:none;'; curIcon = $(this).find(".bbx-new-font").text(); curIconStyle = $(this).find(".bbx-new-font").attr('style'); } num = index; let html = "
"+curIcon+"
"; let picBoxhtml = $(html); //"+""+"涓轰簡韬插紑鍥剧墖寤舵椂鍔犺浇鐨勪唬鐮佹浛鎹 $("body").append(picBoxhtml); picBox = $(".imgShowBox"); pdSize(); //鍒ゆ柇涓嬩竴寮犲拰涓婁竴寮犳寜閽殑鏄剧ず if(picItems.length == 1){ $("body").find(".imgButton>.nextImg,.imgButton>.prevImg").css("visibility","hidden") } if(picItems.length-1 == $(this).index()){ $("body").find(".imgButton>.nextImg").css("visibility","hidden") } if($(this).index() == 0){ $("body").find(".imgButton>.prevImg").css("visibility","hidden") } //鍏抽棴 $("body").find(".imgButton>.closeShowPic").click(function(){ $(".imgShowBox").remove(); $("body").removeClass("pos_fixed"); $(window).scrollTop(topH); }); //涓嬩竴寮 $("body").find(".imgButton>.nextImg").click(function(){ $(".imgShowBox img").css("max-height","none"); let len = obj.find("li:has('.imgCont')").length; $(this).siblings().css("visibility","visible"); num++; if(num >= len){ num = len-1; } if(num == len-1){ $(this).css("visibility","hidden"); } curPics(); pdSize(); }); //涓婁竴寮 $("body").find(".imgButton>.prevImg").click(function(){ $(".imgShowBox img").css("max-height","none"); $(this).siblings().css("visibility","visible"); num--; if(num <= 0){ num = 0; $(this).css("visibility","hidden"); } curPics(); pdSize(); }); }); //鍒囨崲澶у浘 function curPics(){ let that = obj.find("li").eq(num); let curPic = that.find(".theimgdiv").css("backgroundImage"); let curIcon,curIconStyle,curPicStyle; let boxImg = picBox.find("img"); let boxIcon = picBox.find(".bbx-new-font"); if(curPic){ curPic = curPic.replace('url(','').replace(')','').replaceAll('"','').replaceAll("'",''); boxImg.attr("src",curPic); boxImg.show(0); boxIcon.hide(0); }else{ curIcon = that.find(".bbx-new-font").text(); curIconStyle = that.find(".bbx-new-font").attr('style'); boxIcon.text(curIcon); boxIcon.attr('style',curIconStyle); boxImg.hide(0); } } //鍒ゆ柇灞曞紑鏄剧ず鏁堟灉 function pdSize(){ let imgH = picBox.find("img").height(); let winH = $(window).height(); if(imgH>winH){ $("body").addClass("pos_fixed"); picBox.addClass("scroll"); picBox.animate({"scrollTop":"0px"},200); }else{ $("body").removeClass("pos_fixed"); picBox.removeClass("scroll"); $(".imgShowBox img").css("max-height","80%"); } } }) //=== viewid:qqol_style_01_1583726788186 ===// /* * *************************************************************** * 鐗囨鍒楄〃绫 */ function FragmentList(config) { this._default = { 'prefix':'fragment-', 'css':{} }; config = $.extend(true, this._default, config); this.config = config; this.list = []; this.object = $('
'); // 鎵ц閰嶇疆 this.init(config); } /* * 鍒濆鍖 */ FragmentList.prototype.init = function(config) { config.css && this.object.css(config.css); }; /* * 娣诲姞 */ FragmentList.prototype.append = function (fragment) { this.list.push(fragment); }; /* * 鑾峰彇jquery瀵硅薄 */ FragmentList.prototype.get = function () { this.object.addClass(this.config.prefix + 'list').children().remove(); for(var i = 0, len = this.list.length, html = ''; i < len; ++i) { html += this.list[i].html(); } return this.object.html(html); }; /* * 杈撳嚭 */ FragmentList.prototype.html = function () { return this.get().prop('outerHTML'); }; /* * *************************************************************** * 鐗囨绫 */ Fragment.prototype.prefix = 'fragment-'; function Fragment(config) { (!config.init || Util.prototype.type(config.init) != 'function') && (config.init = function () {}); !config.html && (config.html = '
'); this._default = { 'name':'item' }; config = $.extend(true, this._default, config); // 鍒涘缓jquery瀵硅薄 config.data && (config.html = Util.prototype.replace(config.html, Util.prototype.toArray(config.data))); this.object = $(config.html).addClass((config.name != 'item' ? this.prefix + 'item': '') + ' ' + this.prefix + config.name); config.init(this.object); delete config.html; // jquery瀵硅薄鍒涘缓鍚? config.html 涓嶅啀浣跨敤 this.config = config; // 鎵ц閰嶇疆 this.init(config); } /* * 澶嶅埗 */ Fragment.prototype.clone = function () { return new Fragment($.extend(true, {}, this.config)); }; /* * 鍒濆鍖 */ Fragment.prototype.init = function(config) { config.css && this.object.css(config.css); }; /* * 淇敼鏍峰紡 */ Fragment.prototype.css = function(css) { css && this.object.css(css); return this; }; /* * 杈撳嚭 */ Fragment.prototype.html = function () { return this.object.prop('outerHTML'); }; /* * 浣跨敤鎸囧畾鏁版嵁鏇存柊鑷繁 */ Fragment.prototype.data = function (data) { this.object.html(Util.prototype.replace(this.html(), Util.prototype.toArray(data))); return this; }; /* * *************************************************************** * 杈规爮绫 */ function Sidebar(config) { this._default = { // 榛樿閰嶇疆, 甯搁噺, 涓嶅簲璇ヤ慨鏀? 瀵硅薄鍒濆鍖栨椂鍙鐩 'template':'sidebar', 'expand':true, // 榛樿灞曞紑杩樻槸闅愯棌 'css':undefined, 'main':{'width':'120px', 'position':'right'}, 'border':{'width':'1px', 'color':'#ccc', 'radius':'2px'}, 'button':{'width':'26px', 'color':'#333', 'font-size':'12px', 'background-color':'#ececec', 'radius':'5px'}, 'close':{'hide':false, 'height':'25px', 'font-size':'12px', 'padding':'0 .6em 0 .3em'}, 'show':{'start':undefined, 'end':undefined}, // 鏄剧ず寮€濮嬪拰缁撴潫鏃惰鎵ц鐨勫嚱鏁 'end':{'start':undefined, 'end':undefined} // 闅愯棌寮€濮嬪拰缁撴潫鏃惰鎵ц鐨勫嚱鏁 }; config = $.extend(true, this._default, config); this.config = config; // dom 缁撴瀯 var temp = $('.'+config.template+':first'); temp.hide(); this.main = temp.clone().removeClass(config.template).show(); this.main.data('instance', this); // dom 缁撴瀯鐨 data 涓繚瀛樼被瀵硅薄 config.css && this.main.addClass(config.css); // 涓昏灞炴€ this.width = config.main.width; this.position = config.main.position; this.main.addClass(this.position); this.position_rev = this.position == 'right' ? 'left' : 'right'; this.wrapper = this.main.children('.wrapper'); this._close = this.wrapper.children('.close'); this.button = this.main.children('.button'); // 瀛愬厓绱犵殑 dom 缁撴瀯鐨 data 涓繚瀛樼被瀵硅薄 this._close.data('parent', this); this.button.data('parent', this); // 鎵ц閰嶇疆 this.init(config); } /* * 鍒濆鍖 */ Sidebar.prototype.init = function(config) { this.initMain(); this.initWrapper(config); this.initButton(config); // 鍨傜洿灞呬腑鍚? 绉诲姩鍒癰ody鏈€鍚 this.verticalCenter().appendTo('body'); config.expand ? this.show(false) : this.hide(false); this.main.show(); // 瀛樺偍鎵€鏈夌殑瀵硅薄鍒皐indow涓 (鍚庢湡浼氫娇鐢? !window.online_service_list && (window.online_service_list = []); window.online_service_list.push(this); $(window).resize(this.onWindowResize); }; /* * 鍒濆鍖 - main */ Sidebar.prototype.initMain = function() { this.main.hide().css({ 'height':'auto', 'position':'fixed', 'z-index':'100000000', 'top':'0px', 'width':this.width }); this.main.css(this.position, '0px'); // 绉诲叆绉诲嚭鏃 this.main.hover( function () { $(this).data('instance').show(); }, function () { if(!$(this).hasClass('animate-showing')) { $(this).data('instance').hide(); } } ); }; /* * 鍒濆鍖 - wrapper */ Sidebar.prototype.initWrapper = function(config) { this.wrapper.css({ 'border': config.border.width +' solid ' + config.border.color, 'border-radius':config.border.radius, '-moz-border-radius':config.border.radius }); this._close.css({ 'display':config.close.hide ? 'none' : 'block', 'position':'absolute', 'top':'0px', 'right':'0px', 'height':config.close.height, 'line-height':config.close.height, 'font-size':config.close['font-size'], 'padding':config.close.padding, 'cursor':'pointer' }).click(function () { var instance = $(this).data('parent'); Sidebar.prototype.hide.call(instance); if(typeof($("img").lazyload)=="function"){ //寮傛鍔犺浇鍥剧墖 setTimeout(function(){ $("img").lazyload({effect: "fadeIn",threshold:0,failure_limit:20,skip_invisible:false}); },500); } }).attr({'onselectstart':'return false', 'unselectable':'on'}); // [鍏煎]绂佹閫夋嫨鏂囨湰 }; /* * 闅愯棌Sidebar * animate: 鏄惁甯﹀姩鐢 */ Sidebar.prototype.hide = function (animate) { animate === undefined && (animate = true); var instance = this, width = '-'+this.width, end = this.position == 'right' ? {right :width} : {left :width}, btn_width = '-'+instance.config.button.width, btn_end = instance.position == 'right' ? {left :btn_width} : {right :btn_width}; instance.onHide('start'); if(animate) { instance.main.animate(end, 'fast', function() { instance.button.show().animate(btn_end, 'fast'); instance.onHide('end'); }); } else { instance.main.css(end); instance.button.show().css(btn_end); instance.onHide('end'); } }; /* * 闅愯棌Sidebar寮€濮嬪拰缁撴潫鏃 */ Sidebar.prototype.onHide = function (status) { var func; if(this.config.hide) { switch(status) { case 'start': Util.prototype.type(func = this.config.hide.start) == 'function' && func(); // 鎵ц鑷畾涔夊嚱鏁 break; case 'end': Util.prototype.type(func = this.config.hide.end) == 'function' && func(); // 鎵ц鑷畾涔夊嚱鏁 break; } } }; /* * 鍒濆鍖 - button */ Sidebar.prototype.initButton = function(config) { var width = config.button.width; this.button.hide().css({ 'position':'absolute', 'top':'0%', 'width':width, 'line-height':'1.35em', 'padding':'.5em 0', 'font-size':config.close['font-size'], 'color':config.button.color, 'background-color':config.button['background-color'], 'cursor':'pointer', 'word-wrap':'break-word', 'word-break':'break-all' }); var radius = config.button.radius; if(this.position == 'right') { this.button.css({ 'border-top-left-radius':radius, 'border-bottom-left-radius':radius }); } else { this.button.css({ 'border-top-right-radius':radius, 'border-bottom-right-radius':radius }); } this.button.css(this.position_rev, '0px'); // 鐐瑰嚮鏃 this.button.click(function () { var instance = $(this).data('parent'); Sidebar.prototype.show.call(instance); }).attr({'onselectstart':'return false', 'unselectable':'on'}); // [鍏煎]绂佹閫夋嫨鏂囨湰 }; /* * 鏄剧ずSidebar * animate: 鏄惁甯﹀姩鐢 */ Sidebar.prototype.show = function (animate) { animate === undefined && (animate = true); var instance = this, end = instance.position == 'right' ? {right :0} : {left :0}; instance.onShow('start'); if(animate) { instance.onAnimate('showing'); instance.main.animate(end, 'fast', function() { instance.onAnimate(); instance.button.hide(); // Bug淇: 棰濆闅愯棌涓€娆 instance.onShow('end'); }); } else { instance.main.css(end); instance.onShow('end'); } // 鏄剧ず寮€濮嬪悗, 涓嶇鏄惁鏈夊姩鐢? 鎸夐挳搴旇椹笂闅愯棌 instance.button.hide(); instance.button.css(instance.position_rev,'0px'); }; /* * 鏄剧ずSidebar寮€濮嬪拰缁撴潫鏃 */ Sidebar.prototype.onShow = function (status) { var func; if(this.config.show) { switch (status) { case 'start': Util.prototype.type(func = this.config.show.start) == 'function' && func(); // 鎵ц鑷畾涔夊嚱鏁 break; case 'end': Util.prototype.type(func = this.config.show.end) == 'function' && func(); // 鎵ц鑷畾涔夊嚱鏁 break; } } }; /* * 璁剧疆瀹炴椂鍔ㄧ敾鐘舵€ * status: 涓虹┖鏃惰〃绀哄姩鐢荤粨鏉 */ Sidebar.prototype.onAnimate = function(status) { Util.prototype.removeClass(this.main, 'animate-'); status && this.main.addClass('animate-'+status); }; /* * 绐楀彛澶у皬鏀瑰彉鏃 */ Sidebar.prototype.onWindowResize = function() { for(var i = 0, len = window.online_service_list.length; i < len; ++i) { window.online_service_list[i].verticalCenter(); } }; /* * 鍦ㄧ獥鍙e瀭鐩村眳涓 */ Sidebar.prototype.verticalCenter = function() { var h1 = this.main.height(), h2 =$(window).height(); if(h1 && h2) { this.main.css('top', ((h2 - h1) / 2) + 'px'); } return this.main; }; /* * 娣诲姞鍐呭 */ Sidebar.prototype.append = function(obj) { this.wrapper.append(obj); this.verticalCenter(); }; /* * *************************************************************** * 宸ュ叿绫 */ function Util() { } /* * 杩斿洖瀵硅薄绫诲瀷 */ Util.prototype.type = function(obj) { var type = obj === undefined ? 'undefined' : (obj === null ? 'null' : undefined); // 鍏煎鏃х増js瑙f瀽鍣 return type ? type : Object.prototype.toString.call(obj).slice(8, -1).toLowerCase(); }; /* * 妫€娴嬪璞$被鍨 */ Util.prototype.is = function(obj, type) { var cls = this.type(obj); return obj !== undefined && obj !== null && cls.toLowerCase() === type.toLowerCase(); }; /* * 灞炴€ф墿灞? 澧炲己鐗 ) * 娉ㄦ剰: 涓€鑸繁搴﹀鍒? 鍙洿鎺ヤ娇鐢 $.extend(true, target, source) */ Util.prototype.extend = function(target, source, is_deep, is_add) { is_deep === undefined && (is_deep = true); // 濡傛灉鍊间篃鏄璞? 鏄惁瀵瑰€间篃璋冪敤extend is_add === undefined && (is_add = true); // 濡傛灉鐩爣瀵硅薄涓病鏈夋簮瀵硅薄鐨勯敭, 鏄惁鍏佽鏂板閿€ for (var p in source) { if (source.hasOwnProperty(p) && (is_add || target.hasOwnProperty(p))) { // 鎵цextend if(is_deep && this.is(target[p], 'object') && this.is(source[p], 'object')) { this.extend(target[p], source[p]); } else { target[p] = source[p]; } } } return target; }; /* * 鍒犻櫎class( 鍒犻櫎鎸囧畾鍚嶇О鐨刢lass鍜屾墍鏈変互鎸囧畾鍚嶇О寮€澶寸殑class ) */ Util.prototype.removeClass = function(obj, rm) { obj.attr('class', function () { var regExp = new RegExp(rm + '\\S*', 'g'); return Util.prototype.clear($(this).attr('class').replace(regExp, '')); }); return obj; }; /* * 鍒犻櫎鍓嶅悗绌虹櫧 */ Util.prototype.trim = function(s){ return s.replace(/(^\s*)|(\s*$)/g,''); }; /* * 鍚堝苟涓棿澶氫釜绌虹櫧涓轰竴涓 */ Util.prototype.clear = function(s){ return s.replace(/(^\s*)|(\s*$)|(\s{2,})/g,''); }; /* * 瀵硅薄杞暟缁 */ Util.prototype.toArray = function(obj) { var array = [], p, item; for (p in obj) { if (obj.hasOwnProperty(p)) { item = [p]; item.push(this.is(obj[p], 'object') ? this.toArray(obj[p]) : obj[p]); array.push(item); } } return array; }; /* * 浣跨敤鎸囧畾鐨勯敭鍊兼暟缁勬浛鎹竴涓瓧绗︿覆 * 澶囨敞: 瀛楃涓蹭腑閿互{{}}鏍囪 * 澶囨敞: data: 浜岀淮鏁扮粍, 涓€缁存暟缁勭殑姣忎竴椤规槸涓€涓暱搴︿负浜岀殑鍐呭眰鏁扮粍, 鍐呭眰鏁扮粍鐨勭涓€椤逛负閿? 绗簩椤逛负鍊 */ Util.prototype.replace = function(s, data) { var i, len, reg_str = [], reg; for(i = 0, len = data.length; i < len; ++i) { reg_str.push('({{' + data[i][0] + '}})'); } // 姝e垯鏇挎崲 reg = new RegExp(reg_str.join('|'), 'g'); return s.replace(reg, replace); // 鎵ц鏇挎崲鐨勫嚱鏁 function replace(){ // arguments 涓寘鍚殑鏄? 瀛楃涓蹭腑褰撳墠浣嶇疆鍖归厤鍒扮殑瀛楃涓? 绗?涓?)鍖归厤鍒扮殑瀛楃涓? ..., 绗琻-1涓?)鍖归厤鍒扮殑瀛楃涓? 褰撳墠鍖归厤鐨勪綅缃? 鏁翠釜瀛楃涓 // 浠庣储寮曚负1寮€濮? 绗竴涓笉涓簎ndefined鐨勯」鐨勭储寮曞€煎噺涓€鍗充负鍖归厤鍒扮殑閿殑绱㈠紩 for(var i = 1, len = arguments.length; i < len; ++i) { if(arguments[i] !== undefined) { return data[--i][1]; } } } }; //=== viewid:qqol_style_01_1583726788186 ===// //璐墿杞 if(typeof showcart !== 'function'){ function showcart(){ var langid = 0; if (langid==0 && BodyIsFt) langid = 1; if(window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767)){ location.href = "//s143js.nicebox.cn/exusers/u_cart.php?idweb=4253&act=show&lang="+langid+"&ismobile=1"; }else{ document.getElementById("boxName").innerHTML="鏌ョ湅璐墿杞?; if(document.getElementById("boxClose")) document.getElementById("boxClose").innerHTML="脳"; document.getElementById("showiframe").src="//s143js.nicebox.cn/exusers/u_cart.php?idweb=4253&act=show&lang="+langid+"&v=9"; box.Show({width:'1000px', height:'600px'}); } } } //鍒ゆ柇鏄惁鏄墜鏈?鐢ㄤ簬澶勭悊QQ鐢佃剳绔強鎵嬫満绔摼鎺ヤ笉涓€鑷撮棶棰 var mobile_flag = isMobile(); if(mobile_flag){ $('#qqol_style_01_1583726788186 .qq-btn-pc').hide(); $('#qqol_style_01_1583726788186 .qq-btn-mobile').show(); } function isMobile() { var userAgentInfo = navigator.userAgent; var mobileAgents = [ "Android", "iPhone", "SymbianOS", "Windows Phone", "iPad","iPod"]; var mobile_flag = false; //鏍规嵁userAgent鍒ゆ柇鏄惁鏄墜鏈 for (var v = 0; v < mobileAgents.length; v++) { if (userAgentInfo.indexOf(mobileAgents[v]) > 0) { mobile_flag = true; break; } } var screen_width = window.screen.width; var screen_height = window.screen.height; //鏍规嵁灞忓箷鍒嗚鲸鐜囧垽鏂槸鍚︽槸鎵嬫満 if(screen_width < 500 && screen_height < 800){ mobile_flag = true; } return mobile_flag; } //=== viewid:qqol_style_01_1583726788186 ===// function remove_qqol_qqol_style_01_1583726788186(){ $('body > .online-service.qqol-qqol_style_01_1583726788186').remove(); } // 鍒涘缓鍦ㄧ嚎瀹㈡湇 $(function () { // 娓呯悊鏃х殑 remove_qqol_qqol_style_01_1583726788186(); // 鍒涘缓杈规爮 var sidebar = new Sidebar({ 'template': 'online-template', 'css': 'qqol-qqol_style_01_1583726788186', 'expand': false, 'main': {'width':'170px', 'position': 'right'}, 'border': {'color': '#2b55ff', 'width': '1px', 'radius': '10px'}, 'button': {'color': '#fff', 'background-color': '#2b55ff', 'radius': '5px'}, 'close': {'hide': true} }); // 鐗囨妯℃澘 var qqOnlineStr = '
' + '' + '{{title}}' + '{{text}}' + '' + '{{title}}' + '{{text}}' + '
'; // 鍥炬爣涓嶈兘鏄剧ず鏃? 鏇存崲QQ鍙风爜璁╁叾鏄剧ず // 鍒涘缓鐗囨 Fragment.prototype.prefix = 'ol-'; // 鍒涘缓鐗囨鍒楄〃 var fragmentList = new FragmentList({ 'prefix':'ol-', 'css':{'padding':'0 12px'} }); fragmentList.append(new Fragment({ 'name': 'text', 'html': '
鏈嶅姟鐑嚎
', 'css':{'margin':'.5em 0'} })); fragmentList.append(new Fragment({ 'name': 'text', 'html': '
86-020-86038373
', 'css':{'margin':'.5em 0'} })); fragmentList.append(new Fragment({ 'name':'separator', 'css':{'height':'2px', 'background-color':'#a0a0a0'} })); fragmentList.append(new Fragment({ 'name': 'text', 'html': '
鑱旂郴鏂瑰紡
', 'css':{'margin':'.5em 0'} })); fragmentList.append(new Fragment({ 'name': 'text', 'html': '
浼犵湡锛?86-20)36023289
', 'css':{'margin':'.5em 0'} })); fragmentList.append(new Fragment({ 'name': 'text', 'html': '
閭锛歡zbaiyuan@vip.sina.com
', 'css':{'margin':'.5em 0'} })); fragmentList.append(new Fragment({ 'name': 'text', 'html': '
鍦板潃锛氬箍宸炲競鐧戒簯鍖鸿殞婀栫櫧璞″箔宸ヤ笟鍥?/div>', 'css':{'margin':'.5em 0'} })); fragmentList.append(new Fragment({ 'name': 'image', 'html': '
鍥剧墖
', 'css':{'margin':'.5em 0', 'text-align':'center'} })); // 娣诲姞鍒拌竟鏍 var list = fragmentList.get(); !list.children().length && list.html('

鍐呭鍒楄〃涓虹┖锛?/p>'); sidebar.append(list); if(typeof($("img").lazyload)=="function"){ $("img").lazyload({effect: "fadeIn",threshold:0,failure_limit:20,skip_invisible:false}); } }); //=== viewid:qqol_style_01_1583726788186 ===// // 瀵硅緭鍏ュ唴瀹逛腑鐨勫皷鎷彿銆佸紩鍙风瓑杩涜杞箟 function html_encode(str) { var s = ""; if (str.length == 0) return ""; s = str.replace(/&/g, "&"); s = s.replace(//g, ">"); s = s.replace(/ /g, " "); s = s.replace(/\'/g, "'"); s = s.replace(/\"/g, """); s = s.replace(/\n/g, "
"); return s; } function html_decode(str) { var s = ""; if (str.length == 0) return ""; s = str.replace(/&/g, "&"); s = s.replace(//g, ">"); s = s.replace(/ /g, " "); s = s.replace(/'/g, "\'"); s = s.replace(/"/g, "\""); s = s.replace(/
/g, "\n"); return s; }