|
@@ -93,15 +93,16 @@
|
|
|
couponReduceHtml += '<span>' + (this.couponReduce / 100).toFixed(1) + '</span>折';
|
|
|
}
|
|
|
|
|
|
+
|
|
|
/*使用条件*/
|
|
|
var couponConsumeEnoughHtml = '满'+(this.couponConsumeEnough / 100).toFixed(0)+'元可用'
|
|
|
if(this.couponId == 20000){
|
|
|
- couponConsumeEnoughHtml = '会员购买刷头使用';
|
|
|
+ couponConsumeEnoughHtml = '购买刷头使用<br>可兑换“柔羽呵护”或“温和洁净”刷头1支';
|
|
|
}else if(this.couponId == 30000){
|
|
|
couponConsumeEnoughHtml = '购买牙刷使用';
|
|
|
}
|
|
|
|
|
|
- li.innerHTML = '<img width="100%" src="' + src + '" /><div class="fixed-box"><div class="table"><div class="left-cell"><span class="tit">' + this.couponName + '</span><p class="time">使用条件:' + couponConsumeEnoughHtml + '</p><span class="condition">有效期至:' + this.couponUseEndDate + '</span></div><div class="right-cell"><div class="money">' + couponReduceHtml + '</div></div></div></div';
|
|
|
+ li.innerHTML = '<img width="100%" src="' + src + '" /><div class="fixed-box"><div class="table"><div class="left-cell" style="width: 76%;"><span class="tit">' + this.couponName + '</span><p class="time" style="line-height: 15px;">使用条件:' + couponConsumeEnoughHtml + '</p><span class="condition">有效期至:' + this.couponUseEndDate + '</span></div><div class="right-cell"><div class="money">' + couponReduceHtml + '</div></div></div></div';
|
|
|
table.appendChild(li);
|
|
|
});
|
|
|
} else {
|