|
|
@@ -30,15 +30,16 @@
|
|
|
<text style="color:green;font-weight:normal;">¥{{ info.hjPrice?parseFloat(info.hjPrice):0 }}</text>
|
|
|
<text style="margin-left:11upx;color:red;font-weight:bold;font-size:28upx;">¥{{ info.price?parseFloat(info.price):0 }}</text>
|
|
|
<text style="margin-left:11upx;color:#333333;11upx;font-weight:normal;">¥{{ info.skPrice?parseFloat(info.skPrice):0 }}</text>
|
|
|
- <text style="margin-left:13upx;color:#3385FF;11upx;font-weight:normal;" v-if="info.reachNum && info.reachNum>0 && info.reachNumDiscount && info.reachNumDiscount>0">{{info.reachNum}}↓{{info.reachNumDiscount?parseFloat(info.reachNumDiscount):0}}</text>
|
|
|
+ <text style="margin-left:14upx;color:#3385FF;11upx;font-weight:normal;" v-if="info.reachNum && info.reachNum>0 && info.reachNumDiscount && info.reachNumDiscount>0">{{info.reachNum}}↓{{info.reachNumDiscount?parseFloat(info.reachNumDiscount):0}}</text>
|
|
|
</view>
|
|
|
<view class="num-open_bx">
|
|
|
<template>
|
|
|
<view class="open-bx">
|
|
|
- 还剩 <text style="font-size:23upx;margin-left:8upx;">{{ info.stock?parseFloat(info.stock):0 }}</text>
|
|
|
- <text style="margin-left:14upx;font-size:23upx;display:inline-block;color:#999;font-weight:normal;">成本 {{ info.cost ? parseInt(info.cost) : 0 }}</text>
|
|
|
- <text style="margin-left:14upx;font-size:23upx;display:inline-block;color:#999;font-weight:normal;">销量 {{ info.actualSold ? parseInt(info.actualSold) : 0 }}</text>
|
|
|
- <text style="margin-left:14upx;font-size:23upx;display:inline-block;color:#999;font-weight:normal;">
|
|
|
+ 剩<text style="font-size:22upx;">{{ info.stock?parseFloat(info.stock):0 }}</text>
|
|
|
+ <text style="margin-left:9upx;" v-if="info.onStock>0">路上<text style="font-weight:700;">{{info.onStock}}</text></text>
|
|
|
+ <text style="margin-left:9upx;font-size:22upx;display:inline-block;color:#999;font-weight:normal;">成本{{ info.cost ? parseInt(info.cost) : 0 }}</text>
|
|
|
+ <text style="margin-left:9upx;font-size:22upx;display:inline-block;color:#999;font-weight:normal;">销量{{ info.actualSold ? parseInt(info.actualSold) : 0 }}</text>
|
|
|
+ <text style="margin-left:9upx;font-size:22upx;display:inline-block;color:#999;font-weight:normal;">
|
|
|
{{info.ratioType == 0 ? info.ratio :'若干'}}支
|
|
|
</text>
|
|
|
</view>
|
|
|
@@ -191,12 +192,13 @@ export default {
|
|
|
flex: 1;
|
|
|
}
|
|
|
& .open-bx {
|
|
|
+ font-size:22upx;
|
|
|
color:#333333;
|
|
|
width:360upx;
|
|
|
overflow:hidden;
|
|
|
white-space:nowrap;
|
|
|
text{
|
|
|
- font-size: 24upx;
|
|
|
+ font-size: 22upx;
|
|
|
font-weight:700;
|
|
|
}
|
|
|
text:nth-child(2){
|