Ver código fonte

修改福利社,修改bug

wangxiaoming 7 anos atrás
pai
commit
575ada73f0

BIN
tooth/images/fulishe_1.jpg


BIN
tooth/images/fulishe_2.jpg


+ 1 - 1
tooth/register-vip.html

@@ -29,7 +29,7 @@
 				<h4> 已成功扫描唯一码 </h4>
 				<p id="barCodeId"></p>
 				<p>别忘了完善下方的会员信息</p>
-				<p>成功注册会员后,你就可以获得牙刷的延保服务和免费的400积分啦</p>
+				<p style="width: 60%;margin-left: 20%;">成功注册会员后,你就可以获得牙刷的延保服务和免费的400积分啦</p>
 			</div>
 			<img width="100%" src="images/youhuiquan.jpg" />
 			<div style="padding: 15px 10px;">

+ 17 - 7
tooth/welfare-service.html

@@ -40,12 +40,17 @@
 	</head>
 	<body>
 			<div class="mui-content">
-					<img width="100%" src="images/youhuiquan-details.jpg" />
-					<div style="padding: 40px 0;text-align: center;">
-						<button type="button" class="my-btn-receive">立即领取</button>
-					<div class="mui-content-padded">
+					<img src="images/fulishe_1.jpg" style="margin: 5%;width: 90%;"/>
+					<div style="text-align: center;    margin-bottom: 20px;">
+					<button type="button" class="my-btn-receive  fulishe"  style="width: 168px;height: 38px;padding: 0px;">立即领取</button>
+					<!--<div class="mui-content-padded">
 						<h6>你的笑容,我来守护右上角点击,分享给好友,守护他/她的笑容</h6>
+					</div>-->
 					</div>
+					
+					<img src="images/fulishe_2.jpg" class="goToShopping" style="margin: 5%;width: 90%;"/>
+					<div style="text-align: center;margin-bottom: 20px;">
+						<button type="button" class="my-btn-receive goToShopping" style="width: 168px;height: 38px;padding: 0px;    background: #CEB67D;">立即抢购</button>
 					</div>
 					
 			</div>
@@ -90,7 +95,7 @@
 			};
 		
 	});	 
-	mui('body').on('tap', '.my-btn-receive', function(event) {
+	mui('body').on('tap', '.fulishe', function(event) {
 		if(notReceive){
 			addAewPeople();
 		}else{
@@ -100,6 +105,11 @@
 		}
 	});
 	
+	mui('body').on('tap', '.goToShopping', function(event) {
+		location.href="pro-details.html?colorId=44";
+	});
+	
+	
 	
 		$.ajax(base_path + '/wechat/coupon/getIsReceive?dates=' + new Date().getTime(), {
 					data: {},// ajax参数 没有则不写
@@ -117,7 +127,7 @@
 							if(dt.status) {//判断接口返回状态status
 								notReceive=1;
 							} else {
-								$("button").text("已领取 去下单");
+								$(".fulishe").text("已领取 去下单");
 							}
 						}
 					},
@@ -147,7 +157,7 @@
 						if(dt.status) {//判断接口返回状态status
 							mui.alert("领取成功!");	
 							notReceive=null;
-							$("button").text("已领取 去下单");
+							$(".fulishe").text("已领取 去下单");
 						} else {
 							mui.alert("领取失败!");
 						}