From d06ee397cfe1f9495a485564c67d42372c9c51e0 Mon Sep 17 00:00:00 2001 From: zoujiandong <10130823232@qq.com> Date: Fri, 16 Jan 2026 17:36:04 +0800 Subject: [PATCH] =?UTF-8?q?1.16=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages_app/myPoint/myPoint.vue | 14 ++++++++++---- pages_goods/exchange/address.vue | 2 +- pages_goods/productDetail/productDetail.vue | 4 ++-- utils/request.js | 6 +++--- 4 files changed, 16 insertions(+), 10 deletions(-) diff --git a/pages_app/myPoint/myPoint.vue b/pages_app/myPoint/myPoint.vue index b6970ac..d1d79d4 100644 --- a/pages_app/myPoint/myPoint.vue +++ b/pages_app/myPoint/myPoint.vue @@ -180,7 +180,7 @@ 本周共签到{{signInfo.totalDay}}次 已经连续签到{{signInfo.continuous_day}}天 连续签到获取更多积分 - + {{signInfo.news.summary}} @@ -221,6 +221,7 @@ const loading = ref(false); const error = ref(null); const isSign = ref(false); const hasSign = ref(false) +import signImg from "@/static/sign_in_bng_big.png" const showSign = ref(false) const signInfo=reactive({ news:{ @@ -300,10 +301,11 @@ const performCheckin = () => { title: "签到成功 +2积分", icon: "none", }); - + //showSign.value = true; // 签到成功后刷新数据 getMyBonusPoints(); getBonusPointsList(); // 刷新积分记录列表 + loading.value = false; }, 1000); @@ -349,6 +351,10 @@ try { if (res && res.code ==1) { // 签到成功 isSign.value = true; + showSign.value = true; + // 签到成功后刷新数据 + getMyBonusPoints(); + getBonusPointsList(); uni.showToast({ title: '签到成功,获得'+res.bonuspoints+'积分', icon: 'none' @@ -1363,8 +1369,8 @@ onMounted(() => { text-align: center; } .signwrap .signcontent .news{ - margin: 196rpx 60rpx 0; - height: 116rpx; + margin: 208rpx 60rpx 0; + height: 100rpx; font-size: 30rpx; } .signwrap .signbg{ diff --git a/pages_goods/exchange/address.vue b/pages_goods/exchange/address.vue index a9abc93..f32ff0b 100644 --- a/pages_goods/exchange/address.vue +++ b/pages_goods/exchange/address.vue @@ -1,6 +1,6 @@