Files
cardtest/pages/userGoods/goodsDet/goodsDet.wxml
zhangmanman 8f7cc986c2 [更新]
2021-08-13 13:30:35 +08:00

66 lines
2.3 KiB
Plaintext

<!-- 轮播 -->
<view class="banner">
<swiper class="swiperCont" interval="3000" autoplay circular bindchange="swiperChange">
<swiper-item wx:for="{{productData.share.pictures}}" wx:key="banner">
<image class="swiperImg" src="{{item}}" mode="aspectFill"></image>
</swiper-item>
</swiper>
<view class="swiperDot" wx:if="{{productData.share.pictures.length > 0}}">
{{current}}/{{productData.share.pictures.length}}</view>
</view>
<!-- 权益介绍 -->
<view class="content">
<view class="contentText">
<view class="contentText-title">{{productData.title}}</view>
<view class="contentText-text">{{productData.share.description}}</view>
<view class="contentText-price">
<view class="contentText-price-primary"><text>¥</text>{{productData.price}}</view>
<view class="contentText-price-close">门市价¥{{productData.share.cost}}</view>
</view>
</view>
<view bindtap="userNav"
data-url="/pages/rights/rights?rightsId={{productData.right_config_id}}&parent_id={{parentId}}&type=share"
class="contentBuy">立即购买</view>
</view>
<!-- 规格 -->
<view class="specs">
<view class="specs-label">
<text>规格</text>
{{productData.share.type_name}}
</view>
<view class="specs-label">
<text>门店</text>
<view class="specs-site">
<view class="specs-site-list" wx:for="{{productStores}}" wx:key="productStores">
<view class="specs-site-name">{{item.title}}</view>
{{item.address}}
</view>
</view>
</view>
</view>
<!-- 规格 -->
<view class="imageText">
<view class="imageText-title">
图文详情
</view>
<view class="imageText-text" wx:if="{{productContent}}">
<rich-text nodes="{{productContent}}"></rich-text>
</view>
<view class="imageText-end">
END
</view>
</view>
<!-- 漂浮窗 -->
<movable-area class="indexFloat" wx:if="{{canShare}}">
<movable-view y="400" direction="vertical" class="indexFloat-movable">
<navigator hover-class="none" url="/pages/userGoods/goodsCode/goodsCode?rightid={{rightId}}"
class="indexFloat-img">
<image src="/static/img/index_float_01.png" mode="aspectFill"></image>
</navigator>
</movable-view>
</movable-area>