|
@@ -2,7 +2,7 @@
|
|
|
<scroll-view class="scrollarea" id="scroll-view" scroll-y="{{popupShow ? false : true}}" type="list" bindscroll="onScrollView" scroll-into-view="{{scrolIntoView}}" scroll-top="{{ scrollTop }}">
|
|
|
<view class="container">
|
|
|
<!-- <view class="topShadow"></view> -->
|
|
|
- <view class="slider-count">{{current + 1}}/{{8}}</view>
|
|
|
+ <view class="slider-count">{{current + 1}}/{{imgList.length}}</view>
|
|
|
<swiper indicator-dots="{{false}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" bindchange="changeSwiper">
|
|
|
<swiper-item wx:for="{{ imgList }}" wx:key="index">
|
|
|
<view class="swiper-item ">
|
|
@@ -28,8 +28,10 @@
|
|
|
</view>
|
|
|
<view class="right">
|
|
|
<view class="right-top">
|
|
|
- <view class="originPrice" wx:if="{{ selected.originalPrice > selected.salePrice }}">原价 ¥{{ selected.originalPrice || '0.00' }}</view><text style="padding: 0 6rpx"> | </text>
|
|
|
- <view class="saleNum"> 已售100W+</view>
|
|
|
+ <block wx:if="{{ selected.originalPrice > selected.salePrice }}">
|
|
|
+ <view class="originPrice">原价 ¥{{ selected.originalPrice || '0.00' }}</view><text style="padding: 0 6rpx"> | </text>
|
|
|
+ </block>
|
|
|
+ <view class="saleNum">已售100W+</view>
|
|
|
</view>
|
|
|
<view class="right-bottom">
|
|
|
<view class="shopName">
|
|
@@ -58,7 +60,8 @@
|
|
|
|
|
|
<!-- 有选择商品的时候 -->
|
|
|
<view class="current-item" wx:if="{{!isOverSaled && selected.id}}">
|
|
|
- 您已选中:<text>{{ selected.typeName }}</text>,合计:<text>¥ {{ selected.showSalePrice }}</text>,已优惠:<text>¥ {{ selected.discountPrice }}</text>
|
|
|
+ 您已选中:<text>{{ selected.typeName }}</text>,合计:<text>¥ {{ selected.showSalePrice }}</text>
|
|
|
+ <block wx:if="{{ selected.originalPrice > selected.salePrice }}">,已优惠:<text>¥ {{ selected.discountPrice }}</text></block>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
@@ -74,7 +77,8 @@
|
|
|
</view>
|
|
|
|
|
|
<view class="scroll-current-item" wx:if="{{!isOverSaled && selected.id && opacity >= 1}}">
|
|
|
- 您已选中:<text>{{ selected.typeName }}</text> ,合计:<text>¥ {{ selected.showSalePrice }}</text>,已优惠:<text>¥ {{ selected.discountPrice }}</text>
|
|
|
+ 您已选中:<text>{{ selected.typeName }}</text> ,合计:<text>¥ {{ selected.showSalePrice }}</text>
|
|
|
+ <block wx:if="{{ selected.originalPrice > selected.salePrice }}">,已优惠:<text>¥ {{ selected.discountPrice }}</text></block>
|
|
|
</view>
|
|
|
|
|
|
<view class="goodsSection">
|
|
@@ -126,7 +130,7 @@
|
|
|
<view class="originPrice">原价 ¥{{ selected.originalPrice }}</view>
|
|
|
</view>
|
|
|
<view class="selected-info">
|
|
|
- 您已选中:<text>{{ selected.typeName }}</text> ,已优惠:<text>¥ {{ selected.discountPrice }}</text>
|
|
|
+ 您已选中:<text>{{ selected.typeName }}</text> <block wx:if="{{ selected.originalPrice > selected.salePrice }}">,已优惠:<text>¥ {{ selected.discountPrice }}</text></block>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|