|
|
@ -2,11 +2,22 @@ |
|
|
<wxs src="../../../utils/filter.wxs" module="tool" /> |
|
|
<wxs src="../../../utils/filter.wxs" module="tool" /> |
|
|
<title title="产品详情"></title> |
|
|
<title title="产品详情"></title> |
|
|
<view class="iconfont icon-fenxiang" bindtap="share"></view> |
|
|
<view class="iconfont icon-fenxiang" bindtap="share"></view> |
|
|
|
|
|
<view class="swiper-bottom" wx:if="{{info}}"> |
|
|
|
|
|
<view class="swiper-bottom-item active">1/2</view> |
|
|
|
|
|
<view class="swiper-bottom-item {{(swiperCurrent>=swiperRange.video.min&&swiperCurrent<=swiperRange.video.max)?'active':''}}" wx:if="{{info.videourl}}">视频</view> |
|
|
|
|
|
<view class="swiper-bottom-item {{(swiperCurrent>=swiperRange.picture.min&&swiperCurrent<=swiperRange.picture.max)?'active':''}}">图片</view> |
|
|
|
|
|
<view class="swiper-bottom-item {{(swiperCurrent>=swiperRange.sku.min&&swiperCurrent<=swiperRange.sku.max)?'active':''}}">款式</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> |
|
|
<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" indicator-dots="{{true}}" wx:if="{{info}}" autoplay="{{autoPlay}}" interval="{{2000}}" duration="{{300}}"> |
|
|
<swiper class="swiper" wx:if="{{info}}" autoplay="{{autoPlay}}" current="{{swiperCurrent}}" |
|
|
|
|
|
interval="{{2000}}" duration="{{300}}" bindchange="swiperChange"> |
|
|
<block wx:if="{{info.videourl}}" wx:key="*this"> |
|
|
<block wx:if="{{info.videourl}}" wx:key="*this"> |
|
|
<swiper-item> |
|
|
<swiper-item> |
|
|
<video bindplay="playVideo" src="{{info.videourl}}" controls></video> |
|
|
<video bindplay="playVideo" src="{{info.videourl}}" autoplay="{{true}}" muted="{{true}}" |
|
|
|
|
|
show-mute-btn="{{true}}" show-background-playback-button="{{false}}" |
|
|
|
|
|
show-progress="{{false}}"></video> |
|
|
<!-- <image src="{{info.headimg}}" mode="aspectFill"></image> --> |
|
|
<!-- <image src="{{info.headimg}}" mode="aspectFill"></image> --> |
|
|
</swiper-item> |
|
|
</swiper-item> |
|
|
</block> |
|
|
</block> |
|
|
@ -15,6 +26,12 @@ |
|
|
<image src="{{item}}" mode="aspectFill"></image> |
|
|
<image src="{{item}}" mode="aspectFill"></image> |
|
|
</swiper-item> |
|
|
</swiper-item> |
|
|
</block> |
|
|
</block> |
|
|
|
|
|
<block wx:for="{{info.sku}}" wx:key="*this"> |
|
|
|
|
|
<swiper-item style="position: relative;"> |
|
|
|
|
|
<image src="{{item.headimg}}" mode="aspectFill"></image> |
|
|
|
|
|
<view class="sku-tips textOver">{{item.sku_name}}</view> |
|
|
|
|
|
</swiper-item> |
|
|
|
|
|
</block> |
|
|
</swiper> |
|
|
</swiper> |
|
|
<view class="allowance-box" wx:if="{{allowance_data}}" bindtap="changeAllowance"> |
|
|
<view class="allowance-box" wx:if="{{allowance_data}}" bindtap="changeAllowance"> |
|
|
补贴价 |
|
|
补贴价 |
|
|
@ -24,14 +41,24 @@ |
|
|
|
|
|
|
|
|
<view wx:if="{{info}}"> |
|
|
<view wx:if="{{info}}"> |
|
|
<!-- 酒景套餐 --> |
|
|
<!-- 酒景套餐 --> |
|
|
<view class="top-info" style="padding: 0;" wx:if="{{info.is_package===1}}"> |
|
|
<view class="top-info" style="padding: 0;" > |
|
|
<div class="wineScene-price-container" > |
|
|
<view class="wineScene-price-container" > |
|
|
<div class="wineSecne-price">{{info.price/100}}<span class="wineSecne-money">¥{{info.market_price/100}}</span></div> |
|
|
<view class="wineSecne-price">{{info.price/100}}<text class="wineSecne-money">优惠前¥{{info.market_price/100}}</text></view> |
|
|
<div>已售{{info.sales_number||0}}份</div> |
|
|
<view>已售{{info.sales_number>1000?"1000+":(info.sales_number||0)}}</view> |
|
|
</div> |
|
|
</view> |
|
|
<view style="padding: 26rpx 26rpx 0;"> |
|
|
<view style="padding: 20rpx 20rpx 20rpx 26rpx;"> |
|
|
<view class="title" style="font-weight: bold;">{{info.title}}</view> |
|
|
<view class="select-img"> |
|
|
<view class="hotel-custom" style="padding:26rpx 0"> |
|
|
<image style="flex-shrink: 0;" src="{{info.headimg}}"></image> |
|
|
|
|
|
<text style="flex-shrink: 0;" class="select-img-text">款式选择</text> |
|
|
|
|
|
<view class="other-imgs no-scrollbar"> |
|
|
|
|
|
<image wx:for="{{info.sku}}" wx:key="index" src="{{item.headimg}}"></image> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="select-sku">></view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="title textOver2">{{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="hotel-custom-detail" wx:for="{{info.product_data}}" wx:key="item"> |
|
|
<view class="tip-info"> |
|
|
<view class="tip-info"> |
|
|
<view class="tip">{{index}}</view> |
|
|
<view class="tip">{{index}}</view> |
|
|
@ -47,10 +74,15 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
</view> --> |
|
|
|
|
|
|
|
|
|
|
|
<view class="tags-box textOver"> |
|
|
|
|
|
<view class="tag textOver" wx:for="{{info.display_tags}}">{{item}}</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view style="width: 100%;background:#f2f2f2;padding-top: 16rpx;margin-bottom: -8rpx;" bindtap="gotolocation"> |
|
|
<view style="width: 100%;background:#f2f2f2;padding-top: 16rpx;margin-bottom: -8rpx;" |
|
|
|
|
|
bindtap="gotolocation" wx:if="{{info.is_package===1}}"> |
|
|
<view class="map-container"> |
|
|
<view class="map-container"> |
|
|
<view> |
|
|
<view> |
|
|
<view class="textOver" style="font-weight: 500;font-size: 28rpx;color: #000000;width: 600rpx;">{{info.scene_name}}</view> |
|
|
<view class="textOver" style="font-weight: 500;font-size: 28rpx;color: #000000;width: 600rpx;">{{info.scene_name}}</view> |
|
|
@ -64,15 +96,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</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> |
|
|
</view> |
|
|
|
|
|
|
|
|
<!-- 买家评价 --> |
|
|
<!-- 买家评价 --> |
|
|
|