From fbb9c67e244e1b8cea4f4b036d6015f1926d3ef0 Mon Sep 17 00:00:00 2001
From: 18631081161 <2088094923@qq.com>
Date: Wed, 11 Mar 2026 19:56:40 +0800
Subject: [PATCH] =?UTF-8?q?=E7=AD=9B=E9=80=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
miniapp/pages/coupon/my-coupons.vue | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/miniapp/pages/coupon/my-coupons.vue b/miniapp/pages/coupon/my-coupons.vue
index d5469e5..7057b73 100644
--- a/miniapp/pages/coupon/my-coupons.vue
+++ b/miniapp/pages/coupon/my-coupons.vue
@@ -28,7 +28,7 @@
∨
-
+
类型:{{ currentTypeName }}
∨
@@ -110,7 +110,7 @@
try {
const params = { status: this.currentStatus }
if (this.currentStoreId) params.storeId = this.currentStoreId
- if (this.currentType) params.type = this.currentType
+ if (this.currentType) params.couponType = this.currentType
const res = await getMyCoupons(params)
this.coupons = res.data || res || []
} catch (err) {
@@ -192,22 +192,27 @@
/* 筛选行 */
.filter-row {
display: flex;
- justify-content: space-between;
margin-bottom: 20rpx;
}
.filter-item {
display: flex;
align-items: center;
gap: 6rpx;
+ max-width: 300rpx;
}
.filter-text {
font-size: 28rpx;
color: #333;
font-weight: 500;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ max-width: 280rpx;
}
.filter-arrow {
font-size: 24rpx;
color: #999;
+ flex-shrink: 0;
}
/* 列表 */
.coupon-list {