|
@@ -4,7 +4,7 @@
|
|
|
<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-time">代金券面额:¥{{coupon.money}}</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>
|
|
@@ -16,7 +16,7 @@
|
|
|
<view class="voucher-coupon-detail-content-title">说明</view>
|
|
|
<view class="voucher-coupon-detail-content-desc" v-html="coupon.details"></view>
|
|
|
</view>
|
|
|
- <view class="voucher-coupon-detail-footer-btn" :class="{ remainCount: coupon.remainCount == 0 }" @click="receive">立即领取</view>
|
|
|
+ <view class="voucher-coupon-detail-footer-btn" v-if="type !== 'my'" :class="{ remainCount: coupon.remainCount == 0 }" @click="receive">立即领取</view>
|
|
|
<popup ref="popup" :popupInfo="popupInfo" @confirm="popupBtnClick" @close="popupBtnClick"></popup>
|
|
|
</view>
|
|
|
</template>
|
|
@@ -50,10 +50,12 @@
|
|
|
title: '通知',
|
|
|
content: '默认消息'
|
|
|
},
|
|
|
+ type: ''
|
|
|
};
|
|
|
},
|
|
|
onLoad: async function(option) {
|
|
|
if(option.id) this.id = option.id;
|
|
|
+ if (option.type) this.type = option.type;
|
|
|
this.query();
|
|
|
},
|
|
|
methods: {
|