From b495f18f6364bae946a87c90b828e055b9948d3c Mon Sep 17 00:00:00 2001
From: wangdong <1551135706@qq.com>
Date: Mon, 25 Mar 2024 20:43:00 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/learning/index.vue | 46 ++++++++++++++-------------------
pages/mine/index.vue | 2 +-
pages/my/fileDownload.vue | 42 +++++++++++++++++++++++++-----
pages/special/data_details.vue | 2 +-
pages/topic/problem_detail.vue | 42 +++++++++++++++++++++++++++++-
pages/topic/question_detail.vue | 42 +++++++++++++++++++++++++++++-
6 files changed, 140 insertions(+), 36 deletions(-)
diff --git a/pages/learning/index.vue b/pages/learning/index.vue
index 41dc28d..2c46ac1 100644
--- a/pages/learning/index.vue
+++ b/pages/learning/index.vue
@@ -13,33 +13,33 @@
我的考试:
- {{ myExam.examName }}
+ {{ learningData.exam_list[0].name }}
开考时间:
- {{ myExam.examTime}}
+ {{ learningData.exam.date}}
距离考试
- {{ myExam.examDays }}天
+ {{ learningData.exam.distance_exam_day }}天
坚持天数
- {{ info.signDays }}天
- 排名:{{ info.signRank }}
+ {{ learningData.user_study.days }}天
+ 排名:{{ learningData.user_study.rank }}
背诵考点
- {{ info.reciteExamPoint }}个
- 排名:{{ info.reciteRank }}
+ {{ learningData.user_recite.points }}个
+ 排名:{{ learningData.user_recite.rank }}
刷题正确率
- {{ info.currentPercent }}%
- 排名:{{ info.currentRank }}
+ {{ learningData.user_brush_questions.accuracy }}
+ 排名:{{ learningData.user_brush_questions.rank }}
@@ -49,19 +49,16 @@
-
- 已背诵章节(词汇)
+
+ {{ item.name }}
-
- 今日背诵检测
-
- 进度 100%
+ 进度 {{ learningData.user_clock_in.progress }}%
- 已打卡
+ 已打卡
-
- 2021-2022英语四级考试真题 开始练习
+
+ {{ item.name }} 开始练习
@@ -130,14 +127,6 @@ import store from "@/store";
examTime: '2024-1-12',
examDays: 180,
},
- info: {
- signDays: 82,
- signRank: 1,
- reciteExamPoint: 8532,
- reciteRank: 64,
- currentPercent: 60,
- currentRank: '--',
- },
indexMenu: [
{ menuName: '视频课', key: 'video' },
{ menuName: '直播课', key: 'live' },
@@ -228,6 +217,11 @@ import store from "@/store";
url: `/pages/learningCenter/brushQuestion?id=${item.id}`
})
},
+ toPractice(id) {
+ uni.navigateTo({
+ url: `/pages/topic/problem_index?id=${id}`,
+ });
+ }
},
};
diff --git a/pages/mine/index.vue b/pages/mine/index.vue
index 13ed4ba..13b9073 100644
--- a/pages/mine/index.vue
+++ b/pages/mine/index.vue
@@ -4,7 +4,7 @@