|
@@ -27,14 +27,14 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="section-block">
|
|
|
- <scroll-view class="popup-container" bounces="false" scroll-y="true" type="list">
|
|
|
+ <scroll-view class="popup-container" scroll-y="true" type="list" >
|
|
|
<view class="popup-scroll">
|
|
|
<view class="goodsInfo">
|
|
|
<view class="desc">
|
|
|
<image src="./images/icon2.png" class="iconBefore"></image>选择规格({{ list.length }})
|
|
|
</view>
|
|
|
<view class="goodsList">
|
|
|
- <view wx:for="{{ list }}" wx:key="index" class="goodsItem {{ item.id == selected.id ? 'selected' : '' }} {{ item.stockNum <= 0 ? 'nosale' : '' }}" bind:tap="onSelectGoods" data-id="{{ item.id }}">
|
|
|
+ <view wx:for="{{ list }}" wx:key="index" class="goodsItem {{ item.id == selected.id ? 'selected' : '' }} {{ item.stockNum <= 0 ? 'nosale' : '' }}" bind:tap="onSelectGoods" data-id="{{ item.id }}" id="{{ 'goodsItem-' + index }}">
|
|
|
<image class="goodImg" src="{{ item.pic }}"></image>
|
|
|
<view class="infos">
|
|
|
<view class="name">{{ item.typeName }}</view>
|
|
@@ -68,7 +68,7 @@
|
|
|
</view>
|
|
|
<block wx:if="{{ item.originalPrice > item.salePrice }}">
|
|
|
<text class="line"></text>
|
|
|
- <text class="discountPrice"><text>优惠前</text>¥{{ item.originalPrice }}</text>
|
|
|
+ <text class="discountPrice"><text>优惠前</text>¥<text class="showP">{{ item.originalPrice }}</text></text>
|
|
|
</block>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -106,14 +106,15 @@
|
|
|
<view class="current-good" wx:if="{{!isOverSaled && selected.id}}">
|
|
|
<view class="current-item-text">您已选中</view>
|
|
|
<text>{{ formatSelectGood.typeName }}</text>,<block wx:if="{{ formatSelectGood.originalPrice > formatSelectGood.salePrice }}">
|
|
|
- 共减 <text>¥ {{ formatSelectGood.discountPrice }}</text>,
|
|
|
+ 共减<text class="discountPrice">¥ {{ formatSelectGood.discountPrice }}</text>,
|
|
|
</block>应付:
|
|
|
<text>¥ {{ formatSelectGood.showSalePrice }}</text>
|
|
|
</view>
|
|
|
<view class="btnGroup">
|
|
|
<button type="primary" catch:tap="onSubmit" disabled="{{ isOverSaled }}">
|
|
|
<view class="btn-prices">
|
|
|
- 立即支付<text class="stuff">¥</text>
|
|
|
+ <text>立即支付</text>
|
|
|
+ <text class="stuff">¥</text>
|
|
|
<text class="priceZ">{{ formatSelectGood.integerPart || 0 }}</text>
|
|
|
<text class="priceF">.{{ formatSelectGood.decimalPart || '00' }}</text>
|
|
|
</view>
|