...
|
...
|
@@ -141,11 +141,11 @@ function getDetailInfo(id){ |
|
|
dataType: 'json',
|
|
|
success: function (result) {
|
|
|
if(result.code == 200) {
|
|
|
$("#brandValue").html(result.data.brand);
|
|
|
$("#productNameValue").html(result.data.productName);
|
|
|
$("#brandValue").html(result.data.brand.replace(/</ig, '<').replace(/>/ig, '>'));
|
|
|
$("#productNameValue").html(result.data.productName.replace(/</ig, '<').replace(/>/ig, '>'));
|
|
|
$("#priceValue").html(result.data.price);
|
|
|
$("#saleTimeValue").html(result.data.saleTime);
|
|
|
$("#productCodeValue").html(result.data.productCode);
|
|
|
$("#productCodeValue").html(result.data.productCode.replace(/</ig, '<').replace(/>/ig, '>'));
|
|
|
var imageStr = "";
|
|
|
for (var i=0;i<result.data.imageList.length;i++){
|
|
|
imageStr += "<img height='132px;' width='211px;' class='pimg' src='"+result.data.imageList[i]+"'/>";
|
...
|
...
|
|