|
|
@@ -22,8 +22,8 @@
|
|
|
<template>
|
|
|
<view class="open-bx">
|
|
|
还剩 <text style="font-size:23upx;margin-left:8upx;">{{ info.stock?parseFloat(info.stock):0 }}</text>
|
|
|
- <text style="margin-left:15upx;font-size:23upx;display:inline-block;color:#999;">销量 {{ info.actualSold?parseFloat(info.actualSold):0 }}</text>
|
|
|
- <text style="margin-left:15upx;font-size:23upx;display:inline-block;color:#999;font-weight:normal;">毛利率 {{ info.mll }}%</text>
|
|
|
+ <text style="margin-left:10upx;font-size:23upx;display:inline-block;color:#999;">销量 {{ info.actualSold ? parseInt(info.actualSold) : 0 }}</text>
|
|
|
+ <text style="margin-left:10upx;font-size:23upx;display:inline-block;color:#999;font-weight:normal;">毛利率 {{ info.mll }}%</text>
|
|
|
</view>
|
|
|
</template>
|
|
|
</view>
|
|
|
@@ -166,9 +166,10 @@ export default {
|
|
|
flex: 1;
|
|
|
}
|
|
|
& .open-bx {
|
|
|
- color: #333333;
|
|
|
+ color:#333333;
|
|
|
width:auto;
|
|
|
- overflow: hidden;
|
|
|
+ overflow:hidden;
|
|
|
+ white-space:nowrap;
|
|
|
text{
|
|
|
font-size: 24upx;
|
|
|
font-weight:700;
|