From 6d583f26009a2cbc74f5963fb92ff184019f6c2b Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期二, 03 九月 2024 15:55:19 +0800
Subject: [PATCH] 1

---
 sub_pages/customer/coupon/coupon-all.vue |    4 ++--
 sub_pages/customer/coupon/good-all.vue   |   16 +++++++++-------
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/sub_pages/customer/coupon/coupon-all.vue b/sub_pages/customer/coupon/coupon-all.vue
index f5c6d16..b7c7b84 100644
--- a/sub_pages/customer/coupon/coupon-all.vue
+++ b/sub_pages/customer/coupon/coupon-all.vue
@@ -39,13 +39,13 @@
 				query: {
 					status: ''
 				},
-				list: [{}]
+				list: []
 			}
 		},
 		async onLoad() {
 			this.listApi = '/api/v2/coupon/app' + `/center/list`
 
-			// this.getList()
+			this.getList()
 		},
 
 		methods: {
diff --git a/sub_pages/customer/coupon/good-all.vue b/sub_pages/customer/coupon/good-all.vue
index 24d6818..3110b03 100644
--- a/sub_pages/customer/coupon/good-all.vue
+++ b/sub_pages/customer/coupon/good-all.vue
@@ -5,7 +5,7 @@
 				mode="scaleToFill" />
 
 			<view class="title">
-				<uni-icons class="icon" type="left" size="24"></uni-icons>
+				<uni-icons class="icon" type="left" size="24" @click="backpage"></uni-icons>
 				积分兑换
 			</view>
 			<view class="flex point-info">
@@ -120,6 +120,7 @@
 					data: {
 						couponId: item.id,
 						goodsId: item.id, //兼容2个
+						num:1
 					}
 				})
 				this.$message.hideLoading()
@@ -133,8 +134,8 @@
 				})
 			},
 			changeScore(item){
-				this.query.pointLower = item.min || undefined
-				this.query.pointUpper = item.max || undefined
+				this.query.pointLower = item.min || 0
+				this.query.pointUpper = item.max || 10000000000
 				this.refreshList()
 			}
 		},
@@ -208,13 +209,12 @@
 				}
 
 				.title {
-					padding-top: 18rpx;
-					padding-bottom: 18rpx;
+					padding:18rpx 18rpx 0rpx 18rpx;
 					font-weight: 600;
 					font-size: 32rpx;
 					color: #000000;
 					line-height: 44rpx;
-					text-align: center;
+					text-align: left;
 				}
 
 				.score-info {
@@ -223,6 +223,7 @@
 					font-weight: 400;
 					font-size: 24rpx;
 					color: #44775A;
+					padding:18rpx;
 					padding-bottom: 28rpx;
 
 					.score {
@@ -240,6 +241,7 @@
 					font-weight: 400;
 					font-size: 24rpx;
 					color: #44775A;
+					text-align: center;
 				}
 			}
 
@@ -345,7 +347,7 @@
 
 				.icon {
 					position: absolute;
-					left: 20rpx;
+					left: 0rpx;
 					z-index: 1;
 				}
 			}

--
Gitblit v1.9.3