Commit 8760610d by 高淑倩

modify: coupon_detail_botton

parent 18bdac35
......@@ -250,6 +250,15 @@ a {
bottom: 0;
box-shadow: 0 0 20rpx #ccc;
}
.redeem-now{
font-size: 28rpx!important;
height: 88rpx;
line-height: 88rpx;
background-color: rgb(0, 188, 112)!important;
margin: 20rpx 40rpx;
box-sizing: border-box;
}
/*!
* weui.js v1.1.0 (https://github.com/weui/weui-wxss)
* Copyright 2016, wechat ui team
......
......@@ -10,7 +10,6 @@ wxService.page({
* 页面的初始数据
*/
data: {
isExchange:false,
couponDetail:{},
cardno: ''
},
......@@ -26,13 +25,6 @@ wxService.page({
})
},
//立即兑换
exchange(){
this.setData({
isExchange :true
})
},
// 卡券详情
getCouponDetail(id){
wx.showLoading({
......
......@@ -11,7 +11,7 @@
<view class='coupon-name fs-28'>{{couponDetail.couponSetting.title}}</view>
<view class='coupon-desc fs-28'>{{couponDetail.coupon.startTime}} 至 {{couponDetail.coupon.endTime}}</view>
</view>
<view class='coupon-code fs-24' bindtap='exchange' bindtap="handelPresentCouponCode">出示券码</view>
<view class='coupon-code fs-24' bindtap="handelPresentCouponCode">出示券码</view>
</view>
<view class='integral-detail'>
<view class='integral-list'>
......@@ -23,6 +23,10 @@
<text class='integral-desc'>{{couponDetail.coupon.startTime}} 至 {{couponDetail.coupon.endTime}}</text>
</view>
</view>
<button type='primary' class="redeem-now" bindtap='exchange' bindtap="handelPresentCouponCode">出示券码</button>
<!--<button type='primary' class="redeem-now" bindtap="handelPresentCouponCode">出示券码</button>-->
</view>
</view>
<view class="position-bottom">
<button type='primary' class="redeem-now" bindtap='handelPresentCouponCode'>出示券码</button>
</view>
......@@ -4,12 +4,6 @@
padding: 20rpx;
clear: both;
}
.redeem-now{
font-size: 28rpx!important;
height: 88rpx;
line-height: 88rpx;
background-color: rgb(0, 188, 112)!important;
}
.coupon-list{
width: 712rpx;
height: 209rpx;
......
......@@ -5,21 +5,6 @@
clear: both;
margin-bottom: 150rpx;
}
.redeem-now{
font-size: 28rpx!important;
margin: 20rpx 40rpx;
box-sizing: border-box;
height: 88rpx;
line-height: 88rpx;
background-color: rgb(0, 188, 112)!important;
}
/* .redeem-now{
font-size: 28rpx!important;
height: 88rpx;
line-height: 88rpx;
background-color: rgb(0, 188, 112)!important;
} */
.coupon-list{
width: 712rpx;
height: 209rpx;
......
......@@ -37,7 +37,7 @@
"list": []
},
"miniprogram": {
"current": 6,
"current": 12,
"list": [
{
"id": -1,
......@@ -115,7 +115,7 @@
"id": 12,
"name": "优惠券详情",
"pathName": "pages/couponDetail/couponDetail",
"query": "cardno=08128987889220217570"
"query": "cardno=99411120228224638656"
}
]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment