Authored by 马力

套餐商品

... ... @@ -77,7 +77,7 @@
</tr>
<tr>
<td style="width:10%">折扣配置:</td>
<td><input type="text" id="discount" placeholder="折扣" class="form-control" required maxlength="10" value="" style="width:40%">
<td><input type="text" id="discount" placeholder="折扣" class="form-control" required maxlength="10" value="" style="width:40%" />
<span class="help-inline red">支持0.01-1之间的数字</span>
</td>
</tr>
... ...
... ... @@ -51,6 +51,7 @@ if($("#id").val()){
$("#budle-table").find("input[name='bundleDiscount']").val($("#edit-discount").val());
$("#shopLable").text(shopName);
$("#discount, input[name=bundleDiscount]").attr('disabled', 'disabled');
}
... ...
... ... @@ -35,7 +35,7 @@ var tableGird = new common.grid({
var imgHtml = "<table><tr>" ;
$.each(items.productInfoList,function(index,item){
imgHtml += "<td><img data-productName='" + item.productName + "' data-skn='" + item.productSkn + "' data-bundlePrice='" + items.bundlePrice + "' data-salePrice='" + item.salePrice + "' data-sknStatus='" + item.sknStatus + "' data-storageNum='" + item.storageNum + "' class=\"viewSknImg\" src=\""+item.productPicImg+"\"/></td>";
imgHtml += "<td style='padding:4px;'><img data-productName='" + item.productName + "' data-skn='" + item.productSkn + "' data-bundlePrice='" + items.bundlePrice + "' data-salePrice='" + item.salePrice + "' data-sknStatus='" + item.sknStatus + "' data-storageNum='" + item.storageNum + "' class=\"viewSknImg\" src=\""+item.productPicImg+"\"/></td>";
})
imgHtml += "</tr></table>"
return imgHtml;
... ... @@ -208,4 +208,4 @@ function toDate(seconds) {
function fixTwo(number) {
return number < 10? "0" + number: number;
}
}
\ No newline at end of file
... ...
... ... @@ -421,3 +421,7 @@ pc端店铺模板css
background: #d9edf7;
}
img.viewSknImg {
width: 59px;
height: 78px;
}
\ No newline at end of file
... ...