acdr-ui/dist/dev/mp-weixin/sheep/components/s-coupon-select/s-coupon-select.wxml

1 line
1.7 KiB
Plaintext
Raw Normal View History

2024-09-19 07:20:14 +08:00
<su-popup wx:if="{{e}}" class="data-v-a3fd9407" u-s="{{['d']}}" bindclose="{{d}}" u-i="a3fd9407-0" bind:__l="__l" u-p="{{e}}"><view class="model-box data-v-a3fd9407"><view class="title ss-m-t-16 ss-m-l-20 ss-flex data-v-a3fd9407">优惠券</view><scroll-view class="model-content data-v-a3fd9407" scroll-y scroll-with-animation="{{false}}" enable-back-to-top="{{true}}"><view class="subtitle ss-m-l-20 data-v-a3fd9407">可使用优惠券</view><view wx:for="{{a}}" wx:for-item="item" wx:key="g" class="data-v-a3fd9407"><s-coupon-list wx:if="{{item.f}}" class="data-v-a3fd9407" u-s="{{['reason','d']}}" u-i="{{item.e}}" bind:__l="__l" u-p="{{item.f}}"><view class="ss-flex ss-m-t-24 data-v-a3fd9407" slot="reason"><view class="reason-title data-v-a3fd9407">可用原因:</view><view class="reason-desc data-v-a3fd9407">{{item.a}}</view></view><label class="ss-flex ss-col-center data-v-a3fd9407" bindtap="{{item.d}}"><radio class="data-v-a3fd9407" color="var(--ui-BG-Main)" style="transform:scale(0.8)" checked="{{item.b}}" catchtap="{{item.c}}"/></label></s-coupon-list></view><view class="subtitle ss-m-t-40 ss-m-l-20 data-v-a3fd9407">不可使用优惠券</view><view wx:for="{{b}}" wx:for-item="item" wx:key="d" class="data-v-a3fd9407"><s-coupon-list wx:if="{{item.c}}" class="data-v-a3fd9407" u-s="{{['reason']}}" u-i="{{item.b}}" bind:__l="__l" u-p="{{item.c}}"><view class="ss-flex ss-m-t-24 data-v-a3fd9407" slot="reason"><view class="reason-title data-v-a3fd9407">不可用原因:</view><view class="reason-desc data-v-a3fd9407">{{item.a}}</view></view></s-coupon-list></view></scroll-view></view><view class="modal-footer ss-flex data-v-a3fd9407"><button class="confirm-btn ss-reset-button data-v-a3fd9407" bindtap="{{c}}">确认</button></view></su-popup>