shish 3 лет назад
Родитель
Сommit
6044907bd6
1 измененных файлов с 4 добавлено и 5 удалено
  1. 4 5
      ghsApp/src/pagesPurchase/info.vue

+ 4 - 5
ghsApp/src/pagesPurchase/info.vue

@@ -81,13 +81,12 @@
 								<view class="info-line">
 									<text class="item-name">{{ s.name }}</text>
 									<text class="item-price">
-										<text class="unit">¥</text>
-										<text class="price">{{ s.bigPrice ? parseFloat(s.bigPrice) : 0 }}</text>
+										<text class="price">¥{{s.totalPrice ? parseFloat(s.totalPrice) : 0}}</text>
 									</text>
 								</view>
 								<view class="info-line">
 									<text class="item-type" style="color:#3385FF;" @click.stop="printLabel(s)">打标签</text>
-									<text class="item-count">{{ parseFloat(s.itemNum) }}扎</text>
+									<text class="item-count">{{ parseFloat(s.itemNum) }}扎 × ¥{{ s.bigPrice ? parseFloat(s.bigPrice) : 0 }}</text>
 								</view>
 							</view>
 						</view>
@@ -417,7 +416,7 @@ export default {
 						justify-content: space-between;
 						align-items: flex-end;
 						.item-name {
-							color: #666;
+							color: #333333;
 							font-size: 28upx;
 						}
 						.item-price {
@@ -433,7 +432,7 @@ export default {
 							font-size: 24upx;
 						}
 						.item-count {
-							color: #666;
+							color: #333333;
 							font-size: 24upx;
 						}
 					}