shish 2 месяцев назад
Родитель
Сommit
ca3c1bcd9a
2 измененных файлов с 16 добавлено и 8 удалено
  1. 2 1
      ghsApp/src/admin/item/tree.vue
  2. 14 7
      hdApp/src/pagesPurchase/purDetails.vue

+ 2 - 1
ghsApp/src/admin/item/tree.vue

@@ -56,7 +56,8 @@ export default {
 		return {
 			price: "",
 			numList: {},
-			cellCount: 15,
+			// 每行 5 格,默认 6 行
+			cellCount: 30,
 			stock: 0,
 			unitName: "个"
 		};

+ 14 - 7
hdApp/src/pagesPurchase/purDetails.vue

@@ -222,6 +222,7 @@
                   <text class="item-count" v-else></text>
                 </view>
               </view>
+
             </view>
           </view>
           <view class="summary-bar">
@@ -734,18 +735,24 @@ export default {
               color: black;
               font-size: 30upx;
               font-weight: 700;
-							overflow: hidden;
-							white-space: nowrap;
-							text-overflow: ellipsis;
-							width:360upx;
+              overflow: hidden;
+              white-space: nowrap;
+              text-overflow: ellipsis;
+              flex: 1;
+              min-width: 0;
             }
             .item-price {
               color: black;
               font-size: 27upx;
-              font-weight:bold;
+              font-weight: bold;
+              flex-shrink: 0;
+              white-space: nowrap;
+              margin-left: 16upx;
+              text-align: right;
               .price {
-                font-size:25upx;
-                font-weight:bold;
+                font-size: 25upx;
+                font-weight: bold;
+                white-space: nowrap;
               }
             }
             .item-type {