index.wxml 3.7 KB

1
  1. <view class="data-v-3dad46b1"><s-layout wx:if="{{M}}" class="data-v-3dad46b1" u-s="{{['d']}}" u-i="3dad46b1-0" bind:__l="__l" u-p="{{M}}"><detail-navbar wx:if="{{b}}" class="data-v-3dad46b1" u-i="3dad46b1-1,3dad46b1-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"/><detail-skeleton wx:if="{{c}}" class="data-v-3dad46b1" u-i="3dad46b1-2,3dad46b1-0" bind:__l="__l"/><s-empty wx:elif="{{d}}" class="data-v-3dad46b1" u-i="3dad46b1-3,3dad46b1-0" bind:__l="__l" u-p="{{e}}"/><block wx:else><view class="detail-swiper-selector data-v-3dad46b1"><su-swiper wx:if="{{f}}" class="ss-m-b-14 data-v-3dad46b1" u-i="3dad46b1-4,3dad46b1-0" bind:__l="__l" u-p="{{f}}"/><view class="title-card detail-card ss-p-y-40 ss-p-x-20 data-v-3dad46b1"><view class="ss-flex ss-row-between ss-col-center ss-m-b-26 data-v-3dad46b1"><view class="price-box ss-flex ss-col-center data-v-3dad46b1"><view class="price-text ss-m-r-16 ss-flex ss-col-center data-v-3dad46b1"><image wx:if="{{g}}" src="{{h}}" class="ss-m-r-10 data-v-3dad46b1" style="width:40rpx;height:40rpx"></image><text wx:else class="data-v-3dad46b1">¥</text><text wx:if="{{i}}" class="data-v-3dad46b1">{{j}}</text><text wx:else class="data-v-3dad46b1">{{k}}</text></view><view wx:if="{{l}}" class="origin-price-text data-v-3dad46b1"> 积分:{{m}}</view></view><view class="sales-text data-v-3dad46b1"></view></view><view class="discounts-box ss-flex ss-row-between ss-m-b-28 data-v-3dad46b1"><view class="tag-content data-v-3dad46b1"><view class="tag-box ss-flex data-v-3dad46b1"><view wx:for="{{n}}" wx:for-item="promos" wx:key="b" class="tag ss-m-r-10 data-v-3dad46b1" bindtap="{{promos.c}}">{{promos.a}}</view></view></view><view wx:if="{{o}}" class="get-coupon-box ss-flex ss-col-center ss-m-l-20 data-v-3dad46b1" bindtap="{{p}}"><view class="discounts-title ss-m-r-8 data-v-3dad46b1">领券</view><text class="cicon-forward data-v-3dad46b1"></text></view></view><view class="title-text ss-line-2 ss-m-b-6 data-v-3dad46b1">{{q}}</view><view class="subtitle-text ss-line-1 data-v-3dad46b1">{{r}}</view></view><view class="detail-cell-card detail-card ss-flex-col data-v-3dad46b1"><detail-cell-sku wx:if="{{v}}" class="data-v-3dad46b1" bindtap="{{s}}" u-i="3dad46b1-5,3dad46b1-0" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"/></view><s-select-sku wx:if="{{A}}" class="data-v-3dad46b1" bindaddCart="{{w}}" bindbuy="{{x}}" bindchange="{{y}}" bindclose="{{z}}" u-i="3dad46b1-6,3dad46b1-0" bind:__l="__l" u-p="{{A}}"/></view><detail-comment-card wx:if="{{B}}" class="detail-comment-selector data-v-3dad46b1" u-i="3dad46b1-7,3dad46b1-0" bind:__l="__l" u-p="{{B}}"/><detail-content-card wx:if="{{C}}" class="detail-content-selector data-v-3dad46b1" u-i="3dad46b1-8,3dad46b1-0" bind:__l="__l" u-p="{{C}}"/><detail-tabbar wx:if="{{L}}" class="data-v-3dad46b1" u-s="{{['d']}}" u-i="3dad46b1-9,3dad46b1-0" bind:__l="__l" bindupdateModelValue="{{K}}" u-p="{{L}}"><view wx:if="{{D}}" class="buy-box ss-flex ss-col-center ss-p-r-20 data-v-3dad46b1"><button class="ss-reset-button add-btn ui-Shadow-Main data-v-3dad46b1" bindtap="{{E}}"> 加入购物车 </button><button class="ss-reset-button buy-btn ui-Shadow-Main data-v-3dad46b1" bindtap="{{F}}"> 立即购买 </button></view><view wx:elif="{{G}}" class="buy-box ss-flex ss-col-center ss-p-r-20 data-v-3dad46b1"><button class="ss-reset-button disabled-btn buy-btn ui-Shadow-Main data-v-3dad46b1" bindtap="{{J}}"><block wx:if="{{H}}"> 立即兑换 </block><block wx:elif="{{I}}"> 立即购买 </block><block wx:else> 立即兑换 </block></button></view><view wx:else class="buy-box ss-flex ss-col-center ss-p-r-20 data-v-3dad46b1"><button class="ss-reset-button disabled-btn data-v-3dad46b1" disabled style="background:#999999"> 已售罄 </button></view></detail-tabbar></block></s-layout></view>