From 35ceef086a82be951ec1df109861778977a42ef5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E5=B2=A9?= Date: Wed, 3 Dec 2025 14:02:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=AE=B5=E4=BD=8D=E5=9B=BE?= =?UTF-8?q?=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 ++-- src/pages/me/index.vue | 18 +++++++----------- src/pages/pointsAndRank/rank.vue | 3 ++- src/static/images/me/default_rank.png | Bin 0 -> 8454 bytes 4 files changed, 11 insertions(+), 14 deletions(-) create mode 100644 src/static/images/me/default_rank.png diff --git a/.env.development b/.env.development index 9a63819e..b6488f90 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,7 @@ ENV = 'development' # VITE_APP_BASE_API_Url = 'https://aits.jlbank.com.cn:7001' -VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002' +# VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002' @@ -19,7 +19,7 @@ VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002' # VITE_APP_BASE_API_Url = 'http://25.18.122.65:7001' # sit -# VITE_APP_BASE_API_Url = 'http://25.18.122.91:9786' +VITE_APP_BASE_API_Url = 'http://25.18.122.91:9786' # UAT # VITE_APP_BASE_API_Url = 'http://25.18.122.78:9786' diff --git a/src/pages/me/index.vue b/src/pages/me/index.vue index 0a3a92b3..05e13aac 100644 --- a/src/pages/me/index.vue +++ b/src/pages/me/index.vue @@ -36,11 +36,13 @@ + @@ -210,7 +212,6 @@ }); // 签到打开 const checkInClick = () => { - checkInRef.value.open( user_info.checkInToday === 1, user_info.checkInDays, @@ -219,7 +220,7 @@ user_info.checkInToday = status ? 1 : 2; user_info.checkInDays = days; statistics_data['get_statistics_data'](true); // 强制获取统计数据 - + handlePointsBadgePopup(pointsList, badgesList); } ); @@ -257,7 +258,7 @@ this.currentRankName = points_data.currentRankName; } }, - get_statistics_data: async function (status=false) { + get_statistics_data: async function (status = false) { try { const time_now = Date.now(); let points_data = common.getValue('points_data') || {}; @@ -292,8 +293,6 @@ this.currentPoints = currentPoints; currentPointsRef.value.start(); } - - } catch (error) { console.error('获取统计数据失败:', error); } @@ -305,10 +304,9 @@ uni.$on('update_me_data', (status) => { // 获取了徽章或者积分,把缓存时间重置,以便下次进入me页实时获取 console.log('获取了徽章或者积分,把缓存时间重置,以便下次进入me页实时获取'); - if(status) { + if (status) { statistics_data.request_time = 0; } - }); }); onShow(() => { @@ -327,12 +325,10 @@ onPullDownRefresh(() => { uni.stopPullDownRefresh(); }); - - + onUnload(() => { uni.$off('update_me_data'); }); -