|
|
@@ -29,11 +29,10 @@
|
|
|
<template>
|
|
|
<view class="open-bx">
|
|
|
还剩 <text style="font-size:23upx;margin-left:8upx;">{{ info.stock?parseFloat(info.stock):0 }}</text>
|
|
|
- <text style="margin-left:18upx;font-size:23upx;display:inline-block;color:#999;font-weight:normal;">成本 {{ info.cost ? parseInt(info.cost) : 0 }}</text>
|
|
|
- <text style="margin-left:18upx;font-size:23upx;display:inline-block;color:#999;font-weight:normal;">销量 {{ info.actualSold ? parseInt(info.actualSold) : 0 }}</text>
|
|
|
- <text style="margin-left:18upx;font-size:23upx;display:inline-block;color:#999;font-weight:normal;">
|
|
|
- <text v-if="info.ratioType == 0">{{info.ratio}}支</text>
|
|
|
- <text>若干支</text>
|
|
|
+ <text style="margin-left:16upx;font-size:23upx;display:inline-block;color:#999;font-weight:normal;">成本 {{ info.cost ? parseInt(info.cost) : 0 }}</text>
|
|
|
+ <text style="margin-left:16upx;font-size:23upx;display:inline-block;color:#999;font-weight:normal;">销量 {{ info.actualSold ? parseInt(info.actualSold) : 0 }}</text>
|
|
|
+ <text style="margin-left:16upx;font-size:23upx;display:inline-block;color:#999;font-weight:normal;">
|
|
|
+ {{info.ratioType == 0 ? info.ratio :'若干'}}支
|
|
|
</text>
|
|
|
</view>
|
|
|
</template>
|
|
|
@@ -189,7 +188,7 @@ export default {
|
|
|
}
|
|
|
& .open-bx {
|
|
|
color:#333333;
|
|
|
- width:auto;
|
|
|
+ width:360upx;
|
|
|
overflow:hidden;
|
|
|
white-space:nowrap;
|
|
|
text{
|