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-self.vue | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/sub_pages/customer/coupon/coupon-self.vue b/sub_pages/customer/coupon/coupon-self.vue index d1a5f3f..669b809 100644 --- a/sub_pages/customer/coupon/coupon-self.vue +++ b/sub_pages/customer/coupon/coupon-self.vue @@ -37,6 +37,11 @@ <view class="img-out"> </view> + <view class="img-used"> + + </view> + + </view> <view class="tip"> <span @@ -114,6 +119,7 @@ if (this.cache_coupon.id === item.id) { await this.$message.confirm('是否取消使用此优惠券') await this.$store.dispatch('cache_coupon_select', {}) + await this.$store.dispatch('cache_coupon_select_cancel', 1) uni.navigateBack() return } @@ -145,6 +151,7 @@ } } await this.$store.dispatch('cache_coupon_select', item) + await this.$store.dispatch('cache_coupon_select_cancel', 0) uni.navigateBack() } }, @@ -179,6 +186,9 @@ cache_goods: state => { return state.cache.goods || [] }, + cache_coupon_select_cancel: state => { + return state.cache.cache_coupon_select_cancel==1?1:0 + }, }), } } @@ -198,6 +208,14 @@ display: unset; } } + + .coupont-item.used { + filter: grayscale(100%); + + .img-used { + display: unset; + } + } .bottom-button { -- Gitblit v1.9.3