//=== 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:productList_style_03_1588061880335 ===// //-- $(function(){ var viewid="productList_style_03_1588061880335"; var sys_url="viewid=productList_style_03_1588061880335&name=productList&style=style_03&langid=0&pageid=1834031&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_03_1588061880335; } } RequestURL(viewid,sys_url,moreParams); }); //-- //=== viewid: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_03_1588061196816,tab_style_03_1577689852919,productList_style_03_1588063849185,productList_style_03_1588061880335 ===// var showSub = '0'; //=== viewid: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_03_1588061196816,tab_style_03_1577689852919,productList_style_03_1588063849185,productList_style_03_1588061880335 ===// //=== viewid:productList_style_03_1588061880335 ===// 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_03_1588061880335 .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_02_1588061943172 ===// //-- $(function(){ var viewid="newsList_style_02_1588061943172"; var sys_url="viewid=newsList_style_02_1588061943172&name=newsList&style=style_02&langid=0&pageid=1834031&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_1588061943172; } } 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: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=1834031&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_1577689852919 ===// //-- $(function(){ var viewid="productList_style_01_1577690765175"; var sys_url="viewid=productList_style_01_1577690765175&name=productList&style=style_01&langid=0&pageid=1834031&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=1834031&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=1834031&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=1834031&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_1578124397331,tab_style_03_1578273392171,tab_style_03_1578293314491,tab_style_03_1575962256082,tab_style_03_1577689852919,tab_style_03_1577936695920 ===// //=== 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:tab_style_03_1577936695920 ===// //-- $(function(){ var viewid="newsList_style_04_1577936696133"; var sys_url="viewid=newsList_style_04_1577936696133&name=newsList&style=style_04&langid=0&pageid=1834031&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_04_1577936696133; } } RequestURL(viewid,sys_url,moreParams); }); //-- //=== viewid:tab_style_03_1577936695920 ===// //-- $(function(){ var viewid="newsList_style_04_1577936696146"; var sys_url="viewid=newsList_style_04_1577936696146&name=newsList&style=style_04&langid=0&pageid=1834031&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_04_1577936696146; } } RequestURL(viewid,sys_url,moreParams); }); //-- //=== viewid:tab_style_03_1577936695920 ===// //-- $(function(){ var viewid="newsList_style_04_1577936696149"; var sys_url="viewid=newsList_style_04_1577936696149&name=newsList&style=style_04&langid=0&pageid=1834031&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_04_1577936696149; } } RequestURL(viewid,sys_url,moreParams); }); //-- //=== viewid:tab_style_03_1577936695920 ===// //-- $(function(){ var viewid="newsList_style_04_1577936696154"; var sys_url="viewid=newsList_style_04_1577936696154&name=newsList&style=style_04&langid=0&pageid=1834031&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_04_1577936696154; } } RequestURL(viewid,sys_url,moreParams); }); //-- //=== viewid:tab_style_03_1577936695920 ===// //-- $(function(){ var viewid="newsList_style_04_1577936696159"; var sys_url="viewid=newsList_style_04_1577936696159&name=newsList&style=style_04&langid=0&pageid=1834031&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_04_1577936696159; } } RequestURL(viewid,sys_url,moreParams); }); //-- //=== viewid:tab_style_03_1577936695920 ===// $(function(){ tab_style03_init("div_tab_style_03_1577936695920",4); setHover_Choice("div_tab_style_03_1577936695920"); setAnimat_int("div_tab_style_03_1577936695920",4); $("#tab_style_03_1577936695920 .tab_nav").show(); $("#tab_style_03_1577936695920 .tab_box").css({top:'',bottom:'',right:'',left:'',height:'',width:''}); }); //=== 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=1834031&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'); } }); });