acdr-ui/dist/dev/mp-weixin/modules/mall/sheep/components/s-coupon-select/s-coupon-select.wxml
2024-10-01 09:15:35 +08:00

1 line
1.7 KiB
Plaintext

<su-popup wx:if="{{e}}" class="data-v-5cd309e6" u-s="{{['d']}}" bindclose="{{d}}" u-i="5cd309e6-0" bind:__l="__l" u-p="{{e}}"><view class="model-box data-v-5cd309e6"><view class="title ss-m-t-16 ss-m-l-20 ss-flex data-v-5cd309e6">优惠券</view><scroll-view class="model-content data-v-5cd309e6" scroll-y scroll-with-animation="{{false}}" enable-back-to-top="{{true}}"><view class="subtitle ss-m-l-20 data-v-5cd309e6">可使用优惠券</view><view wx:for="{{a}}" wx:for-item="item" wx:key="g" class="data-v-5cd309e6"><s-coupon-list wx:if="{{item.f}}" class="data-v-5cd309e6" 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-5cd309e6" slot="reason"><view class="reason-title data-v-5cd309e6">可用原因:</view><view class="reason-desc data-v-5cd309e6">{{item.a}}</view></view><label class="ss-flex ss-col-center data-v-5cd309e6" bindtap="{{item.d}}"><radio class="data-v-5cd309e6" 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-5cd309e6">不可使用优惠券</view><view wx:for="{{b}}" wx:for-item="item" wx:key="d" class="data-v-5cd309e6"><s-coupon-list wx:if="{{item.c}}" class="data-v-5cd309e6" u-s="{{['reason']}}" u-i="{{item.b}}" bind:__l="__l" u-p="{{item.c}}"><view class="ss-flex ss-m-t-24 data-v-5cd309e6" slot="reason"><view class="reason-title data-v-5cd309e6">不可用原因:</view><view class="reason-desc data-v-5cd309e6">{{item.a}}</view></view></s-coupon-list></view></scroll-view></view><view class="modal-footer ss-flex data-v-5cd309e6"><button class="confirm-btn ss-reset-button data-v-5cd309e6" bindtap="{{c}}">确认</button></view></su-popup>