From 9db793eb071d5bbc6a9af3392fb73b5ba47a2e44 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期二, 03 九月 2024 15:58:39 +0800 Subject: [PATCH] 1 --- sub_pages/customer/coupon/good-all.vue | 18 ++++++++++-------- 1 files changed, 10 insertions(+), 8 deletions(-) diff --git a/sub_pages/customer/coupon/good-all.vue b/sub_pages/customer/coupon/good-all.vue index 24d6818..52c2c1a 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"> @@ -14,7 +14,7 @@ <view class="flex"> <image src="../../../static/images/customer/coupon/icon-point.png" class="point-icon"> </image> - 1552 + {{currentInfo.currentPoint || 0}} <uni-icons class="icon" type="right" size="32"></uni-icons> </view> </view> @@ -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