Browse Source

订单 金额字段修改

1004749546@qq.com 4 years ago
parent
commit
eb0c411831
2 changed files with 3 additions and 3 deletions
  1. 1 1
      pages/order/order.vue
  2. 2 2
      pages/order/orderDetail.vue

+ 1 - 1
pages/order/order.vue

@@ -36,7 +36,7 @@
 									</text>
 									<view class="num-cont" v-if="item.orderState=='WAIT_PAY'">
 										<text class="money-total">应付</text>
-										<text class="price-num">{{item.originalGold}}</text>
+										<text class="price-num">{{item.payGold}}</text>
 										<u-image mode="scaleToFill" width="40rpx" height="40rpx" src="/static/ledou.png"></u-image>
 									</view>
 									<view class="num-cont" v-else>

+ 2 - 2
pages/order/orderDetail.vue

@@ -54,7 +54,7 @@
 				<u-gap height="10" bg-color="#f8f8f8"></u-gap>
 				<u-cell-item title="商品合计" :value-style="{color: '#000'}" :arrow="false">
 					<view class="num-cont">
-						<text class="price-num">{{orderInfo.originalGold}}</text>
+						<text class="price-num">{{orderInfo.payGold}}</text>
 						<u-image mode="scaleToFill" width="40rpx" height="40rpx" src="/static/ledou.png"></u-image>
 					</view>
 				</u-cell-item>
@@ -64,7 +64,7 @@
 				<u-cell-item :title="(orderInfo.orderState=='WAIT_PAY'||orderInfo.orderState=='CANCEL') ? '待支付':'实际支付'" :value-style="{color: '#000'}"
 				 :arrow="false">
 				 <view class="num-cont">
-					 <text class="price-num">{{orderInfo.originalGold}}</text>
+					 <text class="price-num">{{orderInfo.payGold}}</text>
 					 <u-image mode="scaleToFill" width="40rpx" height="40rpx" src="/static/ledou.png"></u-image>
 				 </view>
 				</u-cell-item>