From d5756ab27fa0e60b6d103df2c949f0178127ced9 Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期二, 10 九月 2024 18:19:36 +0800 Subject: [PATCH] 1.积分优惠券-请求地址错误修改 --- sub_pages/customer/coupon/good-all.vue | 22 +++++++++++++--------- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/sub_pages/customer/coupon/good-all.vue b/sub_pages/customer/coupon/good-all.vue index 52c2c1a..a90f3e2 100644 --- a/sub_pages/customer/coupon/good-all.vue +++ b/sub_pages/customer/coupon/good-all.vue @@ -1,24 +1,25 @@ <template> <view class="good-list-container"> <view class="top-bg img100 relative" :style="{'padding-top':(StatusBar)+'px','line-height':CustomBar+'rpx' }"> - <image class="component-bg" src="../../../static/images/customer/coupon/good-top-bg.png" + <!-- ../../../static/images/customer/coupon/good-top-bg.png --> + <image class="component-bg" src="https://hmy-flower.oss-cn-shanghai.aliyuncs.com/a9/a9731b0037924324a3d3318dfa7d10c5LZk6JsSC33ua754767bf8c714154f06bbd5b4d905174.png" mode="scaleToFill" /> <view class="title"> - <uni-icons class="icon" type="left" size="24" @click="backpage"></uni-icons> + <uni-icons class="icon" type="left" size="24" @click="backpage()"></uni-icons> 积分兑换 </view> <view class="flex point-info"> <view class="point-record m-r-a"> <view class="text-center title">我的积分</view> - <view class="flex"> + <view class="flex" @click="goto('/sub_pages/customer/coupon/point-history',true)"> <image src="../../../static/images/customer/coupon/icon-point.png" class="point-icon"> </image> {{currentInfo.currentPoint || 0}} <uni-icons class="icon" type="right" size="32"></uni-icons> </view> </view> - <view class="m-l-a m-r-0 rule"> + <view class="m-l-a m-r-0 rule" @click="goto('/pages/help/content?id=积分规则',false)"> <view class="flex w-fit m-l-a m-r-15"> <view class="m-r-10">规则</view> <image src="../../../static/images/customer/coupon/icon-rule.png" class="rule-icon"> @@ -135,7 +136,7 @@ }, changeScore(item){ this.query.pointLower = item.min || 0 - this.query.pointUpper = item.max || 10000000000 + this.query.pointUpper = item.max || 990000 this.refreshList() } }, @@ -152,13 +153,14 @@ }, { name: '优惠券', - api: '/api/v2/coupon/app/activy/list', + // api: '/api/v2/coupon/app/activy/list', + api: '/api/v2/coupon/point/active/list', }, ], query: { - pointLower: 1001, - pointUpper: 3000 + pointLower: 0, + pointUpper: 1000 }, scores: [{ min: 0, @@ -242,6 +244,7 @@ font-size: 24rpx; color: #44775A; text-align: center; + line-height: 46rpx; } } @@ -258,8 +261,9 @@ .query-scores { overflow-x: scroll; - width: max-content; + // width: max-content; .item { + min-width: fit-content; padding-left: 16rpx; padding-right: 16rpx; text-align: center; -- Gitblit v1.9.3