添加轮次领取优惠券

develop
GJW200011 4 years ago
parent 55fb1700c6
commit 0289137387

@ -135,6 +135,12 @@ previewMedia(e) {
} }
}, },
tabcoupon(e){
let url=e.currentTarget.dataset.router
wx.navigateTo({
url
})
},
/** /**
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */

@ -34,7 +34,10 @@
<van-icon name="/images/ui/location.png" size="30" data-longitude="{{show_detail.longitude}}" <van-icon name="/images/ui/location.png" size="30" data-longitude="{{show_detail.longitude}}"
data-latitude="{{show_detail.latitude}}" bind:click="loc" /> data-latitude="{{show_detail.latitude}}" bind:click="loc" />
</view> </view>
<view class="coupon" bindtap="tabcoupon" wx:if="{{show_detail.mini_coupon_status==3||show_detail.mini_coupon_status==1}}" data-router='{{show_detail.mini_coupon_activity_id}}'>
<!-- <image src="../../../images/ui/couponpic.png" alt=""/> -->
<image src="{{show_detail.mini_coupon_img}}" alt="" mode="widthFix" />
</view>
<view class="_block" id="nav1"> <view class="_block" id="nav1">
<view class="_title"> <view class="_title">
<view class="_icon" />演出详情 <view class="_icon" />演出详情

@ -4,10 +4,12 @@
height: 0; height: 0;
color: transparent; color: transparent;
} }
.btn1 { .btn1 {
pointer-events: none; pointer-events: none;
} }
.nav_show { .nav_show {
position: fixed; position: fixed;
top: 0; top: 0;
@ -304,4 +306,17 @@
.van-goods-action { .van-goods-action {
height: 100rpx !important; height: 100rpx !important;
}
/* 轮次领取优惠券 */
.coupon {
/* background: red; */
overflow: hidden;
padding: 0 30rpx;
border-radius: 8rpx;
}
.coupon image {
width: 690rpx;
border-radius: 8rpx;
} }
Loading…
Cancel
Save