From b05a84f9178894b40a1d6a601b577403d7d93c46 Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期三, 08 一月 2025 09:09:20 +0800 Subject: [PATCH] 1.运费配置说明修改 --- sub_pages/customer/coupon/coupon-all.vue | 20 ++++++++++++++++---- 1 files changed, 16 insertions(+), 4 deletions(-) diff --git a/sub_pages/customer/coupon/coupon-all.vue b/sub_pages/customer/coupon/coupon-all.vue index b7c7b84..02616b6 100644 --- a/sub_pages/customer/coupon/coupon-all.vue +++ b/sub_pages/customer/coupon/coupon-all.vue @@ -3,7 +3,7 @@ <view class=""> <no-data v-if="!list||list.length==0" style="width: 100%;"></no-data> - <view v-for="(item,index) of list" :key="index" class="coupont-item all"> + <view v-for="(item,index) of list" :key="index" class="coupont-item all" :class="[item.getYetFlag]"> <view class="flex container img100"> <view class="info-price"> <view class="price1"> @@ -18,13 +18,16 @@ <view class="time"> 领取后{{item.usageTimeNum||''}}{{item.usageTimeTypeName||''}}有效 </view> - <view class="button" @click="getCoupon(item)"> + <view v-if="!item.getYetFlag" class="button" @click="getCoupon(item)"> 立即领取 + </view> + <view v-else class="button" > + 已领取 </view> </view> </view> <view class="tip"> - <span class="t-red">*</span>此券每人限领1张。仅限用于花满芜鲜花交易平台鲜切花花款满额使用,不可与其他优惠同享、不可叠加使用 + <span class="t-red">*</span>{{item.couponDescription || '此券每人限领1张。仅限用于花满芫鲜花交易平台鲜切花花款满额使用,不可与其他优惠同享、不可叠加使用'}} </view> </view> </view> @@ -79,5 +82,14 @@ <style lang="scss" scoped> @import './coupon.scss'; - .coupon-container {} + .coupon-container { + + .coupont-item.true { + filter: grayscale(100%); + + .img-has { + display: unset; + } + } + } </style> \ No newline at end of file -- Gitblit v1.9.3