product-detail.wxml 4.1 KB

1
  1. <view class="{{['product-detail','data-v-97bda27e',(isIphoneX)?'hasBottom':'']}}"><block wx:if="{{isRequest}}"><tui-skeleton vue-id="5ff5ab36-1" loadingType="{{2}}" class="data-v-97bda27e" bind:__l="__l"></tui-skeleton></block><block wx:else><tui-tabs data-custom-hidden="{{!(scrollTop>40)}}" class="fixed data-v-97bda27e" vue-id="5ff5ab36-2" tabs="{{tabs}}" currentTab="{{currentTab}}" color="#666666" bold="{{true}}" selectedColor="#FF457B" sliderBgColor="#FF457B" data-event-opts="{{[['^change',[['tabChange']]]]}}" bind:change="__e" bind:__l="__l"></tui-tabs><view class="anchor data-v-97bda27e" id="anchor1"><uni-swiper-dot class="swiper-box data-v-97bda27e" vue-id="5ff5ab36-3" info="{{imageList}}" current="{{swiperCurrent}}" mode="left" bind:__l="__l" vue-slots="{{['default']}}"><swiper data-event-opts="{{[['change',[['swiperChange',['$event']]]]]}}" class="swiper data-v-97bda27e" bindchange="__e"><block wx:for="{{imageList}}" wx:for-item="image" wx:for-index="index" wx:key="index"><swiper-item class="data-v-97bda27e"><image class="image data-v-97bda27e" src="{{image}}" data-event-opts="{{[['tap',[['previewImage',[index]]]]]}}" bindtap="__e"></image></swiper-item></block></swiper></uni-swiper-dot><view class="row data-v-97bda27e"><cm-product-price class="cm-product-price data-v-97bda27e" vue-id="5ff5ab36-4" productInfo="{{productInfo}}" bind:__l="__l"></cm-product-price><cm-product-info class="cm-product-info data-v-97bda27e" vue-id="5ff5ab36-5" productInfo="{{productInfo}}" bind:__l="__l"></cm-product-info></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="row touch-bar params data-v-97bda27e" bindtap="__e"><view class="name data-v-97bda27e"><text class="p1 data-v-97bda27e">参数:</text><text class="p2 data-v-97bda27e">品牌</text><text class="p2 data-v-97bda27e">分类...</text></view><text class="iconfont icon-chakangengduo data-v-97bda27e"></text></view><block wx:if="{{couponList.length>0}}"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="row touch-bar coupon data-v-97bda27e" bindtap="__e"><view class="name data-v-97bda27e">优惠券:</view><view class="left data-v-97bda27e"><view class="coupon-tags data-v-97bda27e"><block wx:for="{{couponTags}}" wx:for-item="tagName" wx:for-index="index" wx:key="index"><text class="tag data-v-97bda27e">{{tagName}}</text></block></view><text class="iconfont icon-chakangengduo data-v-97bda27e"></text></view></view></block></view><view class="row product-info anchor data-v-97bda27e" id="anchor2"><view class="title data-v-97bda27e">商品详情</view><view class="product-rich-text data-v-97bda27e"><block wx:if="{{detailHtml}}"><parser vue-id="5ff5ab36-6" html="{{detailHtml}}" img-mode="{{widthFix}}" class="data-v-97bda27e" bind:__l="__l"></parser></block><block wx:else><view class="product-rich-text-none data-v-97bda27e">暂无商品信息</view></block></view></view><view class="row product-info anchor data-v-97bda27e" id="anchor3"><view class="title data-v-97bda27e">服务项目</view><block wx:if="{{product.productDetail.orderInfo||product.productDetail.serviceInfo}}"><cm-service vue-id="5ff5ab36-7" product="{{product.productDetail}}" class="data-v-97bda27e" bind:__l="__l"></cm-service></block><block wx:else><view class="content-none data-v-97bda27e"><text class="data-v-97bda27e">暂无服务项目</text></view></block></view></block><cm-goods-nav vue-id="5ff5ab36-8" productInfo="{{productInfo}}" class="data-v-97bda27e" bind:__l="__l"></cm-goods-nav><tui-scroll-top vue-id="5ff5ab36-9" scrollTop="{{scrollTop}}" bottom="{{0}}" duration="{{500}}" class="data-v-97bda27e" bind:__l="__l"></tui-scroll-top><cm-product-params vue-id="5ff5ab36-10" visible="{{paramsVisible}}" productInfo="{{productInfo}}" data-event-opts="{{[['^close',[['e2']]]]}}" bind:close="__e" class="data-v-97bda27e" bind:__l="__l"></cm-product-params><cm-coupon-list vue-id="5ff5ab36-11" title="获取优惠券" listType="receive" couponList="{{couponList}}" visible="{{couponVisible}}" showStatus="{{true}}" data-event-opts="{{[['^close',[['closeCouponList']]],['^couponClick',[['couponClick']]]]}}" bind:close="__e" bind:couponClick="__e" class="data-v-97bda27e" bind:__l="__l"></cm-coupon-list></view>