截骨刀 23cm直 平刃 刃宽8六角柄详情

首页

2018-12-11

$(function(){varmagnifierConfig={magnifier:"#magnifier1",//最外层的大容器width:445,//承载容器宽height:445,//承载容器高moveWidth:null,//如果设置了移动盒子的宽度,则不计算缩放比例zoom://缩放比例};var_magnifier=magnifier(magnifierConfig);//产品规格预加载_this=$(".js-l-pd-r-b-lab:first");_("input").addClass(l-pd-r-b-lab-c);_(i).removeClass(none);});/*设置cookie*/functionsetCookie(name,value,iDay){varoDate=newDate();(()+iDay);=name+=+value+;expires=+oDate+";path=/";}/*获取cookie*/functiongetCookie(name){varcookie=;vararr=(;);for(vari=0;i<;i++){vararr2=arr[i].split(=);if(arr2[0]==name){returnarr2[1]}}return;}/*移除cookie*/functionremoveCookie(name){setCookie(name,value,-1);}$(.js-l-jian).on(click,function(){varnum=$(this).next(".js-l-num");if(()<=1){(商品数量不能小于1);(1)}else{(function(){returnparseInt()-1})}});$(.js-l-jia).on(click,function(){varnum=$(this).prev(".js-l-num");if(()==""){(1)}(function(){returnparseInt()+1})});$(.js-l-num).on(blur,function(){varnum=$(this).val();if(num<=1){num=1;$(this).val(num);}});varstock_mode="OFF";$(.js-shop).on(click,function(){vargoods_id=$(this).attr(goods_id);varnum=$(.js-l-num).val();varjsondata={goods_id:goods_id,num:num};if(stock_mode==ON){$.ajax({url:"/Cart/",type:post,data:jsondata,dataType:json,success:function(data){if(==0){$(".login-right").css("position",static);({type:1,//skin:layui-layer-rim,//加上边框shade:,//点击遮罩关闭shift:0,title:false,moveType:1,content:$(.login-right)});}elseif(==1){(,{btn:[是,取消]},function(){$.ajax({url:"/Cart/",type:post,data:jsondata,dataType:json,success:function(data){if(==0){$(".login-right").css("position",static);({type:1,//skin:layui-layer-rim,//加上边框shade:,//点击遮罩关闭shift:0,title:false,moveType:1,content:$(.login-right)});}elseif(==2){(,{icon:1});}else{(,{icon:2});}}});})}else{。