|
|
@@ -32,8 +32,8 @@
|
|
|
<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>
|
|
|
<text :class="[Number(item.cost) > Number(item.userPrice) ? 'warning-price' : 'normal-price']" style="position: absolute;right:0upx;top:55upx;font-size:24upx;font-weight:bold;width:350upx;text-align:right;">
|
|
|
- 成本 ¥{{ item.cost?parseFloat(item.cost):0 }}
|
|
|
- <text style="margin-left:8upx;" v-if="Number(item.cost) > Number(item.userPrice)">售价低于成本</text>
|
|
|
+ ¥{{ item.cost?parseFloat(item.cost):0 }}
|
|
|
+ <text style="margin-left:8upx;" v-if="Number(item.cost) > Number(item.userPrice)">售价过低</text>
|
|
|
</text>
|
|
|
|
|
|
<view class="open-bx" >
|