From 5c5a71ec55f1981f7e3de9ce8133d7d565dbc475 Mon Sep 17 00:00:00 2001 From: 670788339 <670788339@qq.com> Date: Thu, 3 Apr 2025 15:21:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/user/ranking.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/user/ranking.vue b/src/views/user/ranking.vue index a0f66295..b517cce3 100644 --- a/src/views/user/ranking.vue +++ b/src/views/user/ranking.vue @@ -380,13 +380,13 @@ export default { getExperience() {//经验值 let data = { aid:this.userInfo.aid,// #用户id - statType:21, // #统计类型 10学习时长 11 学习天数 20表经验值 30表u币 40表获取天数 + statType:20, // #统计类型 10学习时长 11 学习天数 20表经验值 30表u币 40表获取天数 field:this.experience.field,// #统计周期 todays-当天,weeks-周,months-月,years-年 total-总计 num:10,// #显示的条数 } if(data.field == 'now'){ data.statType = 20 - data.field = 'total' + data.field = 'years' this.experience.field = 'total' this.isNow = true } @@ -447,13 +447,13 @@ export default { getDuration() {//学习时长 let data = { aid:this.userInfo.aid,// #用户id - statType:12, // #统计类型 10学习时长 11 学习天数 20表经验值 30表u币 40表获取天数 + statType:10, // #统计类型 10学习时长 11 学习天数 20表经验值 30表u币 40表获取天数 field:this.learningDuration.field,// #统计周期 todays-当天,weeks-周,months-月,years-年 total-总计 num:10,// #显示的条数 } if(data.field == 'now'){ data.statType = 10 - data.field = 'total' + data.field = 'years' this.learningDuration.field = 'total' this.isStudyTime = true }