Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/www.85520057.com/func.php:230) in /www/wwwroot/www.85520057.com/js.php on line 27
//=== viewid:dh_style_28_1608866904035 ===// /*pc,手机显示隐藏*/ function is_mobiles(){ return window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767); } var is_mobiles_boolean = is_mobiles(); $(function(){ /*pc,手机显示隐藏*/ }) //=== viewid:dh_style_28_1608866904035 ===// 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_28_1608866904035(){ $("#dh_style_28_1608866904035 .menuUl>li").each(function(){ $(this).find(".menuUl03").css("left",'100%'); }) } $(window).resize(function() { subLeft_dh_style_28_1608866904035(); }) $(function(){ $("#dh_style_28_1608866904035 .fa-navicon").click(function(){ $("#dh_style_28_1608866904035").addClass('clearTransform'); $("#dh_style_28_1608866904035 .menuUlCopy").each(function(){ $(this).siblings(".fa").show(); }) }) subLeft_dh_style_28_1608866904035(); $("#dh_style_28_1608866904035 .subBox").css("top",$("#dh_style_28_1608866904035 .menuUl_box").height()); if($("#dh_style_28_1608866904035 .menuUl").hasClass("noHover")){ var tabNum = 0; $("#dh_style_28_1608866904035 .menuUl>li").find(".Onsub").each(function(){ tabNum += 1; $(this).parent().attr("tabNum",tabNum) }) $("#dh_style_28_1608866904035 .menuUl>li .Onsub").mouseover(function(){ $("#dh_style_28_1608866904035 .subBox").show(); var index = $(this).parent().attr("tabNum"); $("#dh_style_28_1608866904035 .subBox .subItems").eq(index-1).fadeIn(100).siblings().hide(); $("#dh_style_28_1608866904035 .subBox .subMenuImgArea .subMenuImgCon").eq(0).fadeIn(100).siblings().hide(); }) $("#dh_style_28_1608866904035 .subBox").mouseleave(function(){ $(this).hide(); }); $("#dh_style_28_1608866904035 .menuUl>li .Nosub").mouseover(function(){ $("#dh_style_28_1608866904035 .subBox").hide(); }) //风格41 42 } }) var color = $('#dh_style_28_1608866904035 .menuStyle_28 .menuUl02 .subMenu02').css('background-color'); $('#dh_style_28_1608866904035 .menuStyle_28').append(``); $('#dh_style_28_1608866904035 .menuStyle_28 .menuUl02 .subMenu02').mouseover(function(){ let that = $(this); setTimeout(function(){ var hoverColor = that.css('background-color'); $('#dh_style_28_1608866904035 .menuStyle_28').append(``); },100); }); //=== viewid:homelink_style_02_1609291951927 ===// //-- $(function(){ var viewid="homelink_style_02_1609291951927"; var sys_url="viewid=homelink_style_02_1609291951927&name=homelink&style=style_02&langid=0&pageid=663227&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.moreParamshomelink_style_02_1609291951927; } } RequestURL(viewid,sys_url,moreParams); }); //-- //=== viewid:productList_style_23_1608879396392,homelink_style_02_1609292585015,productList_style_05_1498112766363,productList_style_05_1609230757035,homelink_style_02_1609292955457,homelink_style_02_1609291951927,productList_style_23_1609291974790 ===// //=== viewid:productList_style_23_1608879396392,productList_style_23_1609291974790 ===// var SpecDebug = false; /** * @Content:获取某个区域(div id="#spec_{s_Hash}")所选择的各个规格所选中的 * @Author:zhaogh * @Version:10.0.0 * @Param:s_Hash varchar 区域特征 * @Return:[{DataIndex:0,DataVal:'#FFFFF'}] */ $.ajaxSetup({ cache: false }); function SpecCurSelect(s_Hash){ var arrReturn = []; var curArea = $("#spec_"+s_Hash); $(".sys_item_spec .sys_item_specpara",curArea).each(function(){ $("li",$(this)).each(function(){ if($(this).hasClass('selected')){ var curData = { 'DataIndex' : $(this).data('index'), 'DataVal' : $(this).data('aid'), }; arrReturn.push(curData); } }); }); return arrReturn; } function SpecGetAttrPrice(s_Hash,is_int){//是否取整 if(typeof(is_int)=="undefined") var is_int = 0; var curArea = $("#spec_"+s_Hash); var defaultstats=true; var _val=''; var _resp={ mktprice:".sys_item_mktprice", price:".sys_item_price" } $(".sys_item_spec .sys_item_specpara",curArea).each(function(){ var i=$(this); var v=i.attr("data-attrval"); if(!v){ defaultstats=false; }else{ _val+=_val!=""?"_":""; _val+=v; } }); var curResult = {}; if(!!defaultstats){ if(!sys_item['sys_attrprice'][s_Hash][_val]){ return false; } var curResult = sys_item['sys_attrprice'][s_Hash][_val]; _price = curResult['price']; var backprice = _price; //_price = sys_item['sys_attrprice'][s_Hash][_val]['price']; SpecIDSpecPriceSet(s_Hash,sys_item['sys_attrprice'][s_Hash][_val]['IDSpecPrice']); SpecIDSpecStockSet(s_Hash,sys_item['sys_attrnum'][s_Hash][_val]['num']); if(sys_item['sys_attrnum'][s_Hash][_val]['num']>0){//不是不限库存的 var curNum = parseInt($("#"+s_Hash+"_ProdNum").val()); if(!curNum || curNum<1)curNum = 1; var diffNum = sys_item['sys_attrnum'][s_Hash][_val]['num']-sys_item['sys_attrnum'][s_Hash][_val]['nums']; $("#"+s_Hash+"_ProdNum").attr('data-maxnum',diffNum); $('.snum').html('剩余库存'+diffNum+'件'); if(diffNum > 0){ $('.havnum').show(); $('.nonum').hide(); }else{ $('.havnum').hide(); $('.nonum').show(); } CheckStock(s_Hash); } }else{ var curResult = false; var allNum = 0; $.each(sys_item['sys_attrnum'][s_Hash],function(i,item){ allNum = allNum+parseInt(item.num); }); SpecIDSpecStockSet(s_Hash,allNum); //var curResult = sys_item['price'][s_Hash]; //_price = curResult['price']; //_mktprice = sys_item['mktprice']; _price = sys_item['price'][s_Hash]; var backprice = _price; } _price = price_format(_price); //输出价格 var newPriceObj = $("#"+sys_item['price_id'][s_Hash]['HTMLPriceNewID']); if(newPriceObj){ if(is_int==1){ if(typeof(_price)=='string') _price = _price.replace(/,/g, ""); _price = parseFloat(_price); _price = Math.round(_price); } newPriceObj.text(_price); } var oldPriceObj = $("#"+sys_item['price_id'][s_Hash]['HTMLPriceOldID']); if(oldPriceObj){ if(is_int==1){ var oldprice = sys_item['price_old'][s_Hash]; if(typeof(oldprice)=='string') sys_item['price_old'][s_Hash] = oldprice.replace(/,/g, ""); sys_item['price_old'][s_Hash] = parseFloat(sys_item['price_old'][s_Hash]); sys_item['price_old'][s_Hash] = Math.round(sys_item['price_old'][s_Hash]); } oldPriceObj.text(sys_item['price_old'][s_Hash]); } var packagePriceObj = $("#"+sys_item['price_id'][s_Hash]['HTMLPricePID']); if(packagePriceObj && curResult){ if(curResult['PackagePrice']){ if(is_int==1){ var PackagePrice = curResult['PackagePrice']; if(typeof(PackagePrice)=='string') curResult['PackagePrice'] = PackagePrice.replace(/,/g, ""); curResult['PackagePrice'] = parseFloat(curResult['PackagePrice']); curResult['PackagePrice'] = Math.round(curResult['PackagePrice']);//是否取整 } packagePriceObj.text(curResult['PackagePrice']); $(".packageTips").css("display","block"); }else{ packagePriceObj.text("无"); $(".packageTips").css("display","none"); } } var memberPriceObj = $("#"+sys_item['price_id'][s_Hash]['HTMLPriceMID']); if(memberPriceObj && curResult && curResult["mprice"]){ if(curResult['mprice']){ if(is_int==1){ var mprice = curResult['mprice']; if(typeof(mprice)=='string') curResult['mprice'] = mprice.replace(/,/g, ""); curResult['mprice'] = parseFloat(curResult['mprice']); curResult['mprice'] = Math.round(curResult['mprice']);//是否取整 } curResult['mprice'] = price_format(curResult['mprice']); memberPriceObj.text(curResult['mprice']); }else{ memberPriceObj.text("无"); } } //上面那个mprice有什么用的,俊杰看看,我先重写一个让多规格能够正常使用先 by zhaobin var PriceObj = $("#"+sys_item['price_id'][s_Hash]['HTMLPricePID']); if(PriceObj && curResult && curResult["price"] && !curResult['PackagePrice']){ if(curResult['price']){ if(is_int==1) { var price = curResult['price']; if(typeof(price)=='string') curResult['price'] = price.replace(/,/g, ""); curResult['price'] = parseFloat(curResult['price']); curResult['price'] = Math.round(curResult['price']);//是否取整 } curResult['price'] = price_format(curResult['price']); PriceObj.text(curResult['price']); }else{ PriceObj.text("无"); } } } function CheckStock(s_Hash){ var prodnumObj = $("#"+s_Hash+"_ProdNum"); var curNum = parseInt(prodnumObj.val()); var maxNum = parseInt(prodnumObj.data('maxnum')); if(!curNum || curNum<1)curNum = 1; if(maxNum 0 && $('body').width() < 767); } $(function(){ $('#productList_style_23_1609291974790 .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天0时0分0秒'); } } //=== viewid:qqol_style_06_1606468857651 ===// $('#qqol_style_06_1606468857651 .item_box.backup').click(function(){ $('html , body').animate({scrollTop: 0},'slow'); }); //=== viewid:qqol_style_06_1606468857651 ===// //购物车 if(typeof showcart !== 'function'){ function showcart(){ var langid = 0; if (langid==0 && BodyIsFt) langid = 1; if(window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767)){ location.href = "//s143js.nicebox.cn/exusers/u_cart.php?idweb=51557&act=show&lang="+langid+"&ismobiles=1"; }else{ document.getElementById("boxName").innerHTML="查看购物车"; if(document.getElementById("boxClose")) document.getElementById("boxClose").innerHTML="×"; document.getElementById("showiframe").src="//s143js.nicebox.cn/exusers/u_cart.php?idweb=51557&act=show&lang="+langid+"&v=9"; box.Show({width:'1000px', height:'600px'}); } } } //判断是否是手机,用于处理QQ电脑端及手机端链接不一致问题 var mobiles_flag = ismobiles(); if(mobiles_flag){ $('#qqol_style_06_1606468857651 .qq_pc').hide(); $('#qqol_style_06_1606468857651 .qq_mobiles').show(); } function ismobiles() { var userAgentInfo = navigator.userAgent; var mobilesAgents = [ "androids", "iphoness", "SymbianOS", "Windows phones", "ipads","ipods"]; var mobiles_flag = false; //根据userAgent判断是否是手机 for (var v = 0; v < mobilesAgents.length; v++) { if (userAgentInfo.indexOf(mobilesAgents[v]) > 0) { mobiles_flag = true; break; } } var screen_width = window.screen.width; var screen_height = window.screen.height; //根据屏幕分辨率判断是否是手机 if(screen_width < 500 && screen_height < 800){ mobiles_flag = true; } return mobiles_flag; } //=== viewid:qqol_style_06_1606468857651 ===// // 对输入内容中的尖括号、引号等进行转义 function html_encode(str) { var s = ""; if (str.length == 0) return ""; s = str.replace(/&/g, "&"); s = s.replace(//g, ">"); s = s.replace(/ /g, " "); s = s.replace(/\'/g, "'"); s = s.replace(/\"/g, """); s = s.replace(/\n/g, "
"); return s; } function html_decode(str) { var s = ""; if (str.length == 0) return ""; s = str.replace(/&/g, "&"); s = s.replace(/</g, "<"); s = s.replace(/>/g, ">"); s = s.replace(/ /g, " "); s = s.replace(/'/g, "\'"); s = s.replace(/"/g, "\""); s = s.replace(/
/g, "\n"); return s; }