shish %!s(int64=3) %!d(string=hai) anos
pai
achega
7b9b1940f0
Modificáronse 1 ficheiros con 10 adicións e 8 borrados
  1. 10 8
      ghsApp/src/pagesPurchase/details.vue

+ 10 - 8
ghsApp/src/pagesPurchase/details.vue

@@ -12,14 +12,16 @@
 									<view class="info-line">
 									<view class="info-line">
 										<text class="item-name">{{ item.itemName }}</text>
 										<text class="item-name">{{ item.itemName }}</text>
 										<text class="item-price">
 										<text class="item-price">
-											<text class="unit">¥</text>
-											<text class="price">{{item.userPrice || getSelectItemPrice(item)}}</text>
+											<text class="price">{{`${item.bigCount}`}}扎</text>
 										</text>
 										</text>
 									</view>
 									</view>
 									<view class="info-line">
 									<view class="info-line">
 										<text class="item-type"></text>
 										<text class="item-type"></text>
 										<text class="item-count">
 										<text class="item-count">
-											<text >{{`${item.bigCount}`}}扎</text>
+											<text >¥{{item.userPrice}}</text>
+											<text style="margin-left:20upx;">
+												¥{{parseFloat((Number(item.bigCount)*Number(item.userPrice)).toFixed(2))}}
+											</text>
 										</text>
 										</text>
 									</view>
 									</view>
 								</view>
 								</view>
@@ -429,11 +431,11 @@ export default {
 							justify-content: space-between;
 							justify-content: space-between;
 							align-items: flex-end;
 							align-items: flex-end;
 							.item-name {
 							.item-name {
-								color: #666;
-								font-size: 28upx;
+								color:black;
+								font-size:30upx;
 							}
 							}
 							.item-price {
 							.item-price {
-								color: #333;
+								color: black;
 								font-size: 22upx;
 								font-size: 22upx;
 								.price {
 								.price {
 									font-size: 32upx;
 									font-size: 32upx;
@@ -445,8 +447,8 @@ export default {
 								font-size: 24upx;
 								font-size: 24upx;
 							}
 							}
 							.item-count {
 							.item-count {
-								color: #666;
-								font-size: 24upx;
+								color: black;
+								font-size: 32upx;
 							}
 							}
 						}
 						}
 					}
 					}