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 {