/*id='u_3ff9d78ce50f464e823fe154d3004a62' guid='u_3ff9d78ce50f464e823fe154d3004a62' 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_e622df81f76141bb905fa4f83aca4951' guid='u_e622df81f76141bb905fa4f83aca4951' 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 = '["//5irorwxhkknmjik.leadongcdn.com/static/t-7mBmBKiKqnqiinkimqiqi/assets/widget/script/plugins/smartmenu/js/jquery.smartmenusUpdate.js","//5rrorwxhkknmiik.leadongcdn.com/static/t-7mBmBKiKqnqiinkimqiqi/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='4eab18b6-b1f2-457d-80a9-54920b8da909' collectToRender='true' ajaxLoad='' jumpNameRepeatHack='false' jumpName='UNfKBVAODMaL' type='text/javascript'**/ /*id='u_e812094cf1474f89aa1d6277db11d2a2' guid='u_e812094cf1474f89aa1d6277db11d2a2' jumpTo='UNfKBVAODMaL' pm_script='sitewidget-navigation_style-20170712140457' 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("//5mrorwxhkknmrij.leadongcdn.com/static/assets/widget/script/compsettings/comp.navigation_style.settings.js?_=1571751137971", 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_9a5de945fbea4a86b401f2c26203d2c2' guid='u_9a5de945fbea4a86b401f2c26203d2c2' 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='f3a5d812-81cd-4a9f-8732-058d43be70be' collectToRender='true' ajaxLoad='' jumpNameRepeatHack='false' jumpName='rsAKhSrnaTtB' type='text/javascript'**/ /*id='u_77f647d222874e029f5a7e12b96950d0' guid='u_77f647d222874e029f5a7e12b96950d0' jumpTo='rsAKhSrnaTtB' pm_script='sitewidget-prodCatalog-20180615092547' 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_063fa641b6b64386a850049296b614ae' guid='u_063fa641b6b64386a850049296b614ae' 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 = '["//5irorwxhkknmjik.leadongcdn.com/static/t-7mBmBKiKqnqiinkimqiqi/assets/widget/script/plugins/prodList/prodListFront.js","//5rrorwxhkknmiik.leadongcdn.com/static/t-7mBmBKiKqnqiinkimqiqi/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='06714e70-0c8f-4202-92ef-58e3477e4560' collectToRender='true' ajaxLoad='' jumpNameRepeatHack='false' jumpName='nwAfBWzNaJLg' type='text/javascript'**/ /*id='u_03aea2bdc5694fcd93a0d2be0ad47efc' guid='u_03aea2bdc5694fcd93a0d2be0ad47efc' jumpTo='nwAfBWzNaJLg' pm_script='sitewidget-prodListNew-20170817143137' 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', '//5irorwxhkknmjik.leadongcdn.com/cloud/ikBqiKimRikSmimijljo/full1.png'); } else { $(this).attr('src', '//5rrorwxhkknmiik.leadongcdn.com/cloud/iqBqjKlqRikSmriijnjn/empty1.png'); } }) if (isHalf) { this.$item.eq(count).attr('src', '//5irorwxhkknmjik.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_748385f363b44a13bec291a3cae1fb18' guid='u_748385f363b44a13bec291a3cae1fb18' jumpTo='nwAfBWzNaJLg' pm_script='sitewidget-prodListNew-20170817143137' 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_12872b384ae14898b95a1eb28a801dce' guid='u_12872b384ae14898b95a1eb28a801dce' jumpTo='nwAfBWzNaJLg' pm_script='sitewidget-prodListNew-20170817143137' type='text/javascript'*/ try{ (function(window,jQuery,undefined){ var hasProducts = false; hasProducts = true; var payModuleFlag = $('input[name=payModuleFlag]')[0] == undefined ? '0' : '1'; var options = { 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; 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("//5mrorwxhkknmrij.leadongcdn.com/static/assets/widget/script/plugins/prodList/prodListFront.js?_=1571751137971", function(){ phoenixSite.prodList.init(options); }); }) }else { $(function(){ if (phoenixSite.prodList && phoenixSite.prodList !== 'undefined' && typeof phoenixSite.prodList.init == "function") { phoenixSite.prodList.init(options); return; } $.getScript("//5irorwxhkknmjik.leadongcdn.com/static/assets/widget/script/plugins/prodList/prodListFront.js?_=1571751137971", function(){ phoenixSite.prodList.init(options); }); }); } })(window,jQuery) }catch(e){try{console && console.log && console.log(e);}catch(e){}} /*id='u_27b2184ce2f24be0b1d532f5b619cc0e' guid='u_27b2184ce2f24be0b1d532f5b619cc0e' jumpTo='nwAfBWzNaJLg' pm_script='sitewidget-prodListNew-20170817143137' 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_a92d64c27bd2469ca01e0e1729e3451b' guid='u_a92d64c27bd2469ca01e0e1729e3451b' 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_f93b1b4a766448d5951a2bdf506e4cbc' guid='u_f93b1b4a766448d5951a2bdf506e4cbc' 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='dafc8972-2422-4db6-9b2b-c7b96e18dc3e' collectToRender='true' ajaxLoad='' jumpNameRepeatHack='false' jumpName='rtKAhIMndEPL' type='text/javascript'**/ /*id='u_1f649239c8b840e38ecb54473b64e6a5' guid='u_1f649239c8b840e38ecb54473b64e6a5' jumpTo='rtKAhIMndEPL' pm_script='sitewidget-articleListNew-20180615094007' 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_6f417f7eb85043ba875ac35e3a2da1e1' guid='u_6f417f7eb85043ba875ac35e3a2da1e1' pm_script='sitewidget-form-20180615095822' data_collect='true' type='text/javascript'*/ try{ ;(function(window, $, undefined){ var _$ = $, _window = window; var css_depand = '["//5rrorwxhkknmiik.leadongcdn.com/static/t-7mBmBKiKqnqiinkimqiqi/assets/widget/style/component/form/form.css","//5mrorwxhkknmrij.leadongcdn.com/static/t-7mBmBKiKqnqiinkimqiqi/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 = '["//5irorwxhkknmjik.leadongcdn.com/static/t-7mBmBKiKqnqiinkimqiqi/assets/widget/script/plugins/My97DatePicker/WdatePicker.js","//5rrorwxhkknmiik.leadongcdn.com/static/t-7mBmBKiKqnqiinkimqiqi/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='cf764a51-7a48-430a-96f0-b7124d66ea49' collectToRender='true' ajaxLoad='' jumpNameRepeatHack='false' jumpName='DoAfCyrnSJGV' type='text/javascript'**/ /*id='u_770836877a534eabb4babd31cdf837d4' guid='u_770836877a534eabb4babd31cdf837d4' jumpTo='DoAfCyrnSJGV' pm_script='sitewidget-form-20180615095822' 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_5c782985f1664f8da435ac9abe27f67e' guid='u_5c782985f1664f8da435ac9abe27f67e' jumpTo='DoAfCyrnSJGV' pm_script='sitewidget-form-20180615095822' 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_224df9fda27e43c0a83d7a64fd446552' guid='u_224df9fda27e43c0a83d7a64fd446552' pm_script='sitewidget-prodScrolling-20180710170509' data_collect='true' type='text/javascript'*/ try{ ;(function(window, $, undefined) { /**guid='828be881-c1e3-4bf7-ba4c-0d4b07344c4d' collectToRender='true' ajaxLoad='' jumpName='rIpUhTGAYOzL' type='text/javascript'**/ /*id='u_d2df8ff86666411895ff7f4e45532be0' guid='u_d2df8ff86666411895ff7f4e45532be0' jumpTo='rIpUhTGAYOzL' pm_script='sitewidget-prodScrolling-20180710170509' 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_02daa381c4954672a537c644b992140d' guid='u_02daa381c4954672a537c644b992140d' jumpTo='rIpUhTGAYOzL' pm_script='sitewidget-prodScrolling-20180710170509' 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_bcafe5c74a7645cc8150365fb03ce6d4' guid='u_bcafe5c74a7645cc8150365fb03ce6d4' pm_script='sitewidget-button-20170720151452' data_collect='true' type='text/javascript'*/ try{ ;(function(window, $, undefined){ var _$ = $, _window = window; var css_depand = '["//5mrorwxhkknmrij.leadongcdn.com/static/t-7mBmBKiKqnqiinkimqiqi/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 = '["//5irorwxhkknmjik.leadongcdn.com/static/t-7mBmBKiKqnqiinkimqiqi/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='1f0b0532-a693-4523-83c0-9d96489c430e' collectToRender='true' ajaxLoad='' jumpNameRepeatHack='false' jumpName='ZtpUBVkbLqjg' type='text/javascript'**/ /*id='u_a09835be24274e4a9902beba5c921936' guid='u_a09835be24274e4a9902beba5c921936' jumpTo='ZtpUBVkbLqjg' pm_script='sitewidget-button-20170720151452' 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_04a2de5a23dd47749d8a59524da0c7b6' guid='u_04a2de5a23dd47749d8a59524da0c7b6' pm_script='sitewidget-button-20180521105027' data_collect='true' type='text/javascript'*/ try{ ;(function(window, $, undefined){ var _$ = $, _window = window; var css_depand = '["//5rrorwxhkknmiik.leadongcdn.com/static/t-7mBmBKiKqnqiinkimqiqi/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 = '["//5mrorwxhkknmrij.leadongcdn.com/static/t-7mBmBKiKqnqiinkimqiqi/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='de7a6749-1ee9-45dc-bf1a-c9c651c7a22a' collectToRender='true' ajaxLoad='' jumpNameRepeatHack='false' jumpName='lApfhbkGlmiq' type='text/javascript'**/ /*id='u_aec9729dd77f48a6ac9509d28e5a2b36' guid='u_aec9729dd77f48a6ac9509d28e5a2b36' jumpTo='lApfhbkGlmiq' pm_script='sitewidget-button-20180521105027' 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_ff33c74707174c8a81b248f0a6dea5da' guid='u_ff33c74707174c8a81b248f0a6dea5da' pm_script='sitewidget-prodScrolling-20170720140034' data_collect='true' type='text/javascript'*/ try{ ;(function(window, $, undefined) { /**guid='ffa8eff6-e81c-464e-a574-146197106818' collectToRender='true' ajaxLoad='' jumpName='mtUpLBaFybvg' type='text/javascript'**/ /*id='u_239e1cc76a594b318219336e1a4de784' guid='u_239e1cc76a594b318219336e1a4de784' jumpTo='mtUpLBaFybvg' pm_script='sitewidget-prodScrolling-20170720140034' 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_d8161b300087443b8c631cac579a26af' guid='u_d8161b300087443b8c631cac579a26af' jumpTo='mtUpLBaFybvg' pm_script='sitewidget-prodScrolling-20170720140034' 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_04c23dd2fbb64e62918102eff564459f' guid='u_04c23dd2fbb64e62918102eff564459f' pm_script='sitewidget-button-20170720140344' data_collect='true' type='text/javascript'*/ try{ ;(function(window, $, undefined){ var _$ = $, _window = window; var css_depand = '["//5irorwxhkknmjik.leadongcdn.com/static/t-7mBmBKiKqnqiinkimqiqi/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 = '["//5rrorwxhkknmiik.leadongcdn.com/static/t-7mBmBKiKqnqiinkimqiqi/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='00deb22a-e0e1-4f3c-a767-8d8a74152504' collectToRender='true' ajaxLoad='' jumpNameRepeatHack='false' jumpName='gGUKVgaFJWLq' type='text/javascript'**/ /*id='u_8c7266c063dc437eb89b486ddde772a5' guid='u_8c7266c063dc437eb89b486ddde772a5' jumpTo='gGUKVgaFJWLq' pm_script='sitewidget-button-20170720140344' 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_6ed43b1985354c8682a1ff4349ab2ee5' guid='u_6ed43b1985354c8682a1ff4349ab2ee5' 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 = '["//5mrorwxhkknmrij.leadongcdn.com/static/t-7mBmBKiKqnqiinkimqiqi/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='ca11fe79-fe6a-45a9-8af9-bde325411517' collectToRender='true' ajaxLoad='' jumpNameRepeatHack='false' jumpName='uEAUMbFzkQmB' type='text/javascript'**/ /*id='u_1e632cfc6cb34213a70147562f79fa81' guid='u_1e632cfc6cb34213a70147562f79fa81' jumpTo='uEAUMbFzkQmB' pm_script='sitewidget-prodCategory-20180521161710' type='text/javascript'*/ try{ $(function(){ phoenixSite.sitewidgets.prodGroupCategoryThumbToggle(".sitewidget-prodCategory-20180521161710"); }) }catch(e){try{console && console.log && console.log(e);}catch(e){}} /*id='u_43d67ffed7714018a8e6ee3c4c0fe36e' guid='u_43d67ffed7714018a8e6ee3c4c0fe36e' jumpTo='uEAUMbFzkQmB' pm_script='sitewidget-prodCategory-20180521161710' 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_2558915549d94fe7b22655fbd88f9601' guid='u_2558915549d94fe7b22655fbd88f9601' jumpTo='bottom' jumpOrder='last' pm_script='probe' type='text/javascript'*/ try{ var __probe__ = __probe__ || {}; __probe__['prefix'] = '//5irorwxhkknmjik.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 = '//5rrorwxhkknmiik.leadongcdn.com/static/assets/script/plugins/probe/probe.js?_=1571751137971'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(p, s); })(); }catch(e){try{console && console.log && console.log(e);}catch(e){}}
本厂家严重声明:博奥公司在柳州只有一家公司,没有分公司
子公司及关联公司,请大家注意,如有雷同,请让对方提供营业执照核实身份,
谨防上当!
×