/*id='u_097cc8a81d194d7c9c1def2b73cfd804' guid='u_097cc8a81d194d7c9c1def2b73cfd804' pm_script='sitewidget-navigation_style-20170712140457' type='text/javascript'*/ try{ (function(window, $){ $(function(){ typeof respond != 'undefined' && respond.ext && respond.ext.push($('#component_UNfKBVAODMaL').find('style[respond=true]')); }) })(window, jQuery) }catch(e){try{console && console.log && console.log(e);}catch(e){}} /*id='u_9c2f0a7bc8d742bc947d4bfc2439b9fc' guid='u_9c2f0a7bc8d742bc947d4bfc2439b9fc' pm_script='sitewidget-navigation_style-20170712140457' data_collect='true' type='text/javascript'*/ try{ ;(function(window, $, undefined){ $(function(){ var id = "component_UNfKBVAODMaL", el = $('#' + id); var uuId = "navigation_style" + "_" + "UNfKBVAODMaL"; var _$ = $, _window = window; var events = ['scroll', 'resize']; var checkInviewportCallFunction = null; var threshold = $.trim('50'); if (!!!threshold) { threshold = '0'; } if (threshold == '-1') { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); return; } var _settings = { threshold : threshold, container : window }; function unbindEvents() { $.each(events, function(k, v){ var nameSpace = v + '.' + "lab_" + uuId; $(_window).unbind(nameSpace); }) } function callFunction(){ if (!!el.data('lab_callFunction')) { unbindEvents(); clearInterval(checkInviewportCallFunction); return; } var js_depand = '["//5mrorwxhkknmrij.leadongcdn.com/static/t-7jBmBKiKqnjkooimqqikj/assets/widget/script/plugins/smartmenu/js/jquery.smartmenusUpdate.js","//5irorwxhkknmjik.leadongcdn.com/static/t-7jBmBKiKqnjkooimqqikj/assets/widget/script/compsettings/comp.navigation_style.settings.js"]'; js_depand = $.trim(js_depand); try { js_depand = $.parseJSON(js_depand); } catch (e) { js_depand = ""; } $LAB.setOptions({AlwaysPreserveOrder:true}).script(js_depand).wait(function(){ unbindEvents(); clearInterval(checkInviewportCallFunction); if (!!el.data('lab_callFunction')) { return; } el.data('lab_callFunction', true); (function(window, $, undefined) { /**guid='e9723b9d-597e-449d-909b-67a7c1677a5a' jumpNameRepeatHack='false' collectToRender='true' jumpName='UNfKBVAODMaL' ajaxLoad='' type='text/javascript'**/ /*id='u_e9503839e4fd4d219c76639b1afd2d10' guid='u_e9503839e4fd4d219c76639b1afd2d10' pm_script='sitewidget-navigation_style-20170712140457' jumpTo='UNfKBVAODMaL' type='text/javascript'*/ try{ $(function(){ if (phoenixSite.phoenixCompSettings && typeof phoenixSite.phoenixCompSettings.navigation_style !== 'undefined' && typeof phoenixSite.phoenixCompSettings.navigation_style.navigationStyle == "function") { phoenixSite.phoenixCompSettings.navigation_style.navigationStyle(".sitewidget-navigation_style-20170712140457","navnew-substyle4","navnew-wide-substyle4","0","0","100px","0","0"); return; } $.getScript("//5rrorwxhkknmiik.leadongcdn.com/static/assets/widget/script/compsettings/comp.navigation_style.settings.js?_=1573266917731", function(){ phoenixSite.phoenixCompSettings.navigation_style.navigationStyle(".sitewidget-navigation_style-20170712140457","navnew-substyle4","navnew-wide-substyle4","0","0","100px","0","0"); }); }); }catch(e){try{console && console.log && console.log(e);}catch(e){}} })(_window, _$); }) } (function(window, $, undefined) { $.each(events, function(k, v){ var nameSpace = v + '.' + "lab_" + uuId; $(window).unbind(nameSpace).bind(nameSpace, function(){ if (LABHelper.inviewport(el, _settings)) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } }); }) checkInviewportCallFunction = setInterval(function(){ var isInviewport = LABHelper.inviewport(el, _settings); if (isInviewport && !!!el.data('lab_callFunction')) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } if (isInviewport && !!el.data('lab_callFunction')) { clearInterval(checkInviewportCallFunction); } }, 100); })(window, $); if (LABHelper.inviewport(el, _settings)) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } }); })(this, jQuery) }catch(e){try{console && console.log && console.log(e);}catch(e){}} /*id='u_e9532da43b3544d0b9510299566ec713' guid='u_e9532da43b3544d0b9510299566ec713' pm_script='sitewidget-prodCatalog-20180615092547' data_collect='true' type='text/javascript'*/ try{ ;(function(window, $, undefined){ $(function(){ var id = "component_rsAKhSrnaTtB", el = $('#' + id); var uuId = "prodCatalog" + "_" + "rsAKhSrnaTtB"; var _$ = $, _window = window; var events = ['scroll', 'resize']; var checkInviewportCallFunction = null; var threshold = $.trim('50'); if (!!!threshold) { threshold = '0'; } if (threshold == '-1') { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); return; } var _settings = { threshold : threshold, container : window }; function unbindEvents() { $.each(events, function(k, v){ var nameSpace = v + '.' + "lab_" + uuId; $(_window).unbind(nameSpace); }) } function callFunction(){ if (!!el.data('lab_callFunction')) { unbindEvents(); clearInterval(checkInviewportCallFunction); return; } var js_depand = ''; js_depand = $.trim(js_depand); try { js_depand = $.parseJSON(js_depand); } catch (e) { js_depand = ""; } unbindEvents(); clearInterval(checkInviewportCallFunction); el.data('lab_callFunction', true); (function(window, $, undefined) { /**guid='2953887e-7988-462b-b68c-6eae119253b5' jumpNameRepeatHack='false' collectToRender='true' jumpName='rsAKhSrnaTtB' ajaxLoad='' type='text/javascript'**/ /*id='u_66b3194b65a34eaba86a4692884f0ef2' guid='u_66b3194b65a34eaba86a4692884f0ef2' pm_script='sitewidget-prodCatalog-20180615092547' jumpTo='rsAKhSrnaTtB' type='text/javascript'*/ try{ $(function(){ phoenixSite.sitewidgets.prodToggle(".sitewidget-prodCatalog-20180615092547") phoenixSite.sitewidgets.prodcatalogThumbToggle(".sitewidget-prodCatalog-20180615092547"); phoenixSite.sitewidgets.addMarkWithUrl(".sitewidget-prodCatalog-20180615092547 a"); }) }catch(e){try{console && console.log && console.log(e);}catch(e){}} })(window, $); } (function(window, $, undefined) { $.each(events, function(k, v){ var nameSpace = v + '.' + "lab_" + uuId; $(window).unbind(nameSpace).bind(nameSpace, function(){ if (LABHelper.inviewport(el, _settings)) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } }); }) checkInviewportCallFunction = setInterval(function(){ var isInviewport = LABHelper.inviewport(el, _settings); if (isInviewport && !!!el.data('lab_callFunction')) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } if (isInviewport && !!el.data('lab_callFunction')) { clearInterval(checkInviewportCallFunction); } }, 100); })(window, $); if (LABHelper.inviewport(el, _settings)) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } }); })(this, jQuery) }catch(e){try{console && console.log && console.log(e);}catch(e){}} /*id='u_4982301e73d548f2bbc6df0d5c17ec30' guid='u_4982301e73d548f2bbc6df0d5c17ec30' pm_script='sitewidget-prodListNew-20170817143137' data_collect='true' type='text/javascript'*/ try{ ;(function(window, $, undefined){ $(function(){ var id = "component_nwAfBWzNaJLg", el = $('#' + id); var uuId = "prodListNew" + "_" + "nwAfBWzNaJLg"; var _$ = $, _window = window; var events = ['scroll', 'resize']; var checkInviewportCallFunction = null; var threshold = $.trim('0'); if (!!!threshold) { threshold = '0'; } if (threshold == '-1') { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); return; } var _settings = { threshold : threshold, container : window }; function unbindEvents() { $.each(events, function(k, v){ var nameSpace = v + '.' + "lab_" + uuId; $(_window).unbind(nameSpace); }) } function callFunction(){ if (!!el.data('lab_callFunction')) { unbindEvents(); clearInterval(checkInviewportCallFunction); return; } var js_depand = '["//5mrorwxhkknmrij.leadongcdn.com/static/t-7jBmBKiKqnjkooimqqikj/assets/widget/script/plugins/prodList/prodListFront.js","//5irorwxhkknmjik.leadongcdn.com/static/t-7jBmBKiKqnjkooimqqikj/assets/widget/script/plugins/shoppingcartStatus/shoppingcartStatus.js"]'; js_depand = $.trim(js_depand); try { js_depand = $.parseJSON(js_depand); } catch (e) { js_depand = ""; } $LAB.setOptions({AlwaysPreserveOrder:true}).script(js_depand).wait(function(){ unbindEvents(); clearInterval(checkInviewportCallFunction); if (!!el.data('lab_callFunction')) { return; } el.data('lab_callFunction', true); (function(window, $, undefined) { /**guid='5a58c440-d025-4a96-8223-88b56600ee02' jumpNameRepeatHack='false' collectToRender='true' jumpName='nwAfBWzNaJLg' ajaxLoad='' type='text/javascript'**/ /*id='u_24081b372eef4986afe02ce6ee985c28' guid='u_24081b372eef4986afe02ce6ee985c28' pm_script='sitewidget-prodListNew-20170817143137' jumpTo='nwAfBWzNaJLg' type='text/javascript'*/ try{ var prodRating = (function () { var LightStar = function (el, options) { this.$el = $(el); this.$item = this.$el.find("img"); this.opts = options; }; LightStar.prototype.init = function () { this.lightOn(this.opts.num); }; LightStar.prototype.lightOn = function (num) { var count = parseInt(num), isHalf = count != num; this.$item.each(function (index) { if (index < count) { $(this).attr('src', '//5rrorwxhkknmiik.leadongcdn.com/cloud/ikBqiKimRikSmimijljo/full1.png'); } else { $(this).attr('src', '//5mrorwxhkknmrij.leadongcdn.com/cloud/iqBqjKlqRikSmriijnjn/empty1.png'); } }) if (isHalf) { this.$item.eq(count).attr('src', '//5mrorwxhkknmrij.leadongcdn.com/cloud/ipBqiKimRikSmimiqljo/half1.png'); } }; var defaults = { num: 5, readOnly: true }; var init = function (el, options) { options = $.extend({}, defaults, options); //new LightEntire(el,options).init(); new LightStar(el, options).init(); }; return { init: init }; })(); $(".prodlist-star-container .prodlist-star-list").each(function(){ var star_this=$(this); prodRating.init(star_this, { num: star_this.attr('star-id'), }) }); }catch(e){try{console && console.log && console.log(e);}catch(e){}} /*id='u_935fb8a4852647f09c6d9cf58019ce9a' guid='u_935fb8a4852647f09c6d9cf58019ce9a' pm_script='sitewidget-prodListNew-20170817143137' jumpTo='nwAfBWzNaJLg' type='text/javascript'*/ try{ $(function(){ $('.sitewidget-prodListNew-20170817143137 .InquireAndBasket').mouseover(function(){ var that=$(this); that.addClass('ing'); setTimeout(rolling,200); function rolling(){ if(that.hasClass('ing')){ that.find('span').show(); var _width=that.parent().width()-40+'px'; that.addClass("large").animate({'width':_width}); } } }); $('.sitewidget-prodListNew-20170817143137 .InquireAndBasket').mouseout(function(){ var that=$(this); that.removeClass('ing'); setTimeout(rollingBack,50); function rollingBack(){ if(!that.hasClass('ing')){ that.removeClass("large").animate({'width':'40px'}); that.find('span').hide(); } }; }); }); }catch(e){try{console && console.log && console.log(e);}catch(e){}} /*id='u_2ba83245f76444c7ac9eaf7ad2a1851a' guid='u_2ba83245f76444c7ac9eaf7ad2a1851a' pm_script='sitewidget-prodListNew-20170817143137' jumpTo='nwAfBWzNaJLg' type='text/javascript'*/ try{ (function(window,jQuery,undefined){ var hasProducts = false; hasProducts = true; var payModuleFlag = $('input[name=payModuleFlag]')[0] == undefined ? '0' : '1'; var options = { prodNameHeightFlag:'1', widgetClass: 'sitewidget-prodListNew-20170817143137', hasProducts: hasProducts, groupId: "", payModuleFlag: payModuleFlag, prodPhotoSize: '0', selectProductListStyle: '0', phoenix_product_more_des: "更多描述", phoenix_product_closed: "黄色网站", phoenix_shopingcart_notice: "一个新的产品添加到您的购物车。", phoenix_error_buy_prod : "操作失败,您选择的产品不可购买", phoenix_categoryIdPagination : "-1" }; var ie = phoenixSite.browser.ie, _selectProductListStyle = options.selectProductListStyle; var font=$('.'+options.widgetClass+' .prodlist-wrap .prodlist-pro-name').css('font-size'); if(_selectProductListStyle==0 || _selectProductListStyle==8){ if(options.prodNameHeightFlag == '0'){ if(parseInt(font)-12>=0 && 10 >= parseInt(font)-12){ var num=14+(parseInt(font)-12)*2.5; }else{ var num=14+(parseInt(font)-12)*2.2; } $('.'+options.widgetClass+' .prodlist-wrap .prodlist-pro-name').css({'height':num+'px','line-height':'1.5em'}) }else{ if(parseInt(font)-12>=0){ var num=34+(parseInt(font)-12)*3; $('.'+options.widgetClass+' .prodlist-wrap .prodlist-pro-name').css({'height':num+'px','line-height':'1.5em'}) } } } if (ie && parseInt(ie) < 9 && (_selectProductListStyle == '0' || _selectProductListStyle == '1' || _selectProductListStyle == '4' || _selectProductListStyle == '5')) { $(window).load(function(){ if (phoenixSite.prodList && phoenixSite.prodList !== 'undefined' && typeof phoenixSite.prodList.init == "function") { phoenixSite.prodList.init(options); return; } $.getScript("//5rrorwxhkknmiik.leadongcdn.com/static/assets/widget/script/plugins/prodList/prodListFront.js?_=1573266917731", function(){ phoenixSite.prodList.init(options); }); }) }else { $(function(){ if (phoenixSite.prodList && phoenixSite.prodList !== 'undefined' && typeof phoenixSite.prodList.init == "function") { phoenixSite.prodList.init(options); return; } $.getScript("//5mrorwxhkknmrij.leadongcdn.com/static/assets/widget/script/plugins/prodList/prodListFront.js?_=1573266917731", function(){ phoenixSite.prodList.init(options); }); }); } })(window,jQuery) }catch(e){try{console && console.log && console.log(e);}catch(e){}} /*id='u_652f92a0853a4b0ba71ec3248db7874b' guid='u_652f92a0853a4b0ba71ec3248db7874b' pm_script='sitewidget-prodListNew-20170817143137' jumpTo='nwAfBWzNaJLg' type='text/javascript'*/ try{ (function(window,$,undefined){ $(function(){ phoenixSite.payCoinExchange.handleElement($('#component_nwAfBWzNaJLg')); }); })(window,jQuery); }catch(e){try{console && console.log && console.log(e);}catch(e){}} })(_window, _$); }) } (function(window, $, undefined) { $.each(events, function(k, v){ var nameSpace = v + '.' + "lab_" + uuId; $(window).unbind(nameSpace).bind(nameSpace, function(){ if (LABHelper.inviewport(el, _settings)) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } }); }) checkInviewportCallFunction = setInterval(function(){ var isInviewport = LABHelper.inviewport(el, _settings); if (isInviewport && !!!el.data('lab_callFunction')) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } if (isInviewport && !!el.data('lab_callFunction')) { clearInterval(checkInviewportCallFunction); } }, 100); })(window, $); if (LABHelper.inviewport(el, _settings)) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } }); })(this, jQuery) }catch(e){try{console && console.log && console.log(e);}catch(e){}} /*id='u_8d4667304b294a08a641ca3ac14504ca' guid='u_8d4667304b294a08a641ca3ac14504ca' pm_script='sitewidget-articleListNew-20180615094007' type='text/javascript'*/ try{ (function(window, $){ $(function(){ typeof respond != 'undefined' && respond.ext && respond.ext.push($('#component_rtKAhIMndEPL').find('style[respond=true]')); }) })(window, jQuery) }catch(e){try{console && console.log && console.log(e);}catch(e){}} /*id='u_bdbeee4ecf0b4479aec62686834b6ff1' guid='u_bdbeee4ecf0b4479aec62686834b6ff1' pm_script='sitewidget-articleListNew-20180615094007' data_collect='true' type='text/javascript'*/ try{ ;(function(window, $, undefined){ $(function(){ var id = "component_rtKAhIMndEPL", el = $('#' + id); var uuId = "articleListNew" + "_" + "rtKAhIMndEPL"; var _$ = $, _window = window; var events = ['scroll', 'resize']; var checkInviewportCallFunction = null; var threshold = $.trim('50'); if (!!!threshold) { threshold = '0'; } if (threshold == '-1') { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); return; } var _settings = { threshold : threshold, container : window }; function unbindEvents() { $.each(events, function(k, v){ var nameSpace = v + '.' + "lab_" + uuId; $(_window).unbind(nameSpace); }) } function callFunction(){ if (!!el.data('lab_callFunction')) { unbindEvents(); clearInterval(checkInviewportCallFunction); return; } var js_depand = ''; js_depand = $.trim(js_depand); try { js_depand = $.parseJSON(js_depand); } catch (e) { js_depand = ""; } unbindEvents(); clearInterval(checkInviewportCallFunction); el.data('lab_callFunction', true); (function(window, $, undefined) { /**guid='8755c41f-9e28-458f-816f-ceee318711e5' jumpNameRepeatHack='false' collectToRender='true' jumpName='rtKAhIMndEPL' ajaxLoad='' type='text/javascript'**/ /*id='u_666b7e09c9aa49938ec5928a06f23b3c' guid='u_666b7e09c9aa49938ec5928a06f23b3c' pm_script='sitewidget-articleListNew-20180615094007' jumpTo='rtKAhIMndEPL' type='text/javascript'*/ try{ (function(window,$,undefined){ $(function(){ var categoryIdPagination = "-1"; if(categoryIdPagination == '-1'){ $.cookie('PFCCA', '', {expires: -1}); }else{ $.cookie('PFCCA', 'infoGroupId_' + categoryIdPagination, {expires: 24 * 60 * 60, path: '/'}); } }); })(window,jQuery) }catch(e){try{console && console.log && console.log(e);}catch(e){}} })(window, $); } (function(window, $, undefined) { $.each(events, function(k, v){ var nameSpace = v + '.' + "lab_" + uuId; $(window).unbind(nameSpace).bind(nameSpace, function(){ if (LABHelper.inviewport(el, _settings)) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } }); }) checkInviewportCallFunction = setInterval(function(){ var isInviewport = LABHelper.inviewport(el, _settings); if (isInviewport && !!!el.data('lab_callFunction')) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } if (isInviewport && !!el.data('lab_callFunction')) { clearInterval(checkInviewportCallFunction); } }, 100); })(window, $); if (LABHelper.inviewport(el, _settings)) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } }); })(this, jQuery) }catch(e){try{console && console.log && console.log(e);}catch(e){}} /*id='u_ae9e92301d1244adbab36bf5bf43a42b' guid='u_ae9e92301d1244adbab36bf5bf43a42b' pm_script='sitewidget-form-20180615095822' data_collect='true' type='text/javascript'*/ try{ ;(function(window, $, undefined){ var _$ = $, _window = window; var css_depand = '["//5irorwxhkknmjik.leadongcdn.com/static/t-7jBmBKiKqnjkooimqqikj/assets/widget/style/component/form/form.css","//5rrorwxhkknmiik.leadongcdn.com/static/t-7jBmBKiKqnjkooimqqikj/assets/widget/style/component/inquire/inquire.css"]'; try { css_depand = $.parseJSON(css_depand); } catch (e) { css_depand = ""; } if (!!!css_depand || !$.isArray(css_depand)) { return; } var id = "component_DoAfCyrnSJGV", el = $('#' + id); var uuId = "form" + "_" + "DoAfCyrnSJGV"; var threshold = $.trim('-1'); if (!!!threshold) { threshold = '0'; } if (threshold == '-1') { loadCssImmediate(); return; } function loadCssImmediate() { $.each(css_depand, function(i,v){ var options = {}; options.url = v; options.callback = function(){ }; LABHelper.loadCss(options); }) } })(this, jQuery); ;(function(window, $, undefined){ $(function(){ var id = "component_DoAfCyrnSJGV", el = $('#' + id); var uuId = "form" + "_" + "DoAfCyrnSJGV"; var _$ = $, _window = window; var events = ['scroll', 'resize']; var checkInviewportCallFunction = null; var threshold = $.trim('-1'); if (!!!threshold) { threshold = '0'; } if (threshold == '-1') { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); return; } var _settings = { threshold : threshold, container : window }; function unbindEvents() { $.each(events, function(k, v){ var nameSpace = v + '.' + "lab_" + uuId; $(_window).unbind(nameSpace); }) } function callFunction(){ if (!!el.data('lab_callFunction')) { unbindEvents(); clearInterval(checkInviewportCallFunction); return; } var js_depand = '["//5mrorwxhkknmrij.leadongcdn.com/static/t-7jBmBKiKqnjkooimqqikj/assets/widget/script/plugins/My97DatePicker/WdatePicker.js","//5irorwxhkknmjik.leadongcdn.com/static/t-7jBmBKiKqnjkooimqqikj/assets/widget/script/plugins/proddetail/js/prodDetail_table.js"]'; js_depand = $.trim(js_depand); try { js_depand = $.parseJSON(js_depand); } catch (e) { js_depand = ""; } $LAB.setOptions({AlwaysPreserveOrder:true}).script(js_depand).wait(function(){ unbindEvents(); clearInterval(checkInviewportCallFunction); if (!!el.data('lab_callFunction')) { return; } el.data('lab_callFunction', true); (function(window, $, undefined) { /**guid='e9b27583-0245-4e82-81e0-806c488edec0' jumpNameRepeatHack='false' collectToRender='true' jumpName='DoAfCyrnSJGV' ajaxLoad='' type='text/javascript'**/ /*id='u_8c02e63ce5e6403aa8c6dca69e044a52' guid='u_8c02e63ce5e6403aa8c6dca69e044a52' pm_script='sitewidget-form-20180615095822' jumpTo='DoAfCyrnSJGV' type='text/javascript'*/ try{ (function(window,jQuery,undefined){ var bdArea = $(".sitewidget-form-20180615095822 .sitewidget-bd"); $(function(){ tableScroll(".sitewidget-form-20180615095822 .sitewidget-bd"); }) var hasProduct = false; var showCode = false; var verifyCodeRes; var widget = "sitewidget-form-20180615095822"; var titleText = $("."+widget+" .sitewidget-bd").find("legend").text(); $("."+widget+" .sitewidget-bd").find("legend").hide(); $("."+widget+" h2").text(titleText); $("."+widget+" form").attr("action","/phoenix/admin/form"); $("."+widget+" form").attr("method","post"); $("."+widget+" form").attr("target","coreIframe"); $("."+widget+" form").attr("enctype","multipart/form-data"); $("."+widget+" form").attr("novalidate","true"); $("."+widget+" form fieldset").prepend(''); $("."+widget+" form fieldset").prepend(''); $("."+widget+" form fieldset").append(''); $("."+widget+" form fieldset").append(''); $("."+widget+" form fieldset").append(''); // pageId $("."+widget+" form fieldset").append(''); $("."+widget+" form fieldset").append(''); $("."+widget+" form .control-group:last").before($("."+widget+" #imgVarifyCode")); $("."+widget+" [required]").bind("blur",function(){ checkEmpty(this); }); $("."+widget+" .mailInput").bind("blur",function(){ checkMail(this); }); var thisWidget = $("."+widget); var countrySelect = thisWidget.find("select[title='country']"); var countryPlaceholder = ''; if (countrySelect.length > 0) { $.ajax({ url: "/phoenix/admin/user/getCountries", type: "post", dataType: 'json', data: {}, success: function (res) { if (res.countriesList && res.countriesList.length > 0) { countryPlaceholder = !!res.lanCode ? '请选择' : 'please select'; var options = ''; if (!res.isTw && res.lanCode) { $.each(res.countriesList, function(i, obj) { options += ''; }) } else if (!res.lanCode) { $.each(res.countriesList, function(i, obj) { options += ''; }) } else if (res.isTw) { $.each(res.countriesList, function(i, obj) { options += ''; }) } countrySelect.html(options) } } }); } countrySelect.on('change', function () { if (thisWidget.find('.province').length > 0) { thisWidget.find('.province').remove(); if (thisWidget.find('.city').length > 0) { thisWidget.find('.city').remove(); } } $(this).find('option:selected').val($(this).find('option:selected').text()); if ($(this).val()) { var _this = this; $.ajax({ url: "/phoenix/admin/user/getAllCountry", type: "post", dataType: 'json', data: { province: $(this).find('option:selected').data('key') }, success: function (res) { if (res.provinceList && res.provinceList.length > 0) { var selectDom = ''; $(_this).after(selectDom); } } }); } }); thisWidget.on('change', '.province', function () { if (thisWidget.find('.city').length > 0) { thisWidget.find('.city').remove(); } var addVal = ''; var countryVal = countrySelect.find('option:selected').text(); addVal += countryVal; if ($(this).val()) { var _this = this; addVal += '_'+$(this).val(); if (countrySelect.find('option:selected').data('key') == 'China') { $.ajax({ url: "/phoenix/admin/user/getCity", type: "post", dataType: 'json', data: { city: $(this).find('option:selected').data('key') }, success: function (res) { //console.log(res) if (res.cityList && res.cityList.length > 0) { var selectDom = ''; $(_this).after(selectDom); } } }); } } countrySelect.find('option:selected').val(addVal); }); thisWidget.on('change', '.city', function () { var addVal = ''; var countryVal = countrySelect.find('option:selected').text(); var privinceVal = thisWidget.find('.province').val(); addVal += countryVal + '_' + privinceVal; if ($(this).val()) { addVal += '_'+$(this).val(); } countrySelect.find('option:selected').val(addVal); }); if(hasProduct){ $("."+widget+" .inquireDeleteBtn").click(function(){ var position = $("."+widget+" #"+$(this).attr("value")).index(); $("."+widget+" #"+$(this).attr("value")).remove(); jsonData.splice(position,1); $("."+widget+" #paramsJson").val(JSON.stringify(jsonData)); }); $("."+widget+" .proNum").each(function(){ prodNumFunc(this); }); $("."+widget+" .proNum").bind("change",function(){ prodNumFunc(this); }); } $("."+widget+" #formreset").click(function(e){ $("."+widget+" span#filename").empty(); $(".errgreater").remove(); $("."+widget+" form")[0].reset(); $("#formsubmit").removeClass("btn-disabeled") }) var serialNumberDom = undefined; var serialStatusDom = undefined; function judgingCustomizedForms(){ var sortMark = 0 ; $("."+widget+" form fieldset div label span:contains('Serial Number')") .map(function(){if($(this).text() == 'Serial Number'){sortMark = 1;serialNumberDom= $(this)}}); $("."+widget+" form fieldset div label span:contains('Serial Number Status')") .map(function(){if($(this).text() == 'Serial Number Status' && sortMark == 1){ serialStatusDom = $(this).parents(".control-group.control-multi-radio-inline"); serialStatusDom.css("display","none"); sortMark +=1; }}) fillingCustomeizedForms(sortMark); return sortMark; } function fillingCustomeizedForms(flag){ if(flag == 2){ var dateDom = $("."+widget+" form fieldset div label span:contains('Date of Installation')").parents(".control-group"); dateDom.find("input").attr({"readonly":"readonly","onClick":"WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'%y-%M-%d'})"}); dateDom.after($("#imgVarifyCode")); } } var mark = judgingCustomizedForms(); $("."+widget+" #formsubmit").click(function(e){ var _that = this; if(mark == 2){ $.ajax({ url: "/phoenix/admin/common/checkNo", type: "post", dataType: 'text', data: { searchId :"aHKfpAUKBOje", conditions:"searchKeyword~!=!~"+serialNumberDom.parents(".control-group").find("input").val(), formPkId:$("."+widget+" form fieldset").find("input[name='encodeFormId']").val(), serialNumber:serialNumberDom.parents(".control-group").find("input").val(), formField:serialNumberDom.parents(".control-group").find("input").attr("name") }, success: function (res) { if(res == "1"){ serialStatusDom.find("input[value='normal']").attr("checked","true"); }else if(res == "0"){ serialStatusDom.find("input[value='nonexistent']").attr("checked","true"); }else if(res == "2"){ serialStatusDom.find("input[value='repeat']").attr("checked","true"); }else{ return ; } formSubmit(_that); }}) }else{ formSubmit(_that); } }); function formSubmit(that){ var _that = that; var executiveFlage= sublimeFlage() var formSubmitname = $("#formsubmit").hasClass("btn-disabeled") if(executiveFlage){ var varifyResult = true; $("."+widget+" [required]").each(function(){ varifyResult = varifyResult&&checkEmpty(this); }) $("."+widget+" .mailInput").each(function(){ varifyResult = varifyResult&&checkMail(this); }) if(varifyResult){ if(hasProduct){ $.cookie('baksetProdArray', null, {path:"/"}); if (!!!localStorage) { $("."+widget+" form").submit(); $(this).addClass("btn-disabeled"); return; } localStorage.setItem("baksetProdArray",''); } // 发送GA跟踪报告 $("."+widget+" form").submit(); $(this).addClass("btn-disabeled"); } } } function sublimeFlage(){ var fileList = $("."+widget+" :file") var flage=true; fileList.each(function(i,v,fSZids){ var fileItem=v var isIE = /msie/i.test(navigator.userAgent) && !window.opera; var fileSize = 0; if (isIE && !fileItem.files.length > 0) { var filePath = fileItem.value; var fileSystem = new ActiveXObject("Scripting.FileSystemObject"); var file = fileSystem.GetFile (filePath); fileSize = file.Size; } else if (fileItem.files.length > 0) { fileSize = fileItem.files[0].size; } var sizes = fileSize / 1024; var errLenght =$(v).parent().find(".errgreater").length if(sizes>10000){ flage=false } if(sizes>10000 && errLenght<1){ $(v).parent().append("

附件不能大于10M

"); } else if(sizes<10000){ $(v).parent().find(".errgreater").remove() } }) return flage } function prodNumFunc(inputObj){ var uid = $(inputObj).attr("unique_Id"); var position = $("."+widget+" #"+uid).index(); jsonData[position].quantity=$(inputObj).val(); $("."+widget+" #paramsJson").val(JSON.stringify(jsonData)); } function checkMail(Object){ if(!validateMail($(Object).val())){ if(undefined==$(Object).next(".errormessage").html()){ $(Object).after(''); } if($(Object).next(".errormessage").html() == ""){ $(Object).next(".errormessage").html('请输入有效邮箱地址').show(); } return false; }else{ $(Object).next(".errormessage").html("").hide(); return true; } } function checkEmpty(Object){ var isverifyCode = ($(Object).attr("id")=="faptcha_response_field"); var formAgreement = ($(Object).attr("id")=="formbuilder_agreement"); if(isverifyCode){ if(""==$.trim($(Object).val())){ $(Object).parent().find(".errormessage").html('该字段不能为空').show(); return false; }else{ $(Object).parent().find(".errormessage").html("").hide(); return true; } }else if (formAgreement) { var objectSubParent = $(Object).parent().parent(); if(!$(Object).is(":checked")) { //console.log($(Object).attr('name'), $(Object).is(":checked").length) if(undefined==objectSubParent.find(".errormessage").html()){ objectSubParent.append(''); } if(objectSubParent.find(".errormessage").html() == ""){ objectSubParent.find(".errormessage").html('该字段不能为空').show(); } return false; }else{ objectSubParent.find(".errormessage").html("").hide(); return true; } } else { if(""==$.trim($(Object).val())){ if(undefined==$(Object).next(".errormessage").html()){ $(Object).after(''); } if($(Object).next(".errormessage").html() == ""){ $(Object).next(".errormessage").html('该字段不能为空').show(); } return false; }else{ $(Object).next(".errormessage").html("").hide(); return true; } } } function validateMail(mail){ var patten = new RegExp(/^([a-zA-Z0-9_\-'])*([\.a-zA-Z0-9_\-'])+@([a-zA-Z0-9_\-'])+((\.[a-zA-Z0-9_\-']+)+)\s*$/); if ($.isEmptyObject(mail) || patten.test(mail)) { return true; } else { return false; } } var OppositeColorNormal = phoenixSite.opColor.getOppositeColor(""); })(window,jQuery) }catch(e){try{console && console.log && console.log(e);}catch(e){}} /*id='u_e050c0f1fcb44948a37e6425b863aaed' guid='u_e050c0f1fcb44948a37e6425b863aaed' pm_script='sitewidget-form-20180615095822' jumpTo='DoAfCyrnSJGV' type='text/javascript'*/ try{ $(function(){ }); }catch(e){try{console && console.log && console.log(e);}catch(e){}} })(_window, _$); }) } }); })(this, jQuery) }catch(e){try{console && console.log && console.log(e);}catch(e){}} /*id='u_e65bffa244fa42d4b67966dc884249e9' guid='u_e65bffa244fa42d4b67966dc884249e9' pm_script='sitewidget-prodScrolling-20180710170509' data_collect='true' type='text/javascript'*/ try{ ;(function(window, $, undefined) { /**guid='e147f60b-7013-4ac5-b140-533a95c5f7a5' collectToRender='true' jumpName='rIpUhTGAYOzL' ajaxLoad='' type='text/javascript'**/ /*id='u_34288e19eda74f49aa9f581838c9db1e' guid='u_34288e19eda74f49aa9f581838c9db1e' pm_script='sitewidget-prodScrolling-20180710170509' jumpTo='rIpUhTGAYOzL' type='text/javascript'*/ try{ $(function() { $('.sitewidget-prodScrolling-20180710170509 .responsive').on('init', function(slick){ var rIpUhTGAYOzL_defereds = []; var rIpUhTGAYOzL_imgObj = $('.sitewidget-prodScrolling-20180710170509 .responsive .slick-current img'); rIpUhTGAYOzL_imgObj.each(function() { var dfd = $.Deferred(); $(this).load(dfd.resolve); rIpUhTGAYOzL_defereds.push(dfd); }); $.when.apply(null, rIpUhTGAYOzL_defereds).done(function() { $(".sitewidget-prodScrolling-20180710170509 .responsive .slick-arrow").css('top',rIpUhTGAYOzL_imgObj.height()/2 ); }); }); $('.sitewidget-prodScrolling-20180710170509 .responsive').on('afterChange', function(){ $(".sitewidget-prodScrolling-20180710170509 .responsive .slick-arrow").css('top',$('.sitewidget-prodScrolling-20180710170509 .responsive .slick-current img').height()/2 ); }); $('.sitewidget-prodScrolling-20180710170509 .responsive').slick({ dots: false, infinite: true, speed: 500, draggable:false, arrows:true, autoplay: true, autoplaySpeed: 2000, slidesToShow: 5, slidesToScroll: 1, responsive: [ { breakpoint: 1367, settings: { slidesToShow: 5, slidesToScroll: 1 } }, { breakpoint: 1025, settings: { slidesToShow: 4, slidesToScroll: 1 } }, { breakpoint: 769, settings: { slidesToShow: 3, slidesToScroll: 1 } }, { breakpoint: 651, settings: { slidesToShow: 3, slidesToScroll: 1 } }, { breakpoint: 480, settings: { slidesToShow: 2, slidesToScroll: 1 } } ] }); }); }catch(e){try{console && console.log && console.log(e);}catch(e){}} /*id='u_978afe24f9aa4c85a269e17a1234ebde' guid='u_978afe24f9aa4c85a269e17a1234ebde' pm_script='sitewidget-prodScrolling-20180710170509' jumpTo='rIpUhTGAYOzL' type='text/javascript'*/ try{ $(function(){ $(".sitewidget-touchgraphicslider-intro").each(function(){ var prodIntroWords=$.trim($(this).text()).length; if(prodIntroWords>120) { var limitwords=$.trim($(this).text()).substring(0,119)+"..."; $(this).text(limitwords); } }) }); }catch(e){try{console && console.log && console.log(e);}catch(e){}} })(window, $); }catch(e){try{console && console.log && console.log(e);}catch(e){}} /*id='u_90542c541261440385055a5bc941a24a' guid='u_90542c541261440385055a5bc941a24a' pm_script='sitewidget-button-20170720151452' data_collect='true' type='text/javascript'*/ try{ ;(function(window, $, undefined){ var _$ = $, _window = window; var css_depand = '["//5rrorwxhkknmiik.leadongcdn.com/static/t-7jBmBKiKqnjkooimqqikj/assets/widget/style/component/button/button.css"]'; try { css_depand = $.parseJSON(css_depand); } catch (e) { css_depand = ""; } if (!!!css_depand || !$.isArray(css_depand)) { return; } var id = "component_ZtpUBVkbLqjg", el = $('#' + id); var uuId = "button" + "_" + "ZtpUBVkbLqjg"; var threshold = $.trim('360'); if (!!!threshold) { threshold = '0'; } if (threshold == '-1') { loadCssImmediate(); return; } function loadCssImmediate() { $.each(css_depand, function(i,v){ var options = {}; options.url = v; options.callback = function(){ }; LABHelper.loadCss(options); }) } var _settings = { threshold : threshold, container : window }; var events = ['scroll', 'resize']; var checkInviewportCallFunction = null; function unbindEvents() { $.each(events, function(k, v){ var nameSpace = v + '.' + "lazy_css_" + uuId; $(_window).unbind(nameSpace); }) } function callFunction(){ if (!!el.data('lazy_css_callFunction')) { unbindEvents(); clearInterval(checkInviewportCallFunction); return; } loadCssImmediate(); } (function(window, $, undefined) { $.each(events, function(k, v){ var nameSpace = v + '.' + "lazy_css_" + uuId; $(window).unbind(nameSpace).bind(nameSpace, function(){ if (LABHelper.inviewport(el, _settings)) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } }); }) checkInviewportCallFunction = setInterval(function(){ var isInviewport = LABHelper.inviewport(el, _settings); if (isInviewport && !!!el.data('lazy_css_callFunction')) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } if (isInviewport && !!el.data('lazy_css_callFunction')) { clearInterval(checkInviewportCallFunction); } }, 100); })(window, $); if (LABHelper.inviewport(el, _settings)) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } })(this, jQuery); ;(function(window, $, undefined){ $(function(){ var id = "component_ZtpUBVkbLqjg", el = $('#' + id); var uuId = "button" + "_" + "ZtpUBVkbLqjg"; var _$ = $, _window = window; var events = ['scroll', 'resize']; var checkInviewportCallFunction = null; var threshold = $.trim('50'); if (!!!threshold) { threshold = '0'; } if (threshold == '-1') { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); return; } var _settings = { threshold : threshold, container : window }; function unbindEvents() { $.each(events, function(k, v){ var nameSpace = v + '.' + "lab_" + uuId; $(_window).unbind(nameSpace); }) } function callFunction(){ if (!!el.data('lab_callFunction')) { unbindEvents(); clearInterval(checkInviewportCallFunction); return; } var js_depand = '["//5mrorwxhkknmrij.leadongcdn.com/static/t-7jBmBKiKqnjkooimqqikj/assets/widget/script/plugins/button/button.js"]'; js_depand = $.trim(js_depand); try { js_depand = $.parseJSON(js_depand); } catch (e) { js_depand = ""; } $LAB.setOptions({AlwaysPreserveOrder:true}).script(js_depand).wait(function(){ unbindEvents(); clearInterval(checkInviewportCallFunction); if (!!el.data('lab_callFunction')) { return; } el.data('lab_callFunction', true); (function(window, $, undefined) { /**guid='ee06fe3e-0769-4086-bd97-1c298b0c0a9c' jumpNameRepeatHack='false' collectToRender='true' jumpName='ZtpUBVkbLqjg' ajaxLoad='' type='text/javascript'**/ /*id='u_9ff98f5981e94057af355b89981247c8' guid='u_9ff98f5981e94057af355b89981247c8' pm_script='sitewidget-button-20170720151452' jumpTo='ZtpUBVkbLqjg' type='text/javascript'*/ try{ $(function(){ $(".sitewidget-button-20170720151452 .backstage-component-btn").each(function(){ var link = $(this).attr("href"); var anchor = ""; //button的href属性不存在 if (!link || link.indexOf("#") == -1) { return; } if (link.indexOf('http') == 0) { return; } anchor = link.substr(link.indexOf("#")); if (anchor.indexOf('=') != -1) { return; } // 发送GA跟踪报告 if ($(anchor).length == 0) { return; } // $(this).attr("href","javascript:;"); $(this).off("click").on("click",function(){ $("body").animate({"scrollTop":$(anchor).offset().top},500); }); }); }); }catch(e){try{console && console.log && console.log(e);}catch(e){}} })(_window, _$); }) } (function(window, $, undefined) { $.each(events, function(k, v){ var nameSpace = v + '.' + "lab_" + uuId; $(window).unbind(nameSpace).bind(nameSpace, function(){ if (LABHelper.inviewport(el, _settings)) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } }); }) checkInviewportCallFunction = setInterval(function(){ var isInviewport = LABHelper.inviewport(el, _settings); if (isInviewport && !!!el.data('lab_callFunction')) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } if (isInviewport && !!el.data('lab_callFunction')) { clearInterval(checkInviewportCallFunction); } }, 100); })(window, $); if (LABHelper.inviewport(el, _settings)) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } }); })(this, jQuery) }catch(e){try{console && console.log && console.log(e);}catch(e){}} /*id='u_7104aed20d5546958b66729f74e526c8' guid='u_7104aed20d5546958b66729f74e526c8' pm_script='sitewidget-button-20180521105027' data_collect='true' type='text/javascript'*/ try{ ;(function(window, $, undefined){ var _$ = $, _window = window; var css_depand = '["//5irorwxhkknmjik.leadongcdn.com/static/t-7jBmBKiKqnjkooimqqikj/assets/widget/style/component/button/button.css"]'; try { css_depand = $.parseJSON(css_depand); } catch (e) { css_depand = ""; } if (!!!css_depand || !$.isArray(css_depand)) { return; } var id = "component_lApfhbkGlmiq", el = $('#' + id); var uuId = "button" + "_" + "lApfhbkGlmiq"; var threshold = $.trim('360'); if (!!!threshold) { threshold = '0'; } if (threshold == '-1') { loadCssImmediate(); return; } function loadCssImmediate() { $.each(css_depand, function(i,v){ var options = {}; options.url = v; options.callback = function(){ }; LABHelper.loadCss(options); }) } var _settings = { threshold : threshold, container : window }; var events = ['scroll', 'resize']; var checkInviewportCallFunction = null; function unbindEvents() { $.each(events, function(k, v){ var nameSpace = v + '.' + "lazy_css_" + uuId; $(_window).unbind(nameSpace); }) } function callFunction(){ if (!!el.data('lazy_css_callFunction')) { unbindEvents(); clearInterval(checkInviewportCallFunction); return; } loadCssImmediate(); } (function(window, $, undefined) { $.each(events, function(k, v){ var nameSpace = v + '.' + "lazy_css_" + uuId; $(window).unbind(nameSpace).bind(nameSpace, function(){ if (LABHelper.inviewport(el, _settings)) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } }); }) checkInviewportCallFunction = setInterval(function(){ var isInviewport = LABHelper.inviewport(el, _settings); if (isInviewport && !!!el.data('lazy_css_callFunction')) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } if (isInviewport && !!el.data('lazy_css_callFunction')) { clearInterval(checkInviewportCallFunction); } }, 100); })(window, $); if (LABHelper.inviewport(el, _settings)) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } })(this, jQuery); ;(function(window, $, undefined){ $(function(){ var id = "component_lApfhbkGlmiq", el = $('#' + id); var uuId = "button" + "_" + "lApfhbkGlmiq"; var _$ = $, _window = window; var events = ['scroll', 'resize']; var checkInviewportCallFunction = null; var threshold = $.trim('50'); if (!!!threshold) { threshold = '0'; } if (threshold == '-1') { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); return; } var _settings = { threshold : threshold, container : window }; function unbindEvents() { $.each(events, function(k, v){ var nameSpace = v + '.' + "lab_" + uuId; $(_window).unbind(nameSpace); }) } function callFunction(){ if (!!el.data('lab_callFunction')) { unbindEvents(); clearInterval(checkInviewportCallFunction); return; } var js_depand = '["//5rrorwxhkknmiik.leadongcdn.com/static/t-7jBmBKiKqnjkooimqqikj/assets/widget/script/plugins/button/button.js"]'; js_depand = $.trim(js_depand); try { js_depand = $.parseJSON(js_depand); } catch (e) { js_depand = ""; } $LAB.setOptions({AlwaysPreserveOrder:true}).script(js_depand).wait(function(){ unbindEvents(); clearInterval(checkInviewportCallFunction); if (!!el.data('lab_callFunction')) { return; } el.data('lab_callFunction', true); (function(window, $, undefined) { /**guid='872ca350-b776-44bd-9743-9a09250f1979' jumpNameRepeatHack='false' collectToRender='true' jumpName='lApfhbkGlmiq' ajaxLoad='' type='text/javascript'**/ /*id='u_58e3fe5d361847b499a0201065bc6648' guid='u_58e3fe5d361847b499a0201065bc6648' pm_script='sitewidget-button-20180521105027' jumpTo='lApfhbkGlmiq' type='text/javascript'*/ try{ $(function(){ $(".sitewidget-button-20180521105027 .backstage-component-btn").each(function(){ var link = $(this).attr("href"); var anchor = ""; //button的href属性不存在 if (!link || link.indexOf("#") == -1) { return; } if (link.indexOf('http') == 0) { return; } anchor = link.substr(link.indexOf("#")); if (anchor.indexOf('=') != -1) { return; } // 发送GA跟踪报告 if ($(anchor).length == 0) { return; } // $(this).attr("href","javascript:;"); $(this).off("click").on("click",function(){ $("body").animate({"scrollTop":$(anchor).offset().top},500); }); }); }); }catch(e){try{console && console.log && console.log(e);}catch(e){}} })(_window, _$); }) } (function(window, $, undefined) { $.each(events, function(k, v){ var nameSpace = v + '.' + "lab_" + uuId; $(window).unbind(nameSpace).bind(nameSpace, function(){ if (LABHelper.inviewport(el, _settings)) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } }); }) checkInviewportCallFunction = setInterval(function(){ var isInviewport = LABHelper.inviewport(el, _settings); if (isInviewport && !!!el.data('lab_callFunction')) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } if (isInviewport && !!el.data('lab_callFunction')) { clearInterval(checkInviewportCallFunction); } }, 100); })(window, $); if (LABHelper.inviewport(el, _settings)) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } }); })(this, jQuery) }catch(e){try{console && console.log && console.log(e);}catch(e){}} /*id='u_c7757193848a4124badfe9c7bd6d3a26' guid='u_c7757193848a4124badfe9c7bd6d3a26' pm_script='sitewidget-prodScrolling-20170720140034' data_collect='true' type='text/javascript'*/ try{ ;(function(window, $, undefined) { /**guid='91580f89-73dd-44d8-ad1e-ff37e26710cf' collectToRender='true' jumpName='mtUpLBaFybvg' ajaxLoad='' type='text/javascript'**/ /*id='u_424496c06ecf482c94dc2766e1b4844b' guid='u_424496c06ecf482c94dc2766e1b4844b' pm_script='sitewidget-prodScrolling-20170720140034' jumpTo='mtUpLBaFybvg' type='text/javascript'*/ try{ $(function() { $('.sitewidget-prodScrolling-20170720140034 .responsive').slick({ dots: false, infinite: true, speed: 500, draggable:false, arrows:false, autoplay: true, autoplaySpeed: 2000, slidesToShow: 5, slidesToScroll: 1, responsive: [ { breakpoint: 1367, settings: { slidesToShow: 5, slidesToScroll: 1 } }, { breakpoint: 1025, settings: { slidesToShow: 4, slidesToScroll: 1 } }, { breakpoint: 769, settings: { slidesToShow: 3, slidesToScroll: 1 } }, { breakpoint: 651, settings: { slidesToShow: 3, slidesToScroll: 1 } }, { breakpoint: 480, settings: { slidesToShow: 2, slidesToScroll: 1 } } ] }); }); }catch(e){try{console && console.log && console.log(e);}catch(e){}} /*id='u_9b5337f2812e43a283d4ca9eb7e88eda' guid='u_9b5337f2812e43a283d4ca9eb7e88eda' pm_script='sitewidget-prodScrolling-20170720140034' jumpTo='mtUpLBaFybvg' type='text/javascript'*/ try{ $(function(){ $(".sitewidget-touchgraphicslider-intro").each(function(){ var prodIntroWords=$.trim($(this).text()).length; if(prodIntroWords>120) { var limitwords=$.trim($(this).text()).substring(0,119)+"..."; $(this).text(limitwords); } }) }); }catch(e){try{console && console.log && console.log(e);}catch(e){}} })(window, $); }catch(e){try{console && console.log && console.log(e);}catch(e){}} /*id='u_dfc27ac55a344149ac973a68ec55f78e' guid='u_dfc27ac55a344149ac973a68ec55f78e' pm_script='sitewidget-button-20170720140344' data_collect='true' type='text/javascript'*/ try{ ;(function(window, $, undefined){ var _$ = $, _window = window; var css_depand = '["//5mrorwxhkknmrij.leadongcdn.com/static/t-7jBmBKiKqnjkooimqqikj/assets/widget/style/component/button/button.css"]'; try { css_depand = $.parseJSON(css_depand); } catch (e) { css_depand = ""; } if (!!!css_depand || !$.isArray(css_depand)) { return; } var id = "component_gGUKVgaFJWLq", el = $('#' + id); var uuId = "button" + "_" + "gGUKVgaFJWLq"; var threshold = $.trim('360'); if (!!!threshold) { threshold = '0'; } if (threshold == '-1') { loadCssImmediate(); return; } function loadCssImmediate() { $.each(css_depand, function(i,v){ var options = {}; options.url = v; options.callback = function(){ }; LABHelper.loadCss(options); }) } var _settings = { threshold : threshold, container : window }; var events = ['scroll', 'resize']; var checkInviewportCallFunction = null; function unbindEvents() { $.each(events, function(k, v){ var nameSpace = v + '.' + "lazy_css_" + uuId; $(_window).unbind(nameSpace); }) } function callFunction(){ if (!!el.data('lazy_css_callFunction')) { unbindEvents(); clearInterval(checkInviewportCallFunction); return; } loadCssImmediate(); } (function(window, $, undefined) { $.each(events, function(k, v){ var nameSpace = v + '.' + "lazy_css_" + uuId; $(window).unbind(nameSpace).bind(nameSpace, function(){ if (LABHelper.inviewport(el, _settings)) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } }); }) checkInviewportCallFunction = setInterval(function(){ var isInviewport = LABHelper.inviewport(el, _settings); if (isInviewport && !!!el.data('lazy_css_callFunction')) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } if (isInviewport && !!el.data('lazy_css_callFunction')) { clearInterval(checkInviewportCallFunction); } }, 100); })(window, $); if (LABHelper.inviewport(el, _settings)) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } })(this, jQuery); ;(function(window, $, undefined){ $(function(){ var id = "component_gGUKVgaFJWLq", el = $('#' + id); var uuId = "button" + "_" + "gGUKVgaFJWLq"; var _$ = $, _window = window; var events = ['scroll', 'resize']; var checkInviewportCallFunction = null; var threshold = $.trim('50'); if (!!!threshold) { threshold = '0'; } if (threshold == '-1') { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); return; } var _settings = { threshold : threshold, container : window }; function unbindEvents() { $.each(events, function(k, v){ var nameSpace = v + '.' + "lab_" + uuId; $(_window).unbind(nameSpace); }) } function callFunction(){ if (!!el.data('lab_callFunction')) { unbindEvents(); clearInterval(checkInviewportCallFunction); return; } var js_depand = '["//5irorwxhkknmjik.leadongcdn.com/static/t-7jBmBKiKqnjkooimqqikj/assets/widget/script/plugins/button/button.js"]'; js_depand = $.trim(js_depand); try { js_depand = $.parseJSON(js_depand); } catch (e) { js_depand = ""; } $LAB.setOptions({AlwaysPreserveOrder:true}).script(js_depand).wait(function(){ unbindEvents(); clearInterval(checkInviewportCallFunction); if (!!el.data('lab_callFunction')) { return; } el.data('lab_callFunction', true); (function(window, $, undefined) { /**guid='eda856b3-7c2f-4d0b-bc79-92e2269e38c8' jumpNameRepeatHack='false' collectToRender='true' jumpName='gGUKVgaFJWLq' ajaxLoad='' type='text/javascript'**/ /*id='u_96ba4b7aff8c4a10922b7b29668f9030' guid='u_96ba4b7aff8c4a10922b7b29668f9030' pm_script='sitewidget-button-20170720140344' jumpTo='gGUKVgaFJWLq' type='text/javascript'*/ try{ $(function(){ $(".sitewidget-button-20170720140344 .backstage-component-btn").each(function(){ var link = $(this).attr("href"); var anchor = ""; //button的href属性不存在 if (!link || link.indexOf("#") == -1) { return; } if (link.indexOf('http') == 0) { return; } anchor = link.substr(link.indexOf("#")); if (anchor.indexOf('=') != -1) { return; } // 发送GA跟踪报告 if ($(anchor).length == 0) { return; } // $(this).attr("href","javascript:;"); $(this).off("click").on("click",function(){ $("body").animate({"scrollTop":$(anchor).offset().top},500); }); }); }); }catch(e){try{console && console.log && console.log(e);}catch(e){}} })(_window, _$); }) } (function(window, $, undefined) { $.each(events, function(k, v){ var nameSpace = v + '.' + "lab_" + uuId; $(window).unbind(nameSpace).bind(nameSpace, function(){ if (LABHelper.inviewport(el, _settings)) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } }); }) checkInviewportCallFunction = setInterval(function(){ var isInviewport = LABHelper.inviewport(el, _settings); if (isInviewport && !!!el.data('lab_callFunction')) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } if (isInviewport && !!el.data('lab_callFunction')) { clearInterval(checkInviewportCallFunction); } }, 100); })(window, $); if (LABHelper.inviewport(el, _settings)) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } }); })(this, jQuery) }catch(e){try{console && console.log && console.log(e);}catch(e){}} /*id='u_d6ddd333bb4c469a90992c938dea3fd7' guid='u_d6ddd333bb4c469a90992c938dea3fd7' pm_script='sitewidget-prodCategory-20180521161710' data_collect='true' type='text/javascript'*/ try{ ;(function(window, $, undefined){ $(function(){ var id = "component_uEAUMbFzkQmB", el = $('#' + id); var uuId = "prodCategory" + "_" + "uEAUMbFzkQmB"; var _$ = $, _window = window; var events = ['scroll', 'resize']; var checkInviewportCallFunction = null; var threshold = $.trim('50'); if (!!!threshold) { threshold = '0'; } if (threshold == '-1') { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); return; } var _settings = { threshold : threshold, container : window }; function unbindEvents() { $.each(events, function(k, v){ var nameSpace = v + '.' + "lab_" + uuId; $(_window).unbind(nameSpace); }) } function callFunction(){ if (!!el.data('lab_callFunction')) { unbindEvents(); clearInterval(checkInviewportCallFunction); return; } var js_depand = '["//5rrorwxhkknmiik.leadongcdn.com/static/t-7jBmBKiKqnjkooimqqikj/assets/widget/script/plugins/smartmenu/js/jquery.smartmenus.js"]'; js_depand = $.trim(js_depand); try { js_depand = $.parseJSON(js_depand); } catch (e) { js_depand = ""; } $LAB.setOptions({AlwaysPreserveOrder:true}).script(js_depand).wait(function(){ unbindEvents(); clearInterval(checkInviewportCallFunction); if (!!el.data('lab_callFunction')) { return; } el.data('lab_callFunction', true); (function(window, $, undefined) { /**guid='17fa7426-badc-4425-a410-1635d07963a7' jumpNameRepeatHack='false' collectToRender='true' jumpName='uEAUMbFzkQmB' ajaxLoad='' type='text/javascript'**/ /*id='u_5be1df1b973a4320b3604304e03f2a31' guid='u_5be1df1b973a4320b3604304e03f2a31' pm_script='sitewidget-prodCategory-20180521161710' jumpTo='uEAUMbFzkQmB' type='text/javascript'*/ try{ $(function(){ phoenixSite.sitewidgets.prodGroupCategoryThumbToggle(".sitewidget-prodCategory-20180521161710"); }) }catch(e){try{console && console.log && console.log(e);}catch(e){}} /*id='u_53322a6f424d46719d4e4f2f88ebdce8' guid='u_53322a6f424d46719d4e4f2f88ebdce8' pm_script='sitewidget-prodCategory-20180521161710' jumpTo='uEAUMbFzkQmB' type='text/javascript'*/ try{ (function(window, $, undefined){ $(function(){ $('.sitewidget-prodCategory-20180521161710 #menu-blue-vertical,#menu-clean-vertical,#menu-simple-vertical').smartmenus({ subMenusSubOffsetX: 0, subMenusSubOffsetY: -1 }); $('.sitewidget-prodCategory-20180521161710 #menu-mint-vertical').smartmenus({ subMenusSubOffsetX: 0, subMenusSubOffsetY: -1 }); }); $(function() { var subListOn = $(".sitewidget-prodCategory-20180521161710 .slight-submenu-wrap ul .on"); if(subListOn.length){ subListOn.parents('ul').show(); subListOn.parents('ul').siblings(".slight-submenu-button").addClass("opened"); } if($('.sitewidget-prodGroupCategory .sitewidget-bd ul li').hasClass('on')){ $('.sitewidget-prodGroupCategory .sitewidget-bd ul .on').children('.slight-submenu-button').addClass('opened'); $('.sitewidget-prodGroupCategory .sitewidget-bd ul .on').children('ul').css('display','block'); } }); })(window, jQuery); }catch(e){try{console && console.log && console.log(e);}catch(e){}} })(_window, _$); }) } (function(window, $, undefined) { $.each(events, function(k, v){ var nameSpace = v + '.' + "lab_" + uuId; $(window).unbind(nameSpace).bind(nameSpace, function(){ if (LABHelper.inviewport(el, _settings)) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } }); }) checkInviewportCallFunction = setInterval(function(){ var isInviewport = LABHelper.inviewport(el, _settings); if (isInviewport && !!!el.data('lab_callFunction')) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } if (isInviewport && !!el.data('lab_callFunction')) { clearInterval(checkInviewportCallFunction); } }, 100); })(window, $); if (LABHelper.inviewport(el, _settings)) { unbindEvents(); clearInterval(checkInviewportCallFunction); callFunction(); } }); })(this, jQuery) }catch(e){try{console && console.log && console.log(e);}catch(e){}} /*id='u_c8587beec35a49dbb1ccc5e85bc05c77' guid='u_c8587beec35a49dbb1ccc5e85bc05c77' jumpOrder='last' pm_script='probe' jumpTo='bottom' type='text/javascript'*/ try{ var __probe__ = __probe__ || {}; __probe__['prefix'] = '//5mrorwxhkknmrij.leadongcdn.com'; __probe__['pId'] = 'hLfKUqcuZQHV'; __probe__['pCId'] = ''; __probe__['argSuffix'] = ''; __probe__['random'] = new Date().getTime()+((1+Math.random() * 65536)|0).toString(16).substring(1); __probe__['debug'] = 'false'; __probe__['_menu_prefix'] = ''; __probe__['_referer_'] = document.referrer || ''; (function(){ var p = document.createElement('script'); p.type = 'text/javascript'; p.async = true; p.src = '//5irorwxhkknmjik.leadongcdn.com/static/assets/script/plugins/probe/probe.js?_=1573266917731'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(p, s); })(); }catch(e){try{console && console.log && console.log(e);}catch(e){}}
本厂家严重声明:博奥公司在柳州只有一家公司,没有分公司
子公司及关联公司,请大家注意,如有雷同,请让对方提供营业执照核实身份,
谨防上当!
×