1 line
3.8 KiB
Plaintext
1 line
3.8 KiB
Plaintext
|
<view class="pad-b140"><status-nav vue-id="d5d4c780-1" ifReturn="{{true}}" navBarTitle="商品简介" marginBottom="{{0}}" bind:__l="__l"></status-nav><view class="shop-img"><swiper-pu vue-id="d5d4c780-2" newRadius="0" bannerList="{{shopBanner}}" newHeight="505rpx" newBottom="35rpx" isplay="{{isplay}}" bind:__l="__l"></swiper-pu></view><view class="shop-summary"><view class="shop-title">{{shopDetail.name}}</view><view class="shop-txt flex"><view class="left"><view class="shop-customized">{{shopDetail.tag==''?'':shopDetail.tag}}</view><view class="shop-pric">{{"¥"+shopDetail.price}}</view></view><view class="right flex"><view data-event-opts="{{[['tap',[['collectionEv',['$0'],['shopDetail.id']]]]]}}" class="{{['collection-btn','flex',shopDetail.is_collected==1?'active':'']}}" bindtap="__e"><image src="/static/public/icon-collection.png" mode></image><text>收藏</text></view><view class="share-btn flex"><image src="/static/public/icon-share.png" mode></image><text>分享</text><button plain="true" data-name="shareBtn" open-type="share"></button></view></view></view><view data-event-opts="{{[['tap',[['openSpecs',[1]]]]]}}" class="specs-btn flex" bindtap="__e"><image src="/static/public/icon-specs.png" mode="widthFix"></image><text>规格:查看详细规格</text><image src="/static/public/icon-more.png" mode="widthFix"></image></view></view><view class="shop-detail"><view class="shop-detail-tab flex"><block wx:for="{{shopDetailTab}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeDetail',[index]]]]]}}" class="{{['tab-btn',showCurrent==index?'cur':'']}}" bindtap="__e">{{item}}</view></block></view><view class="shop-detail-txt"><block wx:if="{{showCurrent==0}}"><view class="txt-box"><rich-text nodes="{{shopDetail.content}}"></rich-text></view></block><block wx:if="{{showCurrent==1}}"><view class="txt-box"><view><rich-text nodes="{{shopDetail.params}}"></rich-text></view></view></block></view></view><block wx:if="{{source=='shop'}}"><view class="shop-btns flex"><view data-event-opts="{{[['tap',[['openSpecs',[0]]]]]}}" class="btn" bindtap="__e">加入购物车</view><view data-event-opts="{{[['tap',[['openSpecs',[1]]]]]}}" class="btn" bindtap="__e">立即购买</view></view></block><block wx:if="{{source=='kit'}}"><view class="kit-shop-btns"><view data-event-opts="{{[['tap',[['backEv',['$event']]]]]}}" class="btn" bindtap="__e">返回套件继续购买</view></view></block><block wx:if="{{isShow}}"><view data-event-opts="{{[['tap',[['closeSpecs',['$event']]]]]}}" class="pull-all-bg" bindtap="__e"></view></block><block wx:if="{{isShow}}"><view class="specs-detail-bg"><view class="specs-detail"><view data-event-opts="{{[['tap',[['closeSpecs',['$event']]]]]}}" class="close-specs" bindtap="__e"><image src="/static/public/icon-close.png" mode="widthFix"></image></view><view class="price">{{"¥"+shopDetail.original_price}}</view><view class="price"><text>会员价:</text>{{"¥"+shopDetail.price}}</view><view class="specs-ul"><text>规格</text><block wx:for="{{shopSku}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeSpecs',[index]]]]]}}" class="{{['specs-li','flex',specsIndex==index?'checked':'']}}" bindtap="__e">{{item.custom_title+" 供货周期:"+item.cycle}}</view></block></view><block wx:if="{{changeBtns}}"><view data-event-opts="{{[['tap',[['buyNow',['$0'],['specsIndex']]]]]}}" class="specs-detail-btn" bindtap="__e">立即购买</view></block><block wx:else><view data-event-opts="{{[['tap',[['joinCart',['$0'],['specsIndex']]]]]}}" class="specs-detail-btn" bindtap="__e">加入购物车</view></block></view></view></block><enter-cart vue-id="d5d4c780-3" bottom="{{335}}" bind:__l="__l"></enter-cart><customer-service vue-id="d5d4c780-4" bind:__l="__l"></customer-service></view>
|