Procházet zdrojové kódy

代金券详情显示积分、时间、领取地点

skym1024 před 2 roky
rodič
revize
e9822b02f8
1 změnil soubory, kde provedl 12 přidání a 4 odebrání
  1. 12 4
      pages/goods/details.vue

+ 12 - 4
pages/goods/details.vue

@@ -3,9 +3,13 @@
  		<image class="voucher-coupon-detail-header-img" mode="aspectFit" v-if="coupon.photo" :src="fileUrl + coupon.photo"></image>
  		<view class="voucher-coupon-detail-header">
  			<view class="voucher-coupon-detail-header-info">
- 				<view class="voucher-coupon-detail-header-info-title">{{coupon.name}}</view>
- 				<view class="voucher-coupon-detail-header-info-desc">剩余:{{coupon.remainCount || 0}}</view>
- 				<view class="voucher-coupon-detail-header-info-time">金额:¥{{coupon.money}}</view>
+ 				<view class="voucher-coupon-detail-header-info-title">{{coupon.name}}</view>				
+				<view class="voucher-coupon-detail-header-info-time">代金券面额:¥{{coupon.money}}</view>
+ 				<view class="voucher-coupon-detail-header-info-desc">剩余数量:{{coupon.remainCount || 0}}</view>
+				<view class="voucher-coupon-detail-header-info-time">需要积分:{{coupon.integral}}</view> 
+				<view class="voucher-coupon-detail-header-info-time">开始领取:{{coupon.startTime}}</view> 
+				<view class="voucher-coupon-detail-header-info-time">结束领取:{{coupon.endTime}}</view> 
+				<view class="voucher-coupon-detail-header-info-time">领取地点:{{coupon.location}}</view> 
  			</view>
  		</view>
  		<view class="voucher-coupon-detail-content">
@@ -33,7 +37,11 @@
  					title: '',
  					remain_count: '',
  					describe: ``,
- 					money: ''
+ 					money: '',
+					integral:'',
+					location:'',
+					startTime:'',
+					endTime:''
  				},
 				popupInfo: {
 					msgType: 'success',