浏览代码

修改bug:页面修改

wangxiaoming 7 年之前
父节点
当前提交
23df1a5d4e
共有 6 个文件被更改,包括 30 次插入25 次删除
  1. 7 7
      tooth/clearing.html
  2. 5 5
      tooth/coupon_list.html
  3. 2 2
      tooth/exchange-goods.html
  4. 4 3
      tooth/my-tooth.html
  5. 8 4
      tooth/pay-win.html
  6. 4 4
      tooth/welfare-service.html

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


+ 5 - 5
tooth/coupon_list.html

@@ -3,7 +3,7 @@
 
 	<head>
 		<meta charset="UTF-8">
-		<title>优惠券</title>
+		<title>我的券包</title>
 		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
 		<meta name="apple-mobile-web-app-capable" content="yes">
 		<meta name="apple-mobile-web-app-status-bar-style" content="black">
@@ -20,7 +20,7 @@
 		<!--下拉刷新容器-->
 		<div id="pullrefresh_yhq_list" class="mui-content mui-scroll-wrapper">
 			<div class="mui-scroll">
-				<!--优惠券列表-->
+				<!--现金券列表-->
 				<ul class="my-yhq-list">
 
 				</ul>
@@ -96,18 +96,18 @@
 									table.appendChild(li);
 								});
 							} else {
-								mui.alert("获取优惠券列表失败!");
+								mui.alert("获取现金券列表失败!");
 							}
 						}
 					},
 					error: function(xhr, type, errorThrown) {
 						console.log(xhr);
-						mui.alert("获取优惠券列表失败!网络错误");
+						mui.alert("获取现金券列表失败!网络错误");
 					}
 				});
 			}
 			mui.ready(function() {
-				mui('#pullrefresh_yhq_list').pullRefresh().pullupLoading();//首次加载
+				mui('#pullrefresh_yhq_list').pullRefresh().pullupLoading(); //首次加载
 			});
 		</script>
 	</body>

+ 2 - 2
tooth/exchange-goods.html

@@ -115,10 +115,10 @@
 							status = order.salesStatus; //赋值状态
 							if(status == 2){
 								$("#addressInfo").hide();
-								$("#msg").html("提示:提交审核成功后,将在3个工作日内退款将退回原支付账户");
+								$("#msg").html("提示:提交审核成功后,退款金额为您实付金额,当实付金额不为0时,您实付金额将在3个工作日内退款到原支付账户。");
 							}else if(newStatus == 4){  //退货退款
 								$("#addressInfo").show();
-								$("#msg").html("<p>提示:</p><p>1:提交成功后,需联系客服并寄回产品,且将寄回单号和 寄件人信息提供给客服、方便核实</p><p>2:客服将在收到寄回产品后,会在3个工作日内将退款退回原支付账户</p>" );
+								$("#msg").html("<p>提示:</p><p>1:提交成功后,需联系客服并寄回产品,且将寄回单号和 寄件人信息提供给客服、方便核实</p><p>2:我们收到退回产品后,将立即为您退款,当实付金额不为0时,您实付金额将在3个工作日内退款到原支付账户。</p>" );
 							}else if(newStatus == 7){ 
 								$("#addressInfo").show();
 								$("#msg").html("提示:提交成功后,需联系客服并寄回产品,并且将寄回单号和 寄件人信息、需要更换的机器信息一起提供给客服" );

+ 4 - 3
tooth/my-tooth.html

@@ -110,7 +110,7 @@
 											//li.className='mui-table-view-cell mui-media mui-col-xs-6';//給li标签className
 											var baercode = this.apparatusBarcode.substring(this.apparatusBarcode.length-9);
 											var store = "";
-											switch(this.apparatusStore){
+											/*switch(this.apparatusStore){
 												case 1:
 													store = "天猫";
 													break;
@@ -123,8 +123,9 @@
 												case 4:
 													store = "微信";
 													break;
-											}
-											li.innerHTML = '<div class="mui-card"><div class="mui-card-header mui-card-media"> <img src="'+this.productImg+'"> <div class="mui-media-body"> '+this.productName+' <h6>产品尾号:'+baercode+'</h6> <div class="footer"> '+store+'<span class="mui-pull-right">延保截止:'+formatDateFull(this.apparatusWarrantyDate)+'</span> </div> </div> </div></div>';
+											}*/
+											store = '<span class="">产品尾号:'+ baercode +'</span>';
+											li.innerHTML = '<div class="mui-card"><div class="mui-card-header mui-card-media"> <img src="'+this.productImg+'" style="margin-top: 5px;"> <div class="mui-media-body"> '+this.productName+' <div class="footer"> '+store+'<span class="mui-pull-right">延保截止:'+formatDateFull(this.apparatusWarrantyDate)+'</span> </div> </div> </div></div>';
 											table.appendChild(li);//将li插入table
 										});	
 										$(".loading").hide().css("opacity", "0"); //隐藏(正在加载...)

+ 8 - 4
tooth/pay-win.html

@@ -26,14 +26,15 @@
 				<h4> 恭喜您支付成功</h4>
 				<p>感谢您的购买</p>
 				</div>
-				<div style="margin:50px auto;width:240px;text-align: center;">
-					<h3 class="cl-red">已赠送您<span id="integral">0</span>积分</h3> <br /> 
+				<div style="margin:50px auto;text-align: center;">
+					<h3 class="cl-red" id="is_show_integral">已赠送您<span id="integral">0</span>积分</h3>
+					<br /> 
 					<p>
 					记得收货后扫描产品唯一码 <br /> 还有400积分可领取哟!
 				</p>
 				<div style="padding:40px 0 20px 0;">
-					<button type="button" class="my-btn-black my-btn go-pro-list">继续逛逛</button>&nbsp;&nbsp;&nbsp;&nbsp;
-					<button type="button" class="my-btn-black my-btn go_order_details">查看订单</button>
+					<button type="button" class="my-btn-black my-btn go-pro-list" style="width: 110px;margin-right: 0px;padding: 8px 0;">继续逛逛</button>&nbsp;&nbsp;&nbsp;&nbsp;
+					<button type="button" class="my-btn-black my-btn go_order_details" style="width: 110px;margin-left: 0px;padding: 8px 0;">查看订单</button>
 				</div>
 				</div>	
 			</div>
@@ -74,6 +75,9 @@
 							} else {
 								if(dt.status) {
 									if(typeof(dt.data)!="undefined"){
+										if(dt.data == 0){
+											$("#is_show_integral").hide();
+										}
 										$("#integral").text(dt.data);
 									}
 								} else {

+ 4 - 4
tooth/welfare-service.html

@@ -80,7 +80,7 @@
 					"appId": "",
 					"imgUrl": 'https://s.iamberry.com/soodo/wechat/images/indexShare.jpg',
 					"link": src,
-					"desc": '让你的齿龄停留在18岁',
+					"desc": '让你的齿龄停留在18岁',
 					"title": "【soodo上朵】柔性声波电动牙刷,赠送您60元现金券",
 					"netError": "您的网络异常,请刷新重试!如多次刷新无效,请向我们反应 ~",
 					"shareTimeSuccess": "分享成功",
@@ -123,11 +123,11 @@
 					},
 					error: function(xhr, type, errorThrown) {
 						console.log(xhr);
-						mui.alert("领取优惠券失败!网络错误");
+						mui.alert("领取现金券失败!网络错误");
 					}
 				});
 	
-	//领取新人优惠
+	//领取新人现金
 	function addAewPeople(){
 			
 			if(notReceive){
@@ -155,7 +155,7 @@
 				},
 				error: function(xhr, type, errorThrown) {
 					console.log(xhr);
-					mui.alert("领取新人优惠券失败!网络错误");
+					mui.alert("领取新人现金券失败!网络错误");
 				}
 			});
 			}