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

1 line
2.6 KiB
Plaintext

<su-popup wx:if="{{q}}" class="data-v-d81b77cf" u-s="{{['d']}}" bindclose="{{o}}" style="{{p}}" u-i="d81b77cf-0" bind:__l="__l" u-p="{{q}}"><view class="ss-modal-box bg-white ss-flex-col data-v-d81b77cf"><view class="modal-header ss-flex ss-col-center data-v-d81b77cf"><view class="header-left ss-m-r-30 data-v-d81b77cf"><image class="sku-image data-v-d81b77cf" src="{{a}}" mode="aspectFill"/></view><view class="header-right ss-flex-col ss-row-between ss-flex-1 data-v-d81b77cf"><view class="goods-title ss-line-2 data-v-d81b77cf"><view class="tig ss-flex ss-col-center data-v-d81b77cf"><view class="tig-icon ss-flex ss-col-center ss-row-center data-v-d81b77cf"><view class="groupon-tag data-v-d81b77cf"><image class="data-v-d81b77cf" src="{{b}}"/></view></view><view class="tig-title data-v-d81b77cf">拼团价</view></view><view class="info-title data-v-d81b77cf">{{c}}</view></view><view class="header-right-bottom ss-flex ss-col-center ss-row-between data-v-d81b77cf"><view class="price-text data-v-d81b77cf">{{d}}</view><view class="stock-text ss-m-l-20 data-v-d81b77cf"> 库存{{e}}件 </view></view></view></view><view class="modal-content ss-flex-1 data-v-d81b77cf"><scroll-view scroll-y="true" class="modal-content-scroll data-v-d81b77cf"><view wx:for="{{f}}" wx:for-item="property" wx:key="c" class="sku-item ss-m-b-20 data-v-d81b77cf"><view class="label-text ss-m-b-20 data-v-d81b77cf">{{property.a}}</view><view class="ss-flex ss-col-center ss-flex-wrap data-v-d81b77cf"><button wx:for="{{property.b}}" wx:for-item="value" wx:key="d" class="{{['ss-reset-button', 'spec-btn', 'data-v-d81b77cf', 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 data-v-d81b77cf"><view class="label-text data-v-d81b77cf">购买数量</view><su-number-box wx:if="{{i}}" class="data-v-d81b77cf" bindchange="{{g}}" u-i="d81b77cf-1,d81b77cf-0" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"/></view></scroll-view></view><view class="modal-footer ss-p-y-20 data-v-d81b77cf"><view class="buy-box ss-flex ss-col-center ss-flex ss-col-center ss-row-center data-v-d81b77cf"><view class="ss-flex data-v-d81b77cf"><button class="ss-reset-button origin-price-btn ss-flex-col data-v-d81b77cf"><view class="btn-title data-v-d81b77cf">{{j}}</view></button><button class="ss-reset-button btn-tox ss-flex-col data-v-d81b77cf" bindtap="{{n}}"><view class="btn-price data-v-d81b77cf">{{k}}</view><view wx:if="{{l}}" class="data-v-d81b77cf">立即开团</view><view wx:elif="{{m}}" class="data-v-d81b77cf">参与拼团</view></button></view></view></view></view></su-popup>