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 @@ - + @@ -76,8 +105,9 @@ background: #0F74BB; border-radius: 19rpx; color: #fff; - text-align: center; - line-height: 38rpx; + display: flex; + justify-content: center; + align-items: center; } } } diff --git a/pages/special/data_details.vue b/pages/special/data_details.vue index e1989cf..d2de3d6 100644 --- a/pages/special/data_details.vue +++ b/pages/special/data_details.vue @@ -1,6 +1,6 @@ + + 小王同学想利用中国知网平台,查询近1个月内发 表的最新的文献信息,她可以利用的数据库有:()。 + + + + 回答{{ item.is_correct === 1 ? "错误" : "正确" }} - + 正确答案: {{ item.answer }} @@ -416,4 +423,37 @@ page { .abs.on{ display: none; } +.question { + .subject { + .subject-title { + font-size: 30rpx; + color: #333; + margin: 40rpx 0 30rpx; + } + .subject-content { + ::v-deep { + .uni-textarea-placeholder { + color: #BFBFBF; + font-size: 26rpx; + } + textarea { + width: 100%; + height: 349rpx; + border-radius: 13rpx; + border: 1px solid #CCCCCC; + padding: 28rpx 30rpx; + } + } + } + } +} +.analysis { + .subject-flex { + display: flex; + flex-direction: column; + view:nth-child(2) { + margin-top: 20rpx; + } + } +} diff --git a/pages/topic/question_detail.vue b/pages/topic/question_detail.vue index 771964a..74b2ca7 100644 --- a/pages/topic/question_detail.vue +++ b/pages/topic/question_detail.vue @@ -27,6 +27,7 @@ {{ item.stem }} + + 小王同学想利用中国知网平台,查询近1个月内发 表的最新的文献信息,她可以利用的数据库有:()。 + + + + 回答{{ item.is_correct === 2 ? "正确" : "错误" }} - + 正确答案: {{ item.answer }} @@ -574,4 +581,37 @@ page { .abs.on{ display: none; } +.question { + .subject { + .subject-title { + font-size: 30rpx; + color: #333; + margin: 40rpx 0 30rpx; + } + .subject-content { + ::v-deep { + .uni-textarea-placeholder { + color: #BFBFBF; + font-size: 26rpx; + } + textarea { + width: 100%; + height: 349rpx; + border-radius: 13rpx; + border: 1px solid #CCCCCC; + padding: 28rpx 30rpx; + } + } + } + } +} +.analysis { + .subject-flex { + display: flex; + flex-direction: column; + view:nth-child(2) { + margin-top: 20rpx; + } + } +}