From 635d554ea8fe64bff15e666c9732d0c77908e0de Mon Sep 17 00:00:00 2001
From: 15093570141 <141405260+17521612761@users.noreply.github.com>
Date: Sat, 19 Oct 2024 11:32:58 +0800
Subject: [PATCH] =?UTF-8?q?uniapp=E3=80=90=E4=BC=98=E5=8C=96=E3=80=91?=
=?UTF-8?q?=EF=BC=88=E4=BC=98=E6=83=A0=E5=88=B8=E6=A8=A1=E5=9D=97=EF=BC=89?=
=?UTF-8?q?=EF=BC=9A=E6=9B=B4=E6=94=B9=E4=BC=98=E6=83=A0=E5=88=B8=E4=BD=BF?=
=?UTF-8?q?=E7=94=A8=E8=A7=84=E5=88=99=E6=98=BE=E7=A4=BA=E6=96=B9=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/subpackage/coupon/coupon.vue | 32 ++++++-------------
.../subpackage/member/coupon/coupon.scss | 19 +++++++----
.../pages/subpackage/member/coupon/coupon.vue | 29 +++++++++++------
3 files changed, 42 insertions(+), 38 deletions(-)
diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/subpackage/coupon/coupon.vue b/CoreCms.Net.Uni-App/CoreShop/pages/subpackage/coupon/coupon.vue
index f886a660..fec1c690 100644
--- a/CoreCms.Net.Uni-App/CoreShop/pages/subpackage/coupon/coupon.vue
+++ b/CoreCms.Net.Uni-App/CoreShop/pages/subpackage/coupon/coupon.vue
@@ -16,17 +16,11 @@
- 使用规则
+ 优惠券使用规则
-
- 优惠方式
-
-
-
@@ -34,14 +28,16 @@
-
- 优惠券使用规则:
- {{ cell }}
+
+
+ 优惠券使用规则:
+ {{ cell }}
+
-
-
- 优惠券优惠方式:
- {{ cell }}
+
+ 优惠券优惠方式:
+ {{ cell }}
+
@@ -97,7 +93,6 @@
state.totalPages = userCoupo.otherData?.totalPages;
state.couponList = state.couponList.concat(userCoupo.data?.map(((item : any) => {
item['showRules'] = false;
- item['showDiscount'] = false;
return item;
})));
uni.hideLoading();
@@ -128,15 +123,8 @@
/** 查看使用规则 */
const handleToggleRules = (index : number) => {
- state.couponList[index].showDiscount = false;
state.couponList[index].showRules = !state.couponList[index].showRules;
}
-
- /** 查看优惠方式 */
- const handleToggleDiscount = (index : number) => {
- state.couponList[index].showRules = false;
- state.couponList[index].showDiscount = !state.couponList[index].showDiscount;
- }