shish 3 سال پیش
والد
کامیت
c408535327
1فایلهای تغییر یافته به همراه5 افزوده شده و 4 حذف شده
  1. 5 4
      ghsApp/src/admin/item/components/item.vue

+ 5 - 4
ghsApp/src/admin/item/components/item.vue

@@ -22,8 +22,8 @@
 				<template>
 				<template>
 					<view class="open-bx">
 					<view class="open-bx">
 						还剩 <text style="font-size:23upx;margin-left:8upx;">{{ info.stock?parseFloat(info.stock):0 }}</text>
 						还剩 <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>
 					</view>
 				</template>
 				</template>
 			</view>
 			</view>
@@ -166,9 +166,10 @@ export default {
 				flex: 1;
 				flex: 1;
 			}
 			}
 			& .open-bx {
 			& .open-bx {
-				color: #333333;
+				color:#333333;
 				width:auto;
 				width:auto;
-				overflow: hidden;
+				overflow:hidden;
+				white-space:nowrap;
 				text{
 				text{
 					font-size: 24upx;
 					font-size: 24upx;
 					font-weight:700;
 					font-weight:700;