|
|
@@ -27,7 +27,11 @@
|
|
|
</text>
|
|
|
</view>
|
|
|
|
|
|
- <view style="text-align:right;">
|
|
|
+ <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="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 > 0">¥{{ parseFloat((Number(item.smallCount)*Number(item.userPrice)).toFixed(2)) }}</text>
|
|
|
+
|
|
|
<view class="open-bx" >
|
|
|
<i class="iconfont iconjian" @click="reduceItemFn(item)" v-if="item.bigCount > 0 || item.smallCount > 0"></i>
|
|
|
<text class="num" @click="showAddModelFn(item)">
|