luban-mall/unpackage/dist/dev/mp-weixin/pages/tabbar/kit/detail.wxml

1 line
2.3 KiB
Plaintext

<view class="pad-b140"><status-nav vue-id="6c2aabf4-1" ifReturn="{{true}}" navBarTitle="套件简介" marginBottom="{{0}}" bind:__l="__l"></status-nav><block wx:if="{{isLoading}}"><view class="shop-img"><swiper-pu vue-id="6c2aabf4-2" newRadius="0" bannerList="{{kitBanner}}" newHeight="505rpx" newBottom="35rpx" isplay="{{isplay}}" bind:__l="__l"></swiper-pu></view></block><block wx:if="{{isLoading}}"><view class="shop-summary kit-summary"><view class="shop-title">{{kitDetail.name}}</view><view class="shop-txt flex"><view class="left"><view class="kit-compose">{{kitDetail.subtitle}}</view><view class="shop-customized">{{kitDetail.tag}}</view><view class="shop-pric">{{"¥"+kitDetail.original_price}}</view><block wx:if="{{vipPrice}}"><view class="shop-pric-vip"><text>会员价:</text>{{"¥"+kitDetail.price}}</view></block></view><view class="right flex"><view data-event-opts="{{[['tap',[['collectionEv',['$0'],['kitDetail.id']]]]]}}" class="{{['collection-btn','flex',kitDetail.is_collected==1?'active':'']}}" bindtap="__e"><image src="/static/public/icon-collection.png" mode="widthFix"></image><text>{{kitDetail.is_collected==1?'已收藏':'收藏'}}</text></view><view class="share-btn flex"><image src="/static/public/icon-share.png" mode="widthFix"></image><text>分享</text><button plain="true" data-name="shareBtn" open-type="share"></button></view></view></view></view></block><block wx:if="{{isLoading}}"><view class="kit-contain"><view class="contain-h2">套件包含</view><view class="contain-list flex"><block wx:for="{{kitDetail.series}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toDetail',['$0'],[[['kitDetail.series','',index,'id']]]]]]]}}" class="contain-item" bindtap="__e"><view class="contain-img"><image src="{{item.cover}}" mode="widthFix"></image></view><view class="contain-title clips2">{{item.name}}</view></view></block></view></view></block><block wx:if="{{isLoading}}"><view class="shop-btns flex"><view data-event-opts="{{[['tap',[['joinCart',['$0'],['specsIndex']]]]]}}" class="btn" bindtap="__e">加入购物车</view><view data-event-opts="{{[['tap',[['buyNow',['$0'],['specsIndex']]]]]}}" class="btn" bindtap="__e">立即购买</view></view></block><enter-cart vue-id="6c2aabf4-3" bottom="{{335}}" bind:__l="__l"></enter-cart><customer-service vue-id="6c2aabf4-4" bind:__l="__l"></customer-service></view>