|
|
@@ -12,15 +12,15 @@
|
|
|
<view class="info-line">
|
|
|
<text class="item-name">{{ item.name||'' }}</text>
|
|
|
<text class="item-price">
|
|
|
- <text class="price">¥{{item.userPrice ? item.userPrice : 0}}</text>
|
|
|
+ <text class="price" v-if="Number(item.bigCount)>0">¥{{ parseFloat((Number(item.bigCount)*Number(item.userPrice)).toFixed(2)) }}</text>
|
|
|
+ <text class="price" v-else>¥{{ parseFloat((Number(item.smallCount)*Number(item.userPrice)).toFixed(2)) }}</text>
|
|
|
</text>
|
|
|
</view>
|
|
|
|
|
|
|
|
|
<view style="text-align:right;position: relative;">
|
|
|
|
|
|
- <text style="position: absolute;right:300upx;top:2upx;font-size:28upx;color:green;font-weight:bold;" v-if="Number(item.bigCount)>0">¥{{ parseFloat((Number(item.bigCount)*Number(item.userPrice)).toFixed(2)) }}</text>
|
|
|
- <text style="position: absolute;right:300upx;top:2upx;font-size:28upx;color:green;font-weight:bold;" v-else>¥{{ parseFloat((Number(item.smallCount)*Number(item.userPrice)).toFixed(2)) }}</text>
|
|
|
+ <text style="position: absolute;right:300upx;top:6upx;font-size:30upx;color:#3385ff;font-weight:bold;">¥{{item.userPrice ? item.userPrice : 0}}</text>
|
|
|
|
|
|
<view class="open-bx">
|
|
|
<i class="iconfont iconjian" @click.stop="delItemFn(item)" v-if="item.bigCount > 0" ></i>
|