详细说明 |
|
|
品牌:神通 | 产地: 泰州市神通工具制造有限公司 | 价格:100人民币/台 | 规格:完善 | 简要说明: GZ-10气动黄油加注器
下一页: GZ-3手压式黄油加注器
商品名称: GZ-3脚踏高压黄油加注器
商品编号: QH036
商品详细介绍
GZ-3脚踏高压黄油加注器 | | | | 详细介绍: www.tzsst.com 4006-646-008 0523-80800188
GZ-10气动黄油加注器
下一页: GZ-3手压式黄油加注器
GZ-3脚踏高压黄油加注器 |
产品编号
|
规格
|
装箱数
|
QH036
|
34*34*75
|
1
|
// jQuery(document).ready(function (){ var productIshave="false"; FrontProducts_detail02_images(); jQuery("li.user-choose div.choose-property span.specvalue").click(function (){ var detail02 = jQuery("#FrontProducts_detail02-1290742709863"); var productImgs = detail02.find("div.picarea div.imgbox ul li"); if(jQuery(this).hasClass("click")){ jQuery(this).removeClass("click"); jQuery(this).parent("li").children("input[type='hidden']").val(""); }else{ jQuery(this).parent("li").children("span.specvalue").removeClass("click"); jQuery(this).addClass("click"); var specvalueId = jQuery(this).metadata().specvalueId; jQuery(this).parent("li").children("input[type='hidden']").val(specvalueId); } //还原到商品缺货状态 if(productIshave=="true"){ jQuery("#FrontProducts_detail02-1290742709863_buyBtn").show(); }else{ jQuery("#FrontProducts_detail02-1290742709863_lackBtn").hide(); } // 请求多图信息 FrontProducts_detail02_images(); // 请求货品信息 var productSpecs = jQuery(this).parents("div.choose-property"); var noChooseSpec = productSpecs.find("input[type='hidden'][name^='spec'][value='']"); var productItem = productSpecs.children("ul.specifications"); if(noChooseSpec.length == 0){ // 所有规格值都已经选中,请求货品数据 jQuery.ajax( { url :"/comp-FrontProductsItem_detailBySpecJson01-001", type :'post', dataType :'json', data :jQuery(this).parents("form:first").serialize(), timeout :5000, cache :false, async: true, error : function() { alert('Error loading XML document'); }, success : function(json) { //写货品信息 if(typeof(json.id) == "undefined"){ productSpecs.children("input[type='hidden'][name='productItemId']").val(""); productItem.hide(); }else{ productSpecs.children("input[type='hidden'][name='productItemId']").val(json.id); productItem.children("li.item").children("span:last").text(json.itemCode); productItem.children("li.price").children("span:last").text(json.finalPrice.toFixed(2)); productItem.children("li.weight").children("span:last").text(json.weight.toFixed(2)); productItem.show(); } } }); }else{ productSpecs.children("input[type='hidden'][name='productItemId']").val(""); productItem.hide(); } }); }); function FrontProducts_detail02_images(){ jQuery.ajax( { url :"/comp-FrontProductsItem_imagesBySpecJson01-001", type :'post', dataType :'json', data :jQuery("#FrontProducts_detail02-1290742709863 form").serialize(), timeout :5000, cache :false, async: true, error : function() { alert('Error loading XML document'); }, success : function(json) { var imagesLi = jQuery("#FrontProducts_detail02-1290742709863 div.picarea div.imgbox ul li"); imagesLi.empty(); for(var i=0;i"); } //2009-6-23 切换规格赛选的图片中第一张在大图中显示。 var firstImg=imagesLi.find("a:first img"); if(firstImg.length>0){ changeBigImg(firstImg.get(0)); } /*-初始化多图展示的切换-*/ FrontProducts_detail02_initScrollCount(); if(jQuery("#FrontProducts_detail02-1290742709863_key10ScrollDiv").length>0){ FrontProducts_detail02_initScroll(); } } }); } //滚动小图片 function FrontProducts_detail02_initScrollCount(){ var maxImageNum =jQuery("#FrontProducts_detail02-1290742709863_key10Picarea").innerWidth() / jQuery("#FrontProducts_detail02-1290742709863_key10imglist > a").outerWidth(true); jQuery("#FrontProducts_detail02-1290742709863_key10imglist > a").hide(); jQuery("#FrontProducts_detail02-1290742709863_key10imglist > a").each(function (i){ if(i < maxImageNum - 1){ jQuery(this).show(); } }); } function FrontProducts_detail02_initScroll(){ var nextNOImg="/images/products/next-no.gif"; var nextCurrentImg="/images/products/next-current.gif"; var preNOImg="/images/products/pre-no.gif"; var preCurrentImg="/images/products/pre-current.gif"; if(jQuery("#FrontProducts_detail02-1290742709863_key10imglist > a:first").is(":visible")){//到了最左边,不能在点左箭头 jQuery("#FrontProducts_detail02-1290742709863_clickimgL").attr("src",preNOImg); }else{ jQuery("#FrontProducts_detail02-1290742709863_clickimgL").attr("src",preCurrentImg); } if(jQuery("#FrontProducts_detail02-1290742709863_key10imglist > a:last").is(":visible")){//到了最右边,不能在点右箭头 jQuery("#FrontProducts_detail02-1290742709863_clickimgR").attr("src",nextNOImg); }else{ jQuery("#FrontProducts_detail02-1290742709863_clickimgR").attr("src",nextCurrentImg); } jQuery("#FrontProducts_detail02-1290742709863_clickimgR").parent().show(); jQuery("#FrontProducts_detail02-1290742709863_clickimgL").parent().show(); } function FrontProducts_detail02_scroll(divId, px){ if(px>0 && jQuery("#FrontProducts_detail02-1290742709863_key10imglist > a:first").is(":hidden")){//点左箭头 var a = jQuery("#FrontProducts_detail02-1290742709863_key10imglist > a:visible:first").prevAll("a:first"); var b = jQuery("#FrontProducts_detail02-1290742709863_key10imglist > a:visible:last"); jQuery(a).show("normal",FrontProducts_detail02_initScroll); jQuery(b).hide(); }else if(px<0 && jQuery("#FrontProducts_detail02-1290742709863_key10imglist> a:last").is(":hidden")){//点右箭头 var a = jQuery("#FrontProducts_detail02-1290742709863_key10imglist > a:visible:last").nextAll("a:first"); /*- 隐藏 显示隐藏第一个的 -*/ var b = jQuery("#FrontProducts_detail02-1290742709863_key10imglist > a:visible:first"); jQuery(a).show(); jQuery(b).hide("normal",FrontProducts_detail02_initScroll); } } //点击小图切换大图和放大图按钮连接 function changeBigImg(thisobj){ var imgUrl=jQuery(thisobj).attr("src"); var bigImgUrlObj=jQuery("#FrontProducts_detail02-1290742709863_bigImgUrl"); jQuery("#FrontProducts_detail02-1290742709863_bigImg").attr("src",imgUrl); jQuery("#FrontProducts_detail02-1290742709863_bigImg").attr("jqimg",imgUrl); if(bigImgUrlObj.length>0){ if(bigImgUrlObj.hasClass("bigforImg")){ bigImgUrlObj.attr("href",imgUrl); } } }
|
|
|
|
|