浏览代码

优惠券修改

wangxiaoming 7 年之前
父节点
当前提交
450c9b2e8d
共有 4 个文件被更改,包括 40 次插入21 次删除
  1. 34 16
      tooth/clearing.html
  2. 3 2
      tooth/coupon_list.html
  3. 1 1
      tooth/free-receive-charger.html
  4. 2 2
      tooth/my-center.html

文件差异内容过多而无法显示
+ 34 - 16
tooth/clearing.html


+ 3 - 2
tooth/coupon_list.html

@@ -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 {

+ 1 - 1
tooth/free-receive-charger.html

@@ -109,7 +109,7 @@
 								location.href = dt.redirectURL;
 							} else {
 								console.log(dt)
-								$(".price").text(accDiv(dt.data.price,100));
+								$(".pay_price").text(accDiv(dt.data.price,100));
 							}
 						},
 						error: function(xhr, type, errorThrown) {

+ 2 - 2
tooth/my-center.html

@@ -140,7 +140,7 @@
 						</div>
 					</div>
 				</li>
-				<li class="mui-table-view-cell" id="receive-charger">
+				<!--<li class="mui-table-view-cell" id="receive-charger">
 					<div class="mui-table">
 						<div class="mui-table-cell mui-col-xs-5">
 							<span class="iconfont icon-mianfeilingqu"></span>免费领取充电器
@@ -149,7 +149,7 @@
 							<span class="mui-icon mui-icon-arrowright"></span>
 						</div>
 					</div>
-				</li>
+				</li>-->
 			</ul>
 			<div class="mui-content-padded mui-text-center">客服电话:
 				<a class="tel" href="tel:4006781860">400-6781860</a>