34 lines
1.8 KiB
Plaintext
Raw Normal View History

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-04-10 10:42:06 +08:00
<image class="img" src="{{IMG_NAME + item.bgUrl}}" 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>
2024-03-26 15:27:33 +08:00
<view class="title" wx:if="{{item.type == 2}}">{{item.discount * 10}}折</view>
2024-03-26 14:45:17 +08:00
<view class="type" wx:if="{{item.type == 2}}">折扣券</view>
2024-02-27 17:58:38 +08:00
</view>
</view>
<view class="contentView">
2024-04-10 10:42:06 +08:00
<view class="title">{{item.ticketName}} x {{item.num}}张</view>
<view class="platform">{{parkName}}</view>
2024-03-05 15:04:23 +08:00
<view class="validityTime">{{item.startTime}}~{{item.endDate}}</view>
2024-04-10 10:42:06 +08:00
<view class="validityTime">单次可用一张</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>