wangxiang 7 éve
szülő
commit
d0cc89faca
2 módosított fájl, 3 hozzáadás és 3 törlés
  1. 1 1
      aiberle/index.html
  2. 2 2
      aiberle/pro-details.html

+ 1 - 1
aiberle/index.html

@@ -238,7 +238,7 @@
 								mui(jingxuan2).each(function(index) {
 									var li = document.createElement('li');
 									li.className = 'mui-table-view-cell mui-media mui-col-xs-6';
-									li.innerHTML = '<a name="' + this.productId + '"><img class="mui-media-object" src="' + this.productChoicenessIm + '"><div class="index-pro-tit">' + this.productName + '</div><p class="mui-text-left">' + this.productRemark + '</p><p class="l-price">¥' + accDiv(this.productColorList[0].colorDiscount , 100) + '</p></a>';
+									li.innerHTML = '<a name="' + this.productId + '"><img class="mui-media-object" src="' + this.productChoicenessIm + '"><div class="index-pro-tit">' + this.productName + '</div><p class="mui-text-left">' + this.productColorDes + '</p><p class="l-price">¥' + accDiv(this.productColorList[0].colorDiscount , 100) + '</p></a>';
 									table.appendChild(li);
 								});
 

+ 2 - 2
aiberle/pro-details.html

@@ -164,10 +164,10 @@
 										zen = '<div class="details-title"><p><span class="iconfont icon-liwu"></span>' + zen.substring(0, zen.length - 1) + '</p></div>';
 									}
 									productName=productInfo.productName;
-									productRemark=productInfo.productRemark;
+									productRemark=productInfo.productColorDes;
 									productIntroduceImg=productInfo.productIntroduceImg;
 								li.innerHTML = '<a><div class="index-pro-tit">'+productInfo.productName+'</div>'
-		                						+'<p class="mui-text-left">'+productInfo.productRemark+'<span style="float: right;color: #ff3b3b;">¥'+(productInfo.productDiscount/ 100).toFixed(2)+'</span></p></a>'
+		                						+'<p class="mui-text-left">'+productInfo.productColorDes+'<span style="float: right;color: #ff3b3b;">¥'+(productInfo.productDiscount/ 100).toFixed(2)+'</span></p></a>'
 		                						+zen+'</br>'	
 		                						+'<a><img class="mui-media-object" src="'+ productInfo.productIntroduceImg +'"></a>';
 								table.appendChild(li);