|
|
|
@ -2,21 +2,11 @@ |
|
|
|
<wxs src="../../../utils/filter.wxs" module="tool" /> |
|
|
|
<title title="产品详情"></title> |
|
|
|
<view class="iconfont icon-fenxiang" bindtap="share"></view> |
|
|
|
<view class="swiper-bottom"> |
|
|
|
<view class="swiper-bottom-item active">1/2</view> |
|
|
|
<view class="swiper-bottom-item">视频</view> |
|
|
|
<view class="swiper-bottom-item">图片</view> |
|
|
|
<view class="swiper-bottom-item">款式</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<image wx:for="{{info.sku}}" style="{{aniSkuIndex==index?('top:'+cartTop+'px;'):('top:'+top+'px;'+cartImgInfo)}}" class="headimg{{aniSkuIndex==index?' active':''}}" src="{{info.headimg}}" mode="aspectFill"></image> |
|
|
|
<swiper class="swiper" wx:if="{{info}}" autoplay="{{autoPlay}}" interval="{{2000}}" duration="{{300}}"> |
|
|
|
<swiper class="swiper" indicator-dots="{{true}}" wx:if="{{info}}" autoplay="{{autoPlay}}" interval="{{2000}}" duration="{{300}}"> |
|
|
|
<block wx:if="{{info.videourl}}" wx:key="*this"> |
|
|
|
<swiper-item> |
|
|
|
<video bindplay="playVideo" src="{{info.videourl}}" autoplay="{{true}}" muted="{{true}}" |
|
|
|
show-mute-btn="{{true}}" show-background-playback-button="{{false}}" |
|
|
|
show-progress="{{false}}"></video> |
|
|
|
<video bindplay="playVideo" src="{{info.videourl}}" controls></video> |
|
|
|
<!-- <image src="{{info.headimg}}" mode="aspectFill"></image> --> |
|
|
|
</swiper-item> |
|
|
|
</block> |
|
|
|
@ -34,20 +24,14 @@ |
|
|
|
|
|
|
|
<view wx:if="{{info}}"> |
|
|
|
<!-- 酒景套餐 --> |
|
|
|
<view class="top-info" style="padding: 0;" > |
|
|
|
<view class="wineScene-price-container" > |
|
|
|
<view class="wineSecne-price">{{info.price/100}}<text class="wineSecne-money">优惠前¥{{info.market_price/100}}</text></view> |
|
|
|
<view>已售{{info.sales_number>1000?"1000+":(info.sales_number||0)}}</view> |
|
|
|
</view> |
|
|
|
<view style="padding: 20rpx 20rpx 20rpx 26rpx;"> |
|
|
|
<view class="select-img"> |
|
|
|
<image src="{{info.headimg}}"></image> |
|
|
|
<text class="select-img">款式选择</text> |
|
|
|
<image wx:for="{{info.sku}}" wx:key="index" src="{{item.headimg}}"></image> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="title textOver2">{{info.title}}</view> |
|
|
|
<!-- <view class="hotel-custom" style="padding:26rpx 0"> |
|
|
|
<view class="top-info" style="padding: 0;" wx:if="{{info.is_package===1}}"> |
|
|
|
<div class="wineScene-price-container" > |
|
|
|
<div class="wineSecne-price">{{info.price/100}}<span class="wineSecne-money">¥{{info.market_price/100}}</span></div> |
|
|
|
<div>已售{{info.sales_number||0}}份</div> |
|
|
|
</div> |
|
|
|
<view style="padding: 26rpx 26rpx 0;"> |
|
|
|
<view class="title" style="font-weight: bold;">{{info.title}}</view> |
|
|
|
<view class="hotel-custom" style="padding:26rpx 0"> |
|
|
|
<view class="hotel-custom-detail" wx:for="{{info.product_data}}" wx:key="item"> |
|
|
|
<view class="tip-info"> |
|
|
|
<view class="tip">{{index}}</view> |
|
|
|
@ -63,15 +47,10 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
</view> --> |
|
|
|
|
|
|
|
<view class="tags-box textOver"> |
|
|
|
<view class="tag textOver" wx:for="{{info.display_tags}}">{{item}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view style="width: 100%;background:#f2f2f2;padding-top: 16rpx;margin-bottom: -8rpx;" |
|
|
|
bindtap="gotolocation" wx:if="{{info.is_package===1}}"> |
|
|
|
<view style="width: 100%;background:#f2f2f2;padding-top: 16rpx;margin-bottom: -8rpx;" bindtap="gotolocation"> |
|
|
|
<view class="map-container"> |
|
|
|
<view> |
|
|
|
<view class="textOver" style="font-weight: 500;font-size: 28rpx;color: #000000;width: 600rpx;">{{info.scene_name}}</view> |
|
|
|
@ -85,7 +64,15 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="top-info" wx:else> |
|
|
|
<view class="title">{{info.title}}</view> |
|
|
|
<view class="subtitle">{{info.subtitle}}</view> |
|
|
|
<view class="tags-box textOver"> |
|
|
|
<view class="tag textOver" wx:for="{{info.display_tags}}">{{item}}<view class="line"></view> |
|
|
|
</view> |
|
|
|
<view class="tags-price"><text>¥</text><text>{{info.price/100}}</text><text>起</text></view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 买家评价 --> |
|
|
|
|