2024-02-27 17:58:38 +08:00
|
|
|
<view class="containerView public">
|
|
|
|
|
|
|
|
<!-- 优惠卷列表 -->
|
2024-03-25 15:37:14 +08:00
|
|
|
<view class="couponView" wx:if="{{dataList.length > 0}}">
|
2024-02-28 09:39:59 +08:00
|
|
|
<van-radio-group value="{{ couponId }}">
|
2024-03-25 15:37:14 +08:00
|
|
|
<view class="item" wx:for="{{dataList}}" wx:key="*this" data-id="{{item.ticketId}}" data-isDisable="{{item.isDisable}}" bind:tap="couponSelect">
|
2024-02-27 17:58:38 +08:00
|
|
|
<view class="imgView">
|
2024-03-05 15:04:23 +08:00
|
|
|
<image class="img" src="{{IMG_NAME + '/profile/static/meeting/coupon/couponBg.png'}}" mode="aspectFill"></image>
|
2024-02-27 17:58:38 +08:00
|
|
|
<view class="timeView">
|
2024-03-26 14:45:17 +08:00
|
|
|
<view class="title" wx:if="{{item.type == 1}}">{{item.duration}}小时</view>
|
|
|
|
<view class="type" wx:if="{{item.type == 1}}">抵用券</view>
|
|
|
|
<view class="title" wx:if="{{item.type == 2}}">{{item.discount}}折</view>
|
|
|
|
<view class="type" wx:if="{{item.type == 2}}">折扣券</view>
|
2024-02-27 17:58:38 +08:00
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="contentView">
|
2024-03-05 15:04:23 +08:00
|
|
|
<view class="title">{{item.ticketName}}</view>
|
|
|
|
<view class="platform">适用平台: {{item.content}}</view>
|
|
|
|
<view class="validityTime">{{item.startTime}}~{{item.endDate}}</view>
|
2024-02-27 17:58:38 +08:00
|
|
|
</view>
|
2024-03-06 18:35:47 +08:00
|
|
|
<van-radio name="{{item.ticketId}}" disabled="{{item.isDisable}}"></van-radio>
|
2024-02-27 17:58:38 +08:00
|
|
|
</view>
|
|
|
|
</van-radio-group>
|
|
|
|
</view>
|
|
|
|
|
2024-03-25 15:37:14 +08:00
|
|
|
<!-- 没有优惠券 -->
|
|
|
|
<view class="noneView" wx:if="{{dataList.length <= 0}}">
|
|
|
|
<van-empty class="none-image" image="{{IMG_NAME + '/profile/static/meeting/coupon/none.png'}}" description="非常抱歉,您目前没有可用的优惠券" />
|
|
|
|
</view>
|
|
|
|
|
2024-03-05 15:04:23 +08:00
|
|
|
<view class="submitBtn" bind:tap="submit">确认</view>
|
2024-02-27 17:58:38 +08:00
|
|
|
|
|
|
|
</view>
|