|
@@ -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("领取失败!");
|
|
|
}
|