//=== viewid:dh_style_35_1575428127413,dh_style_35_1576068068851 ===// /*pc,鎵嬫満鏄剧ず闅愯棌*/ function is_mobile(){ return window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767); } var is_mobile_boolean = is_mobile(); $(function(){ /*pc,鎵嬫満鏄剧ず闅愯棌*/ }) //=== viewid:dh_style_35_1575428127413 ===// function navSwtich(obj) { $(obj).siblings(".menuUlCopy").slideToggle(200); $(obj).toggleClass('ontoggle'); $(obj).parent().siblings().find(".menuUlCopy").slideUp(200); $(obj).parent().siblings().find(".fa-angle-down").removeClass('ontoggle'); } function subLeft_dh_style_35_1575428127413(){ $("#dh_style_35_1575428127413 .menuUl>li").each(function(){ $(this).find(".menuUl03").css("left",'100%'); }) } $(window).resize(function() { subLeft_dh_style_35_1575428127413(); }) $(function(){ $("#dh_style_35_1575428127413 .fa-navicon").click(function(){ $("#dh_style_35_1575428127413").addClass('clearTransform'); $("#dh_style_35_1575428127413 .menuUlCopy").each(function(){ $(this).siblings(".fa").show(); }) }) subLeft_dh_style_35_1575428127413(); $("#dh_style_35_1575428127413 .subBox").css("top",$("#dh_style_35_1575428127413 .menuUl_box").height()); if($("#dh_style_35_1575428127413 .menuUl").hasClass("noHover")){ var tabNum = 0; $("#dh_style_35_1575428127413 .menuUl>li").find(".Onsub").each(function(){ tabNum += 1; $(this).parent().attr("tabNum",tabNum) }) $("#dh_style_35_1575428127413 .menuUl>li .Onsub").mouseover(function(){ $("#dh_style_35_1575428127413 .subBox").show(); var index = $(this).parent().attr("tabNum"); $("#dh_style_35_1575428127413 .subBox .subItems").eq(index-1).fadeIn(100).siblings().hide(); $("#dh_style_35_1575428127413 .subBox .subMenuImgArea .subMenuImgCon").eq(0).fadeIn(100).siblings().hide(); }) $("#dh_style_35_1575428127413 .subBox").mouseleave(function(){ $(this).hide(); }); $("#dh_style_35_1575428127413 .menuUl>li .Nosub").mouseover(function(){ $("#dh_style_35_1575428127413 .subBox").hide(); }) //椋庢牸41 42 } }) //=== viewid:customForm_style_button_01_1588045298021,customForm_style_button_01_1577678565350 ===// function btnTop(){$("html,body").animate({scrollTop:"0px"},1000);}function btnBottom(){var bodyH = $("html,body").height();$("html,body").animate({scrollTop:bodyH},1000);} //=== viewid:customForm_style_button_01_1588045298021,customForm_style_button_01_1577678565350 ===// if(typeof showcart !== 'function'){ function showcart(){ var langid = 0; if (langid==0 && BodyIsFt) langid = 1; if(window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767)){ location.href = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&act=show&lang="+langid+"&ismobile=1"; }else{ document.getElementById("boxName").innerHTML=""; if(document.getElementById("boxClose")) document.getElementById("boxClose").innerHTML="脳"; document.getElementById("showiframe").src="https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&act=show&lang="+langid+"&v=9"; box.Show({width:'1000px', height:'600px'}); } } } //=== viewid:customForm_form_1588045297676 ===// $(function(){ $("#form_customForm_form_1588045297676 input,select,textarea").each(function(){ var typename = $(this).attr("type"); if(typename=="hidden") return; $(this).attr('tabindex', $(this).offset().top); }); }); window.addEventListener('pageshow', function(event) { var historyTraversal = event.persisted || (typeof window.performance != 'undefined' && window.performance.navigation.type === 2); if (historyTraversal) { // 閫氳繃杩斿洖涓婁竴椤佃繘鍏ユ椂瑙﹀彂 hideFormTipView(); $('.style_verification_01 .input_view img').attr('src','//admin.hxrwl.net/exusers/codeimg.php?sign=customForm&rnd=' + Date.parse(new Date())); } }); function submitForm(form){ showFormTipView(); if (!CheckForm(form)){ hideFormTipView(); return false; } return true; } function showFormTipView(){ if($(".showFormTipView").length > 0){ $(".showFormTipView").show(); $("#showFormTipOverlay").show(); }else{ let html = `
璇ヨ〃鍗曟鍦ㄦ彁浜や腑锛岃绋嶇瓑骞朵笖涓嶈閲嶅鎻愪氦銆侟/span>
`; $('body').append(html); } } function hideFormTipView(){ $(".showFormTipView").hide(0); $("#showFormTipOverlay").hide(0); } //=== viewid:newsList_style_02_1588045782919 ===// //-- $(function(){ var viewid="newsList_style_02_1588045782919"; var sys_url="viewid=newsList_style_02_1588045782919&name=newsList&style=style_02&langid=0&pageid=1829603&viewCtrl=newsList&isfb=1"; var moreParams=''; if(typeof(history.pushState) != 'undefined'){ var hstate=JSON.stringify(history.state); if(hstate!='null'&& hstate!=null){ eval('var hjson = ' + hstate); moreParams=hjson.moreParamsnewsList_style_02_1588045782919; } } RequestURL(viewid,sys_url,moreParams); }); //-- //=== viewid:searchbox_style_01_1576117603090 ===// $("#searchbox_style_01_1576117603090 .search-btn").click(function(){ var kw=$("#searchbox_style_01_1576117603090 .search_input").val(); var gourl = $(this).attr("attrhref"); href = gourl+(gourl.indexOf('?')>-1?'&':'?')+"pkeyword="+kw; window.open(href); }) function searchOne(lname){ var gourl = $(lname).attr("attrhref"); href = gourl+(gourl.indexOf('?')>-1?'&':'?')+"pkeyword="+$(lname).html(); window.open(href); } $("#searchbox_style_01_1576117603090 .search_input").val(decodeURIComponent(Request("pkeyword"))); function goSearch(form) { console.log('form: ', form); $(form).find('.search-btn').trigger('click'); return false; } //=== viewid:share_style_01_1577438335573 ===// setTimeout(function () { $(function() { $("#share_style_01_1577438335573 .shareImage").proSocialShare({ content: '', url:window.location.href, title:document.title }); }); }, 1000); // 鍒嗕韩寰俊 function showWeiXin(a) { $(a).parent().find('.wechat_qrcode').toggle(); } //=== viewid:share_style_01_1577438335573 ===// bShare.addEntry({ title: "浜у搧璇︽儏", summary: "浜у搧璇︽儏", }); //=== viewid:tab_style_03_1577689852919 ===// //-- $(function(){ var viewid="productList_style_01_1577689944566"; var sys_url="viewid=productList_style_01_1577689944566&name=productList&style=style_01&langid=0&pageid=1829603&viewCtrl=default&isfb=1"; var moreParams=''; if(typeof(history.pushState) != 'undefined'){ var hstate=JSON.stringify(history.state); if(hstate!='null'&& hstate!=null){ eval('var hjson = ' + hstate); moreParams=hjson.moreParamsproductList_style_01_1577689944566; } } RequestURL(viewid,sys_url,moreParams); }); //-- //=== viewid:tab_style_03_1578043472657,tab_style_03_1578045703756,productList_style_03_1578129079768,productList_style_03_1578130137454,productList_style_03_1578130196351,productList_style_03_1578130259585,productList_style_03_1578130351683,productList_style_03_1575623541968,productList_style_03_1588132091386,productList_style_13_1584516370670,tab_style_03_1576123640799,productList_style_04_1659066257318,productList_style_13_1588043722428,productList_style_04_1659067048037,productList_style_13_1588043513492,productList_style_04_1659066304724,productList_style_13_1588043760254,productList_style_04_1659067075110,productList_style_13_1588043802635,productList_style_04_1659067095766,productList_style_13_1588043840414,productList_style_04_1659067126450,productList_style_13_1588043875407,productList_style_04_1659067166557,productList_style_13_1588044008554,productList_style_04_1659067189204,productList_style_13_1588044046970,productList_style_04_1659067217656,productList_style_13_1588044085912,productList_style_04_1659067243412,productList_style_13_1588044130628,productList_style_04_1659067266947,productList_style_13_1588044172080,productList_style_04_1659067290467,productList_style_13_1588044219784,productList_style_04_1659067315613,tab_style_03_1577689852919,tab_style_03_1576144027037 ===// var showSub = '0'; //=== viewid:homelink_style_02_1588043295578,homelink_style_04_1578043253979,tab_style_03_1578043472657,homelink_style_02_1588043320463,homelink_style_02_1588043349075,tab_style_03_1578045703756,productList_style_03_1578129079768,productList_style_03_1578130137454,productList_style_03_1578130196351,productList_style_03_1578130259585,productList_style_03_1578130351683,productList_style_03_1575623541968,productList_style_03_1588132091386,homelink_style_02_1584515846350,productList_style_13_1584516370670,homelink_style_04_1576117354046,tab_style_03_1576123640799,productList_style_04_1659066257318,homelink_style_02_1588042260603,productList_style_13_1588043722428,productList_style_04_1659067048037,homelink_style_02_1588042194675,productList_style_13_1588043513492,productList_style_04_1659066304724,homelink_style_02_1588042351814,productList_style_13_1588043760254,productList_style_04_1659067075110,homelink_style_02_1588042384260,productList_style_13_1588043802635,productList_style_04_1659067095766,homelink_style_02_1588042413437,productList_style_13_1588043840414,productList_style_04_1659067126450,homelink_style_02_1588042457310,productList_style_13_1588043875407,productList_style_04_1659067166557,homelink_style_02_1588042510498,productList_style_13_1588044008554,productList_style_04_1659067189204,homelink_style_02_1588042538458,productList_style_13_1588044046970,productList_style_04_1659067217656,homelink_style_02_1588042565268,productList_style_13_1588044085912,productList_style_04_1659067243412,homelink_style_02_1588042594989,productList_style_13_1588044130628,productList_style_04_1659067266947,homelink_style_02_1588042623864,productList_style_13_1588044172080,productList_style_04_1659067290467,homelink_style_02_1588042653283,productList_style_13_1588044219784,productList_style_04_1659067315613,tab_style_03_1577689852919,tab_style_03_1576144027037 ===// //=== viewid:tab_style_03_1577689852919 ===// //-- $(function(){ var viewid="productList_style_01_1577690765175"; var sys_url="viewid=productList_style_01_1577690765175&name=productList&style=style_01&langid=0&pageid=1829603&viewCtrl=default&isfb=1"; var moreParams=''; if(typeof(history.pushState) != 'undefined'){ var hstate=JSON.stringify(history.state); if(hstate!='null'&& hstate!=null){ eval('var hjson = ' + hstate); moreParams=hjson.moreParamsproductList_style_01_1577690765175; } } RequestURL(viewid,sys_url,moreParams); }); //-- //=== viewid:tab_style_03_1577689852919 ===// //-- $(function(){ var viewid="productList_style_01_1577690781748"; var sys_url="viewid=productList_style_01_1577690781748&name=productList&style=style_01&langid=0&pageid=1829603&viewCtrl=default&isfb=1"; var moreParams=''; if(typeof(history.pushState) != 'undefined'){ var hstate=JSON.stringify(history.state); if(hstate!='null'&& hstate!=null){ eval('var hjson = ' + hstate); moreParams=hjson.moreParamsproductList_style_01_1577690781748; } } RequestURL(viewid,sys_url,moreParams); }); //-- //=== viewid:tab_style_03_1577689852919 ===// //-- $(function(){ var viewid="productList_style_01_1577690805438"; var sys_url="viewid=productList_style_01_1577690805438&name=productList&style=style_01&langid=0&pageid=1829603&viewCtrl=default&isfb=1"; var moreParams=''; if(typeof(history.pushState) != 'undefined'){ var hstate=JSON.stringify(history.state); if(hstate!='null'&& hstate!=null){ eval('var hjson = ' + hstate); moreParams=hjson.moreParamsproductList_style_01_1577690805438; } } RequestURL(viewid,sys_url,moreParams); }); //-- //=== viewid:tab_style_03_1577689852919 ===// //-- $(function(){ var viewid="productList_style_01_1577690820379"; var sys_url="viewid=productList_style_01_1577690820379&name=productList&style=style_01&langid=0&pageid=1829603&viewCtrl=default&isfb=1"; var moreParams=''; if(typeof(history.pushState) != 'undefined'){ var hstate=JSON.stringify(history.state); if(hstate!='null'&& hstate!=null){ eval('var hjson = ' + hstate); moreParams=hjson.moreParamsproductList_style_01_1577690820379; } } RequestURL(viewid,sys_url,moreParams); }); //-- //=== viewid:tab_style_03_1577689852919 ===// $(function(){ tab_style03_init("div_tab_style_03_1577689852919",5); setHover_Choice("div_tab_style_03_1577689852919"); $("#tab_style_03_1577689852919 .tab_nav").hide(); $("#tab_style_03_1577689852919 .tab_box").css({top:'0px',bottom:'0px',right:'0px',left:'0px',height:'100%',width:'100%'}); }); //=== viewid:tab_style_03_1578043472657,tab_style_03_1578044394906,tab_style_03_1578045703756,tab_style_03_1578124397331,tab_style_03_1578273392171,tab_style_03_1578293314491,tab_style_03_1575962256082,tab_style_03_1576123640799,tab_style_03_1576144027037,tab_style_03_1577689852919 ===// //=== viewid:tab_style_03_1577689852919 ===// if(typeof addcart !== 'function'){ function addcart(pid,is_virtual,idspecprice,idpackage){ var lang=0; if(lang == '0'){ lang = Default_isFT; if(BodyIsFt == '0'){ lang = BodyIsFt; }else if(BodyIsFt == '1'){ lang = BodyIsFt; } } var packStr = ''; if(typeof (idpackage) != 'undefined'){ packStr = "&idpackage="+idpackage; } if(is_mobile()){ var locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&pid="+pid+"&act=add&ismobile=1" + packStr; if (idspecprice) locationUrl += "&IDSpecPrice["+pid+"]="+idspecprice; if (isNaN(pid)) {//濡傛灉涓嶆槸鏁板瓧锛岃〃绀烘壒閲忓姞鍏ヨ喘鐗╄溅 locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&act=add&ismobile=1" + pid + (idspecprice ? idspecprice : ""); } var res = "0"; if(res == '1' && is_virtual == 0){ locationUrl+= "&use_ajax=1&callback=?"; $.getJSON(locationUrl,function(ret){ if(ret.i_AddFlag){ $.alerts.dialogClass = 'success'; alert(ret.message); } }); }else{ window.location = locationUrl; } }else{ var locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&pid="+pid+"&act=add&lang="+lang+"&ispc=1" + packStr; if (idspecprice) locationUrl += "&IDSpecPrice["+pid+"]="+idspecprice; if (isNaN(pid)) {//濡傛灉涓嶆槸鏁板瓧锛岃〃绀烘壒閲忓姞鍏ヨ喘鐗╄溅 locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&act=add&ispc=1" + pid + (idspecprice ? idspecprice : ""); } document.getElementById("boxName").innerHTML="鍔犲叆璐墿杞?; if(document.getElementById("boxClose")) document.getElementById("boxClose").innerHTML="脳"; document.getElementById("showiframe").src=locationUrl; box.Show({width:"840px",height:"420px"}); } } } function is_mobile(){ return window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767); } $(function(){ $('#productList_style_01_1577689944566 .prod_infos .end_time').each(function(){ purchase_clock(this);//寮€鍚€掕鏃 }); }); //鎷艰喘鍊掕鏃 function purchase_clock(obj) { var time = parseInt($(obj).attr('data-time')); if (time > 0) { var str = ''; var num = 0; num = parseInt(time/86400); if(num > 0)str += num.toString() + '澶?; time -= num * 86400; num = parseInt(time/3600); if(num > 0)str += num.toString() + '鏃?; time -= num * 3600; num = parseInt(time/60); if(num > 0)str += num.toString() + '鍒?; time -= num * 60; if(num > 0)str += time.toString() + '绉?; $(obj).text(str).attr('data-time', parseInt($(obj).attr('data-time')) - 1); setTimeout(function(){ purchase_clock(obj); }, 1000); } else { $(obj).text('0澶?鏃?鍒?绉?); } } //=== viewid:tab_style_03_1577689852919 ===// if(typeof addcart !== 'function'){ function addcart(pid,is_virtual,idspecprice,idpackage){ var lang=0; if(lang == '0'){ lang = Default_isFT; if(BodyIsFt == '0'){ lang = BodyIsFt; }else if(BodyIsFt == '1'){ lang = BodyIsFt; } } var packStr = ''; if(typeof (idpackage) != 'undefined'){ packStr = "&idpackage="+idpackage; } if(is_mobile()){ var locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&pid="+pid+"&act=add&ismobile=1" + packStr; if (idspecprice) locationUrl += "&IDSpecPrice["+pid+"]="+idspecprice; if (isNaN(pid)) {//濡傛灉涓嶆槸鏁板瓧锛岃〃绀烘壒閲忓姞鍏ヨ喘鐗╄溅 locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&act=add&ismobile=1" + pid + (idspecprice ? idspecprice : ""); } var res = "0"; if(res == '1' && is_virtual == 0){ locationUrl+= "&use_ajax=1&callback=?"; $.getJSON(locationUrl,function(ret){ if(ret.i_AddFlag){ $.alerts.dialogClass = 'success'; alert(ret.message); } }); }else{ window.location = locationUrl; } }else{ var locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&pid="+pid+"&act=add&lang="+lang+"&ispc=1" + packStr; if (idspecprice) locationUrl += "&IDSpecPrice["+pid+"]="+idspecprice; if (isNaN(pid)) {//濡傛灉涓嶆槸鏁板瓧锛岃〃绀烘壒閲忓姞鍏ヨ喘鐗╄溅 locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&act=add&ispc=1" + pid + (idspecprice ? idspecprice : ""); } document.getElementById("boxName").innerHTML="鍔犲叆璐墿杞?; if(document.getElementById("boxClose")) document.getElementById("boxClose").innerHTML="脳"; document.getElementById("showiframe").src=locationUrl; box.Show({width:"840px",height:"420px"}); } } } function is_mobile(){ return window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767); } $(function(){ $('#productList_style_01_1577690765175 .prod_infos .end_time').each(function(){ purchase_clock(this);//寮€鍚€掕鏃 }); }); //鎷艰喘鍊掕鏃 function purchase_clock(obj) { var time = parseInt($(obj).attr('data-time')); if (time > 0) { var str = ''; var num = 0; num = parseInt(time/86400); if(num > 0)str += num.toString() + '澶?; time -= num * 86400; num = parseInt(time/3600); if(num > 0)str += num.toString() + '鏃?; time -= num * 3600; num = parseInt(time/60); if(num > 0)str += num.toString() + '鍒?; time -= num * 60; if(num > 0)str += time.toString() + '绉?; $(obj).text(str).attr('data-time', parseInt($(obj).attr('data-time')) - 1); setTimeout(function(){ purchase_clock(obj); }, 1000); } else { $(obj).text('0澶?鏃?鍒?绉?); } } //=== viewid:tab_style_03_1577689852919 ===// if(typeof addcart !== 'function'){ function addcart(pid,is_virtual,idspecprice,idpackage){ var lang=0; if(lang == '0'){ lang = Default_isFT; if(BodyIsFt == '0'){ lang = BodyIsFt; }else if(BodyIsFt == '1'){ lang = BodyIsFt; } } var packStr = ''; if(typeof (idpackage) != 'undefined'){ packStr = "&idpackage="+idpackage; } if(is_mobile()){ var locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&pid="+pid+"&act=add&ismobile=1" + packStr; if (idspecprice) locationUrl += "&IDSpecPrice["+pid+"]="+idspecprice; if (isNaN(pid)) {//濡傛灉涓嶆槸鏁板瓧锛岃〃绀烘壒閲忓姞鍏ヨ喘鐗╄溅 locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&act=add&ismobile=1" + pid + (idspecprice ? idspecprice : ""); } var res = "0"; if(res == '1' && is_virtual == 0){ locationUrl+= "&use_ajax=1&callback=?"; $.getJSON(locationUrl,function(ret){ if(ret.i_AddFlag){ $.alerts.dialogClass = 'success'; alert(ret.message); } }); }else{ window.location = locationUrl; } }else{ var locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&pid="+pid+"&act=add&lang="+lang+"&ispc=1" + packStr; if (idspecprice) locationUrl += "&IDSpecPrice["+pid+"]="+idspecprice; if (isNaN(pid)) {//濡傛灉涓嶆槸鏁板瓧锛岃〃绀烘壒閲忓姞鍏ヨ喘鐗╄溅 locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&act=add&ispc=1" + pid + (idspecprice ? idspecprice : ""); } document.getElementById("boxName").innerHTML="鍔犲叆璐墿杞?; if(document.getElementById("boxClose")) document.getElementById("boxClose").innerHTML="脳"; document.getElementById("showiframe").src=locationUrl; box.Show({width:"840px",height:"420px"}); } } } function is_mobile(){ return window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767); } $(function(){ $('#productList_style_01_1577690781748 .prod_infos .end_time').each(function(){ purchase_clock(this);//寮€鍚€掕鏃 }); }); //鎷艰喘鍊掕鏃 function purchase_clock(obj) { var time = parseInt($(obj).attr('data-time')); if (time > 0) { var str = ''; var num = 0; num = parseInt(time/86400); if(num > 0)str += num.toString() + '澶?; time -= num * 86400; num = parseInt(time/3600); if(num > 0)str += num.toString() + '鏃?; time -= num * 3600; num = parseInt(time/60); if(num > 0)str += num.toString() + '鍒?; time -= num * 60; if(num > 0)str += time.toString() + '绉?; $(obj).text(str).attr('data-time', parseInt($(obj).attr('data-time')) - 1); setTimeout(function(){ purchase_clock(obj); }, 1000); } else { $(obj).text('0澶?鏃?鍒?绉?); } } //=== viewid:tab_style_03_1577689852919 ===// if(typeof addcart !== 'function'){ function addcart(pid,is_virtual,idspecprice,idpackage){ var lang=0; if(lang == '0'){ lang = Default_isFT; if(BodyIsFt == '0'){ lang = BodyIsFt; }else if(BodyIsFt == '1'){ lang = BodyIsFt; } } var packStr = ''; if(typeof (idpackage) != 'undefined'){ packStr = "&idpackage="+idpackage; } if(is_mobile()){ var locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&pid="+pid+"&act=add&ismobile=1" + packStr; if (idspecprice) locationUrl += "&IDSpecPrice["+pid+"]="+idspecprice; if (isNaN(pid)) {//濡傛灉涓嶆槸鏁板瓧锛岃〃绀烘壒閲忓姞鍏ヨ喘鐗╄溅 locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&act=add&ismobile=1" + pid + (idspecprice ? idspecprice : ""); } var res = "0"; if(res == '1' && is_virtual == 0){ locationUrl+= "&use_ajax=1&callback=?"; $.getJSON(locationUrl,function(ret){ if(ret.i_AddFlag){ $.alerts.dialogClass = 'success'; alert(ret.message); } }); }else{ window.location = locationUrl; } }else{ var locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&pid="+pid+"&act=add&lang="+lang+"&ispc=1" + packStr; if (idspecprice) locationUrl += "&IDSpecPrice["+pid+"]="+idspecprice; if (isNaN(pid)) {//濡傛灉涓嶆槸鏁板瓧锛岃〃绀烘壒閲忓姞鍏ヨ喘鐗╄溅 locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&act=add&ispc=1" + pid + (idspecprice ? idspecprice : ""); } document.getElementById("boxName").innerHTML="鍔犲叆璐墿杞?; if(document.getElementById("boxClose")) document.getElementById("boxClose").innerHTML="脳"; document.getElementById("showiframe").src=locationUrl; box.Show({width:"840px",height:"420px"}); } } } function is_mobile(){ return window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767); } $(function(){ $('#productList_style_01_1577690805438 .prod_infos .end_time').each(function(){ purchase_clock(this);//寮€鍚€掕鏃 }); }); //鎷艰喘鍊掕鏃 function purchase_clock(obj) { var time = parseInt($(obj).attr('data-time')); if (time > 0) { var str = ''; var num = 0; num = parseInt(time/86400); if(num > 0)str += num.toString() + '澶?; time -= num * 86400; num = parseInt(time/3600); if(num > 0)str += num.toString() + '鏃?; time -= num * 3600; num = parseInt(time/60); if(num > 0)str += num.toString() + '鍒?; time -= num * 60; if(num > 0)str += time.toString() + '绉?; $(obj).text(str).attr('data-time', parseInt($(obj).attr('data-time')) - 1); setTimeout(function(){ purchase_clock(obj); }, 1000); } else { $(obj).text('0澶?鏃?鍒?绉?); } } //=== viewid:tab_style_03_1577689852919 ===// if(typeof addcart !== 'function'){ function addcart(pid,is_virtual,idspecprice,idpackage){ var lang=0; if(lang == '0'){ lang = Default_isFT; if(BodyIsFt == '0'){ lang = BodyIsFt; }else if(BodyIsFt == '1'){ lang = BodyIsFt; } } var packStr = ''; if(typeof (idpackage) != 'undefined'){ packStr = "&idpackage="+idpackage; } if(is_mobile()){ var locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&pid="+pid+"&act=add&ismobile=1" + packStr; if (idspecprice) locationUrl += "&IDSpecPrice["+pid+"]="+idspecprice; if (isNaN(pid)) {//濡傛灉涓嶆槸鏁板瓧锛岃〃绀烘壒閲忓姞鍏ヨ喘鐗╄溅 locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&act=add&ismobile=1" + pid + (idspecprice ? idspecprice : ""); } var res = "0"; if(res == '1' && is_virtual == 0){ locationUrl+= "&use_ajax=1&callback=?"; $.getJSON(locationUrl,function(ret){ if(ret.i_AddFlag){ $.alerts.dialogClass = 'success'; alert(ret.message); } }); }else{ window.location = locationUrl; } }else{ var locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&pid="+pid+"&act=add&lang="+lang+"&ispc=1" + packStr; if (idspecprice) locationUrl += "&IDSpecPrice["+pid+"]="+idspecprice; if (isNaN(pid)) {//濡傛灉涓嶆槸鏁板瓧锛岃〃绀烘壒閲忓姞鍏ヨ喘鐗╄溅 locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&act=add&ispc=1" + pid + (idspecprice ? idspecprice : ""); } document.getElementById("boxName").innerHTML="鍔犲叆璐墿杞?; if(document.getElementById("boxClose")) document.getElementById("boxClose").innerHTML="脳"; document.getElementById("showiframe").src=locationUrl; box.Show({width:"840px",height:"420px"}); } } } function is_mobile(){ return window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767); } $(function(){ $('#productList_style_01_1577690820379 .prod_infos .end_time').each(function(){ purchase_clock(this);//寮€鍚€掕鏃 }); }); //鎷艰喘鍊掕鏃 function purchase_clock(obj) { var time = parseInt($(obj).attr('data-time')); if (time > 0) { var str = ''; var num = 0; num = parseInt(time/86400); if(num > 0)str += num.toString() + '澶?; time -= num * 86400; num = parseInt(time/3600); if(num > 0)str += num.toString() + '鏃?; time -= num * 3600; num = parseInt(time/60); if(num > 0)str += num.toString() + '鍒?; time -= num * 60; if(num > 0)str += time.toString() + '绉?; $(obj).text(str).attr('data-time', parseInt($(obj).attr('data-time')) - 1); setTimeout(function(){ purchase_clock(obj); }, 1000); } else { $(obj).text('0澶?鏃?鍒?绉?); } } //=== viewid:customForm_form_1577674459989 ===// $(function(){ $("#form_customForm_form_1577674459989 input,select,textarea").each(function(){ var typename = $(this).attr("type"); if(typename=="hidden") return; $(this).attr('tabindex', $(this).offset().top); }); }); window.addEventListener('pageshow', function(event) { var historyTraversal = event.persisted || (typeof window.performance != 'undefined' && window.performance.navigation.type === 2); if (historyTraversal) { // 閫氳繃杩斿洖涓婁竴椤佃繘鍏ユ椂瑙﹀彂 hideFormTipView(); $('.style_verification_01 .input_view img').attr('src','//admin.hxrwl.net/exusers/codeimg.php?sign=customForm&rnd=' + Date.parse(new Date())); } }); function submitForm(form){ showFormTipView(); if (!CheckForm(form)){ hideFormTipView(); return false; } return true; } function showFormTipView(){ if($(".showFormTipView").length > 0){ $(".showFormTipView").show(); $("#showFormTipOverlay").show(); }else{ let html = `
璇ヨ〃鍗曟鍦ㄦ彁浜や腑锛岃绋嶇瓑骞朵笖涓嶈閲嶅鎻愪氦銆侟/span>
`; $('body').append(html); } } function hideFormTipView(){ $(".showFormTipView").hide(0); $("#showFormTipOverlay").hide(0); } //=== viewid:tab_style_03_1576144027037 ===// //-- $(function(){ var viewid="productList_style_01_1577688048707"; var sys_url="viewid=productList_style_01_1577688048707&name=productList&style=style_01&langid=0&pageid=1829603&viewCtrl=default&isfb=1"; var moreParams=''; if(typeof(history.pushState) != 'undefined'){ var hstate=JSON.stringify(history.state); if(hstate!='null'&& hstate!=null){ eval('var hjson = ' + hstate); moreParams=hjson.moreParamsproductList_style_01_1577688048707; } } RequestURL(viewid,sys_url,moreParams); }); //-- //=== viewid:tab_style_03_1576144027037 ===// //-- $(function(){ var viewid="productList_style_01_1577689527390"; var sys_url="viewid=productList_style_01_1577689527390&name=productList&style=style_01&langid=0&pageid=1829603&viewCtrl=default&isfb=1"; var moreParams=''; if(typeof(history.pushState) != 'undefined'){ var hstate=JSON.stringify(history.state); if(hstate!='null'&& hstate!=null){ eval('var hjson = ' + hstate); moreParams=hjson.moreParamsproductList_style_01_1577689527390; } } RequestURL(viewid,sys_url,moreParams); }); //-- //=== viewid:tab_style_03_1576144027037 ===// //-- $(function(){ var viewid="productList_style_01_1577689547421"; var sys_url="viewid=productList_style_01_1577689547421&name=productList&style=style_01&langid=0&pageid=1829603&viewCtrl=default&isfb=1"; var moreParams=''; if(typeof(history.pushState) != 'undefined'){ var hstate=JSON.stringify(history.state); if(hstate!='null'&& hstate!=null){ eval('var hjson = ' + hstate); moreParams=hjson.moreParamsproductList_style_01_1577689547421; } } RequestURL(viewid,sys_url,moreParams); }); //-- //=== viewid:tab_style_03_1576144027037 ===// //-- $(function(){ var viewid="productList_style_01_1577689555996"; var sys_url="viewid=productList_style_01_1577689555996&name=productList&style=style_01&langid=0&pageid=1829603&viewCtrl=default&isfb=1"; var moreParams=''; if(typeof(history.pushState) != 'undefined'){ var hstate=JSON.stringify(history.state); if(hstate!='null'&& hstate!=null){ eval('var hjson = ' + hstate); moreParams=hjson.moreParamsproductList_style_01_1577689555996; } } RequestURL(viewid,sys_url,moreParams); }); //-- //=== viewid:tab_style_03_1576144027037 ===// //-- $(function(){ var viewid="productList_style_01_1577689569237"; var sys_url="viewid=productList_style_01_1577689569237&name=productList&style=style_01&langid=0&pageid=1829603&viewCtrl=default&isfb=1"; var moreParams=''; if(typeof(history.pushState) != 'undefined'){ var hstate=JSON.stringify(history.state); if(hstate!='null'&& hstate!=null){ eval('var hjson = ' + hstate); moreParams=hjson.moreParamsproductList_style_01_1577689569237; } } RequestURL(viewid,sys_url,moreParams); }); //-- //=== viewid:tab_style_03_1576144027037 ===// $(function(){ tab_style03_init("div_tab_style_03_1576144027037",4); setHover_Choice("div_tab_style_03_1576144027037"); $("#tab_style_03_1576144027037 .tab_nav").show(); $("#tab_style_03_1576144027037 .tab_box").css({top:'',bottom:'',right:'',left:'',height:'',width:''}); }); //=== viewid:tab_style_03_1576144027037 ===// if(typeof addcart !== 'function'){ function addcart(pid,is_virtual,idspecprice,idpackage){ var lang=0; if(lang == '0'){ lang = Default_isFT; if(BodyIsFt == '0'){ lang = BodyIsFt; }else if(BodyIsFt == '1'){ lang = BodyIsFt; } } var packStr = ''; if(typeof (idpackage) != 'undefined'){ packStr = "&idpackage="+idpackage; } if(is_mobile()){ var locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&pid="+pid+"&act=add&ismobile=1" + packStr; if (idspecprice) locationUrl += "&IDSpecPrice["+pid+"]="+idspecprice; if (isNaN(pid)) {//濡傛灉涓嶆槸鏁板瓧锛岃〃绀烘壒閲忓姞鍏ヨ喘鐗╄溅 locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&act=add&ismobile=1" + pid + (idspecprice ? idspecprice : ""); } var res = "0"; if(res == '1' && is_virtual == 0){ locationUrl+= "&use_ajax=1&callback=?"; $.getJSON(locationUrl,function(ret){ if(ret.i_AddFlag){ $.alerts.dialogClass = 'success'; alert(ret.message); } }); }else{ window.location = locationUrl; } }else{ var locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&pid="+pid+"&act=add&lang="+lang+"&ispc=1" + packStr; if (idspecprice) locationUrl += "&IDSpecPrice["+pid+"]="+idspecprice; if (isNaN(pid)) {//濡傛灉涓嶆槸鏁板瓧锛岃〃绀烘壒閲忓姞鍏ヨ喘鐗╄溅 locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&act=add&ispc=1" + pid + (idspecprice ? idspecprice : ""); } document.getElementById("boxName").innerHTML="鍔犲叆璐墿杞?; if(document.getElementById("boxClose")) document.getElementById("boxClose").innerHTML="脳"; document.getElementById("showiframe").src=locationUrl; box.Show({width:"840px",height:"420px"}); } } } function is_mobile(){ return window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767); } $(function(){ $('#productList_style_01_1577688048707 .prod_infos .end_time').each(function(){ purchase_clock(this);//寮€鍚€掕鏃 }); }); //鎷艰喘鍊掕鏃 function purchase_clock(obj) { var time = parseInt($(obj).attr('data-time')); if (time > 0) { var str = ''; var num = 0; num = parseInt(time/86400); if(num > 0)str += num.toString() + '澶?; time -= num * 86400; num = parseInt(time/3600); if(num > 0)str += num.toString() + '鏃?; time -= num * 3600; num = parseInt(time/60); if(num > 0)str += num.toString() + '鍒?; time -= num * 60; if(num > 0)str += time.toString() + '绉?; $(obj).text(str).attr('data-time', parseInt($(obj).attr('data-time')) - 1); setTimeout(function(){ purchase_clock(obj); }, 1000); } else { $(obj).text('0澶?鏃?鍒?绉?); } } //=== viewid:tab_style_03_1576144027037 ===// if(typeof addcart !== 'function'){ function addcart(pid,is_virtual,idspecprice,idpackage){ var lang=0; if(lang == '0'){ lang = Default_isFT; if(BodyIsFt == '0'){ lang = BodyIsFt; }else if(BodyIsFt == '1'){ lang = BodyIsFt; } } var packStr = ''; if(typeof (idpackage) != 'undefined'){ packStr = "&idpackage="+idpackage; } if(is_mobile()){ var locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&pid="+pid+"&act=add&ismobile=1" + packStr; if (idspecprice) locationUrl += "&IDSpecPrice["+pid+"]="+idspecprice; if (isNaN(pid)) {//濡傛灉涓嶆槸鏁板瓧锛岃〃绀烘壒閲忓姞鍏ヨ喘鐗╄溅 locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&act=add&ismobile=1" + pid + (idspecprice ? idspecprice : ""); } var res = "0"; if(res == '1' && is_virtual == 0){ locationUrl+= "&use_ajax=1&callback=?"; $.getJSON(locationUrl,function(ret){ if(ret.i_AddFlag){ $.alerts.dialogClass = 'success'; alert(ret.message); } }); }else{ window.location = locationUrl; } }else{ var locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&pid="+pid+"&act=add&lang="+lang+"&ispc=1" + packStr; if (idspecprice) locationUrl += "&IDSpecPrice["+pid+"]="+idspecprice; if (isNaN(pid)) {//濡傛灉涓嶆槸鏁板瓧锛岃〃绀烘壒閲忓姞鍏ヨ喘鐗╄溅 locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&act=add&ispc=1" + pid + (idspecprice ? idspecprice : ""); } document.getElementById("boxName").innerHTML="鍔犲叆璐墿杞?; if(document.getElementById("boxClose")) document.getElementById("boxClose").innerHTML="脳"; document.getElementById("showiframe").src=locationUrl; box.Show({width:"840px",height:"420px"}); } } } function is_mobile(){ return window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767); } $(function(){ $('#productList_style_01_1577689527390 .prod_infos .end_time').each(function(){ purchase_clock(this);//寮€鍚€掕鏃 }); }); //鎷艰喘鍊掕鏃 function purchase_clock(obj) { var time = parseInt($(obj).attr('data-time')); if (time > 0) { var str = ''; var num = 0; num = parseInt(time/86400); if(num > 0)str += num.toString() + '澶?; time -= num * 86400; num = parseInt(time/3600); if(num > 0)str += num.toString() + '鏃?; time -= num * 3600; num = parseInt(time/60); if(num > 0)str += num.toString() + '鍒?; time -= num * 60; if(num > 0)str += time.toString() + '绉?; $(obj).text(str).attr('data-time', parseInt($(obj).attr('data-time')) - 1); setTimeout(function(){ purchase_clock(obj); }, 1000); } else { $(obj).text('0澶?鏃?鍒?绉?); } } //=== viewid:tab_style_03_1576144027037 ===// if(typeof addcart !== 'function'){ function addcart(pid,is_virtual,idspecprice,idpackage){ var lang=0; if(lang == '0'){ lang = Default_isFT; if(BodyIsFt == '0'){ lang = BodyIsFt; }else if(BodyIsFt == '1'){ lang = BodyIsFt; } } var packStr = ''; if(typeof (idpackage) != 'undefined'){ packStr = "&idpackage="+idpackage; } if(is_mobile()){ var locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&pid="+pid+"&act=add&ismobile=1" + packStr; if (idspecprice) locationUrl += "&IDSpecPrice["+pid+"]="+idspecprice; if (isNaN(pid)) {//濡傛灉涓嶆槸鏁板瓧锛岃〃绀烘壒閲忓姞鍏ヨ喘鐗╄溅 locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&act=add&ismobile=1" + pid + (idspecprice ? idspecprice : ""); } var res = "0"; if(res == '1' && is_virtual == 0){ locationUrl+= "&use_ajax=1&callback=?"; $.getJSON(locationUrl,function(ret){ if(ret.i_AddFlag){ $.alerts.dialogClass = 'success'; alert(ret.message); } }); }else{ window.location = locationUrl; } }else{ var locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&pid="+pid+"&act=add&lang="+lang+"&ispc=1" + packStr; if (idspecprice) locationUrl += "&IDSpecPrice["+pid+"]="+idspecprice; if (isNaN(pid)) {//濡傛灉涓嶆槸鏁板瓧锛岃〃绀烘壒閲忓姞鍏ヨ喘鐗╄溅 locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&act=add&ispc=1" + pid + (idspecprice ? idspecprice : ""); } document.getElementById("boxName").innerHTML="鍔犲叆璐墿杞?; if(document.getElementById("boxClose")) document.getElementById("boxClose").innerHTML="脳"; document.getElementById("showiframe").src=locationUrl; box.Show({width:"840px",height:"420px"}); } } } function is_mobile(){ return window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767); } $(function(){ $('#productList_style_01_1577689547421 .prod_infos .end_time').each(function(){ purchase_clock(this);//寮€鍚€掕鏃 }); }); //鎷艰喘鍊掕鏃 function purchase_clock(obj) { var time = parseInt($(obj).attr('data-time')); if (time > 0) { var str = ''; var num = 0; num = parseInt(time/86400); if(num > 0)str += num.toString() + '澶?; time -= num * 86400; num = parseInt(time/3600); if(num > 0)str += num.toString() + '鏃?; time -= num * 3600; num = parseInt(time/60); if(num > 0)str += num.toString() + '鍒?; time -= num * 60; if(num > 0)str += time.toString() + '绉?; $(obj).text(str).attr('data-time', parseInt($(obj).attr('data-time')) - 1); setTimeout(function(){ purchase_clock(obj); }, 1000); } else { $(obj).text('0澶?鏃?鍒?绉?); } } //=== viewid:tab_style_03_1576144027037 ===// if(typeof addcart !== 'function'){ function addcart(pid,is_virtual,idspecprice,idpackage){ var lang=0; if(lang == '0'){ lang = Default_isFT; if(BodyIsFt == '0'){ lang = BodyIsFt; }else if(BodyIsFt == '1'){ lang = BodyIsFt; } } var packStr = ''; if(typeof (idpackage) != 'undefined'){ packStr = "&idpackage="+idpackage; } if(is_mobile()){ var locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&pid="+pid+"&act=add&ismobile=1" + packStr; if (idspecprice) locationUrl += "&IDSpecPrice["+pid+"]="+idspecprice; if (isNaN(pid)) {//濡傛灉涓嶆槸鏁板瓧锛岃〃绀烘壒閲忓姞鍏ヨ喘鐗╄溅 locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&act=add&ismobile=1" + pid + (idspecprice ? idspecprice : ""); } var res = "0"; if(res == '1' && is_virtual == 0){ locationUrl+= "&use_ajax=1&callback=?"; $.getJSON(locationUrl,function(ret){ if(ret.i_AddFlag){ $.alerts.dialogClass = 'success'; alert(ret.message); } }); }else{ window.location = locationUrl; } }else{ var locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&pid="+pid+"&act=add&lang="+lang+"&ispc=1" + packStr; if (idspecprice) locationUrl += "&IDSpecPrice["+pid+"]="+idspecprice; if (isNaN(pid)) {//濡傛灉涓嶆槸鏁板瓧锛岃〃绀烘壒閲忓姞鍏ヨ喘鐗╄溅 locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&act=add&ispc=1" + pid + (idspecprice ? idspecprice : ""); } document.getElementById("boxName").innerHTML="鍔犲叆璐墿杞?; if(document.getElementById("boxClose")) document.getElementById("boxClose").innerHTML="脳"; document.getElementById("showiframe").src=locationUrl; box.Show({width:"840px",height:"420px"}); } } } function is_mobile(){ return window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767); } $(function(){ $('#productList_style_01_1577689555996 .prod_infos .end_time').each(function(){ purchase_clock(this);//寮€鍚€掕鏃 }); }); //鎷艰喘鍊掕鏃 function purchase_clock(obj) { var time = parseInt($(obj).attr('data-time')); if (time > 0) { var str = ''; var num = 0; num = parseInt(time/86400); if(num > 0)str += num.toString() + '澶?; time -= num * 86400; num = parseInt(time/3600); if(num > 0)str += num.toString() + '鏃?; time -= num * 3600; num = parseInt(time/60); if(num > 0)str += num.toString() + '鍒?; time -= num * 60; if(num > 0)str += time.toString() + '绉?; $(obj).text(str).attr('data-time', parseInt($(obj).attr('data-time')) - 1); setTimeout(function(){ purchase_clock(obj); }, 1000); } else { $(obj).text('0澶?鏃?鍒?绉?); } } //=== viewid:tab_style_03_1576144027037 ===// if(typeof addcart !== 'function'){ function addcart(pid,is_virtual,idspecprice,idpackage){ var lang=0; if(lang == '0'){ lang = Default_isFT; if(BodyIsFt == '0'){ lang = BodyIsFt; }else if(BodyIsFt == '1'){ lang = BodyIsFt; } } var packStr = ''; if(typeof (idpackage) != 'undefined'){ packStr = "&idpackage="+idpackage; } if(is_mobile()){ var locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&pid="+pid+"&act=add&ismobile=1" + packStr; if (idspecprice) locationUrl += "&IDSpecPrice["+pid+"]="+idspecprice; if (isNaN(pid)) {//濡傛灉涓嶆槸鏁板瓧锛岃〃绀烘壒閲忓姞鍏ヨ喘鐗╄溅 locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&act=add&ismobile=1" + pid + (idspecprice ? idspecprice : ""); } var res = "0"; if(res == '1' && is_virtual == 0){ locationUrl+= "&use_ajax=1&callback=?"; $.getJSON(locationUrl,function(ret){ if(ret.i_AddFlag){ $.alerts.dialogClass = 'success'; alert(ret.message); } }); }else{ window.location = locationUrl; } }else{ var locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&pid="+pid+"&act=add&lang="+lang+"&ispc=1" + packStr; if (idspecprice) locationUrl += "&IDSpecPrice["+pid+"]="+idspecprice; if (isNaN(pid)) {//濡傛灉涓嶆槸鏁板瓧锛岃〃绀烘壒閲忓姞鍏ヨ喘鐗╄溅 locationUrl = "https://admin.hxrwl.net/exusers/u_cart.php?idweb=50685&lang="+lang+"&act=add&ispc=1" + pid + (idspecprice ? idspecprice : ""); } document.getElementById("boxName").innerHTML="鍔犲叆璐墿杞?; if(document.getElementById("boxClose")) document.getElementById("boxClose").innerHTML="脳"; document.getElementById("showiframe").src=locationUrl; box.Show({width:"840px",height:"420px"}); } } } function is_mobile(){ return window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767); } $(function(){ $('#productList_style_01_1577689569237 .prod_infos .end_time').each(function(){ purchase_clock(this);//寮€鍚€掕鏃 }); }); //鎷艰喘鍊掕鏃 function purchase_clock(obj) { var time = parseInt($(obj).attr('data-time')); if (time > 0) { var str = ''; var num = 0; num = parseInt(time/86400); if(num > 0)str += num.toString() + '澶?; time -= num * 86400; num = parseInt(time/3600); if(num > 0)str += num.toString() + '鏃?; time -= num * 3600; num = parseInt(time/60); if(num > 0)str += num.toString() + '鍒?; time -= num * 60; if(num > 0)str += time.toString() + '绉?; $(obj).text(str).attr('data-time', parseInt($(obj).attr('data-time')) - 1); setTimeout(function(){ purchase_clock(obj); }, 1000); } else { $(obj).text('0澶?鏃?鍒?绉?); } } //=== viewid:newsList_style_05_1576198603576 ===// //-- $(function(){ var viewid="newsList_style_05_1576198603576"; var sys_url="viewid=newsList_style_05_1576198603576&name=newsList&style=style_05&langid=0&pageid=1829603&viewCtrl=newsList&isfb=1"; var moreParams=''; if(typeof(history.pushState) != 'undefined'){ var hstate=JSON.stringify(history.state); if(hstate!='null'&& hstate!=null){ eval('var hjson = ' + hstate); moreParams=hjson.moreParamsnewsList_style_05_1576198603576; } } RequestURL(viewid,sys_url,moreParams); }); //-- //=== viewid:dh_style_35_1576068068851 ===// function navSwtich(obj) { $(obj).siblings(".menuUlCopy").slideToggle(200); $(obj).toggleClass('ontoggle'); $(obj).parent().siblings().find(".menuUlCopy").slideUp(200); $(obj).parent().siblings().find(".fa-angle-down").removeClass('ontoggle'); } function subLeft_dh_style_35_1576068068851(){ $("#dh_style_35_1576068068851 .menuUl>li").each(function(){ $(this).find(".menuUl03").css("left",'100%'); }) } $(window).resize(function() { subLeft_dh_style_35_1576068068851(); }) $(function(){ $("#dh_style_35_1576068068851 .fa-navicon").click(function(){ $("#dh_style_35_1576068068851").addClass('clearTransform'); $("#dh_style_35_1576068068851 .menuUlCopy").each(function(){ $(this).siblings(".fa").show(); }) }) subLeft_dh_style_35_1576068068851(); $("#dh_style_35_1576068068851 .subBox").css("top",$("#dh_style_35_1576068068851 .menuUl_box").height()); if($("#dh_style_35_1576068068851 .menuUl").hasClass("noHover")){ var tabNum = 0; $("#dh_style_35_1576068068851 .menuUl>li").find(".Onsub").each(function(){ tabNum += 1; $(this).parent().attr("tabNum",tabNum) }) $("#dh_style_35_1576068068851 .menuUl>li .Onsub").mouseover(function(){ $("#dh_style_35_1576068068851 .subBox").show(); var index = $(this).parent().attr("tabNum"); $("#dh_style_35_1576068068851 .subBox .subItems").eq(index-1).fadeIn(100).siblings().hide(); $("#dh_style_35_1576068068851 .subBox .subMenuImgArea .subMenuImgCon").eq(0).fadeIn(100).siblings().hide(); }) $("#dh_style_35_1576068068851 .subBox").mouseleave(function(){ $(this).hide(); }); $("#dh_style_35_1576068068851 .menuUl>li .Nosub").mouseover(function(){ $("#dh_style_35_1576068068851 .subBox").hide(); }) //椋庢牸41 42 } }) //=== viewid:copyright_style_01_1663640637281,copyright_style_01_1663642368587 ===// //=== viewid:liuyanban_style_05_1578020873492 ===// //-- $(function(){ var viewid="liuyanban_style_05_1578020873492"; var sys_url="viewid=liuyanban_style_05_1578020873492&name=liuyanban&style=style_05&langid=0&pageid=1829603&viewCtrl=default&isfb=1"; var moreParams=''; if(typeof(history.pushState) != 'undefined'){ var hstate=JSON.stringify(history.state); if(hstate!='null'&& hstate!=null){ eval('var hjson = ' + hstate); moreParams=hjson.moreParamsliuyanban_style_05_1578020873492; } } RequestURL(viewid,sys_url,moreParams); }); //-- //=== viewid:liuyanban_style_05_1578020873492 ===// // 寤惰繜閲嶆柊鍒锋柊楠岃瘉鐮 setTimeout(function(){ let umg = "//admin.hxrwl.net/codeimg.php?viewid=liuyanban_style_05_1578020873492&rnd="+Math.floor(Math.random() * ( 1000 + 1)); $("#liuyanban_style_05_1578020873492 .gf_code").css('background',"url("+umg+") right center no-repeat"); },500); $('#liuyanban_style_05_1578020873492 .gformList').each(function(){ $(this).find('input').blur(function(){ var type = $(this).attr('name'); if(type == 'verification_code'){ return; } var check = $(this).attr('check'); var reg = new RegExp(check,"i"); var value = $(this).val(); if(reg.test(value)) { $(this).removeClass('error'); }else { $(this).addClass('error'); } }); });