acdr-ui/dist/dev/mp-weixin/modules/mall/sheep/components/s-select-sku/s-select-sku.wxml

1 line
2.1 KiB
Plaintext
Raw Normal View History

2024-10-01 09:15:35 +08:00
<su-popup wx:if="{{m}}" class="data-v-b3387018" u-s="{{['d']}}" bindclose="{{l}}" u-i="b3387018-0" bind:__l="__l" u-p="{{m}}"><view class="ss-modal-box bg-white ss-flex-col data-v-b3387018"><view class="modal-header ss-flex ss-col-center data-v-b3387018"><view class="header-left ss-m-r-30 data-v-b3387018"><image class="sku-image data-v-b3387018" src="{{a}}" mode="aspectFill"/></view><view class="header-right ss-flex-col ss-row-between ss-flex-1 data-v-b3387018"><view class="goods-title ss-line-2 data-v-b3387018">{{b}}</view><view class="header-right-bottom ss-flex ss-col-center ss-row-between data-v-b3387018"><view class="ss-flex data-v-b3387018"><view class="price-text data-v-b3387018">{{c}}</view></view><view class="stock-text ss-m-l-20 data-v-b3387018">{{d}}</view></view></view></view><view class="modal-content ss-flex-1 data-v-b3387018"><scroll-view scroll-y="true" class="modal-content-scroll data-v-b3387018" catchtouchmove="{{i}}"><view wx:for="{{e}}" wx:for-item="property" wx:key="c" class="sku-item ss-m-b-20 data-v-b3387018"><view class="label-text ss-m-b-20 data-v-b3387018">{{property.a}}</view><view class="ss-flex ss-col-center ss-flex-wrap data-v-b3387018"><button wx:for="{{property.b}}" wx:for-item="value" wx:key="d" class="{{['ss-reset-button', 'spec-btn', 'data-v-b3387018', value.b, value.c]}}" disabled="{{value.e}}" bindtap="{{value.f}}">{{value.a}}</button></view></view><view class="buy-num-box ss-flex ss-col-center ss-row-between ss-m-b-40 data-v-b3387018"><view class="label-text data-v-b3387018">购买数量</view><su-number-box wx:if="{{h}}" class="data-v-b3387018" bindchange="{{f}}" u-i="b3387018-1,b3387018-0" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"/></view></scroll-view></view><view class="modal-footer border-top data-v-b3387018"><view class="buy-box ss-flex ss-col-center ss-flex ss-col-center ss-row-center data-v-b3387018"><button class="ss-reset-button add-btn ui-Shadow-Main data-v-b3387018" bindtap="{{j}}"> 加入购物车 </button><button class="ss-reset-button buy-btn ui-Shadow-Main data-v-b3387018" bindtap="{{k}}">立即购买</button></view></view></view></su-popup>