seckill.wxml 3.9 KB

1
  1. <s-layout wx:if="{{M}}" class="data-v-31d78969" u-s="{{['d']}}" style="{{L}}" u-i="31d78969-0" bind:__l="__l" u-p="{{M}}"><detail-navbar class="data-v-31d78969" u-i="31d78969-1,31d78969-0" bind:__l="__l"/><detail-skeleton wx:if="{{a}}" class="data-v-31d78969" u-i="31d78969-2,31d78969-0" bind:__l="__l"/><s-empty wx:elif="{{b}}" class="data-v-31d78969" u-i="31d78969-3,31d78969-0" bind:__l="__l" u-p="{{c}}"/><block wx:else><view class="detail-swiper-selector data-v-31d78969"><su-swiper wx:if="{{d}}" class="ss-m-b-14 data-v-31d78969" u-i="31d78969-4,31d78969-0" bind:__l="__l" u-p="{{d}}"/><view class="title-card ss-m-y-14 ss-m-x-20 ss-p-x-20 ss-p-y-34 data-v-31d78969"><view class="price-box ss-flex ss-row-between ss-m-b-18 data-v-31d78969"><view class="ss-flex data-v-31d78969"><view class="price-text ss-m-r-16 data-v-31d78969">{{e}}</view><view class="tig ss-flex ss-col-center data-v-31d78969"><view class="tig-icon ss-flex ss-col-center ss-row-center data-v-31d78969"><text class="cicon-alarm data-v-31d78969"></text></view><view class="tig-title data-v-31d78969">秒杀价</view></view></view><view wx:if="{{f}}" class="countdown-box data-v-31d78969"><view class="countdown-title ss-m-b-20 data-v-31d78969">距结束仅剩</view><view class="ss-flex countdown-time data-v-31d78969"><view class="ss-flex countdown-h data-v-31d78969">{{g}}</view><view class="ss-m-x-4 data-v-31d78969">:</view><view class="countdown-num ss-flex ss-row-center data-v-31d78969">{{h}}</view><view class="ss-m-x-4 data-v-31d78969">:</view><view class="countdown-num ss-flex ss-row-center data-v-31d78969">{{i}}</view></view></view><view wx:else class="countdown-title data-v-31d78969"> 活动已结束 </view></view><view class="ss-flex ss-row-between ss-m-b-60 data-v-31d78969"><view wx:if="{{j}}" class="origin-price ss-flex ss-col-center data-v-31d78969"> 原价 <view class="origin-price-text data-v-31d78969">{{k}}</view></view><detail-progress wx:if="{{l}}" class="data-v-31d78969" u-i="31d78969-5,31d78969-0" bind:__l="__l" u-p="{{l}}"/></view><view class="title-text ss-line-2 ss-m-b-6 data-v-31d78969">{{m}}</view><view class="subtitle-text ss-line-1 data-v-31d78969">{{n}}</view></view><view class="detail-cell-card detail-card ss-flex-col data-v-31d78969"><detail-cell-sku wx:if="{{p}}" class="data-v-31d78969" bindtap="{{o}}" u-i="31d78969-6,31d78969-0" bind:__l="__l" u-p="{{p}}"/></view><s-select-seckill-sku wx:if="{{v}}" class="data-v-31d78969" bindbuy="{{q}}" bindchange="{{r}}" bindclose="{{s}}" u-i="31d78969-7,31d78969-0" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"/></view><detail-comment-card wx:if="{{w}}" class="detail-comment-selector data-v-31d78969" u-i="31d78969-8,31d78969-0" bind:__l="__l" u-p="{{w}}"/><detail-content-card wx:if="{{x}}" class="detail-content-selector data-v-31d78969" u-i="31d78969-9,31d78969-0" bind:__l="__l" u-p="{{x}}"/><detail-tabbar wx:if="{{K}}" class="data-v-31d78969" u-s="{{['d']}}" u-i="31d78969-10,31d78969-0" bind:__l="__l" bindupdateModelValue="{{J}}" u-p="{{K}}"><view class="buy-box ss-flex ss-col-center ss-p-r-20 data-v-31d78969"><button wx:if="{{y}}" class="ss-reset-button origin-price-btn ss-flex-col data-v-31d78969" bindtap="{{A}}"><view class="data-v-31d78969"><view class="btn-price data-v-31d78969">{{z}}</view><view class="data-v-31d78969">原价购买</view></view></button><button wx:else class="ss-reset-button origin-price-btn ss-flex-col data-v-31d78969"><view class="{{['no-original', 'data-v-31d78969', B]}}"> 秒杀价 </view></button><button bindtap="{{G}}" class="{{['ss-reset-button', 'btn-box', 'ss-flex-col', 'data-v-31d78969', H]}}" disabled="{{I}}"><view class="btn-price data-v-31d78969">{{C}}</view><view wx:if="{{D}}" class="data-v-31d78969"><view wx:if="{{E}}" class="data-v-31d78969">已售罄</view><view wx:else class="data-v-31d78969">立即秒杀</view></view><view wx:else class="data-v-31d78969">{{F}}</view></button></view></detail-tabbar></block></s-layout>