|
|
|
@ -13,33 +13,33 @@ |
|
|
|
|
<image :src="getImgPath('/static/frontend/exam-bg.png')" mode="aspectFill"></image> |
|
|
|
|
<view class="exam-left flex"> |
|
|
|
|
<view class="exam-name flex">我的考试: |
|
|
|
|
<text @click="changeCate">{{ myExam.examName }}</text> |
|
|
|
|
<text @click="changeCate">{{ learningData.exam_list[0].name }}</text> |
|
|
|
|
<image src="@/static/images/learning/change.png" mode="aspectFill" @click="changeCate"></image> |
|
|
|
|
</view> |
|
|
|
|
<view class="exam-time">开考时间: |
|
|
|
|
<text>{{ myExam.examTime}}</text> |
|
|
|
|
<text>{{ learningData.exam.date}}</text> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="exam-right"> |
|
|
|
|
<view class="exam-days-title">距离考试</view> |
|
|
|
|
<view class="exam-days-value"><text>{{ myExam.examDays }}</text>天</view> |
|
|
|
|
<view class="exam-days-value"><text>{{ learningData.exam.distance_exam_day }}</text>天</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="learning-info flex"> |
|
|
|
|
<view class="info-item flex"> |
|
|
|
|
<view class="item-title">坚持天数</view> |
|
|
|
|
<view class="item-value"><text style="color: #FF9500;">{{ info.signDays }}</text>天</view> |
|
|
|
|
<view class="item-rank">排名:{{ info.signRank }}</view> |
|
|
|
|
<view class="item-value"><text style="color: #FF9500;">{{ learningData.user_study.days }}</text>天</view> |
|
|
|
|
<view class="item-rank">排名:{{ learningData.user_study.rank }}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="info-item flex"> |
|
|
|
|
<view class="item-title">背诵考点</view> |
|
|
|
|
<view class="item-value"><text style="color: #0F74BB;">{{ info.reciteExamPoint }}</text>个</view> |
|
|
|
|
<view class="item-rank">排名:{{ info.reciteRank }}</view> |
|
|
|
|
<view class="item-value"><text style="color: #0F74BB;">{{ learningData.user_recite.points }}</text>个</view> |
|
|
|
|
<view class="item-rank">排名:{{ learningData.user_recite.rank }}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="info-item flex"> |
|
|
|
|
<view class="item-title">刷题正确率</view> |
|
|
|
|
<view class="item-value"><text style="color: #52C794;">{{ info.currentPercent }}</text>%</view> |
|
|
|
|
<view class="item-rank">排名:{{ info.currentRank }}</view> |
|
|
|
|
<view class="item-value"><text style="color: #52C794;">{{ learningData.user_brush_questions.accuracy }}</text></view> |
|
|
|
|
<view class="item-rank">排名:{{ learningData.user_brush_questions.rank }}</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="sign-record"> |
|
|
|
@ -49,19 +49,16 @@ |
|
|
|
|
</view> |
|
|
|
|
<view class="record-content flex"> |
|
|
|
|
<view class="content-left"> |
|
|
|
|
<view> |
|
|
|
|
已背诵章节(词汇) <image src="@/static/images/learning/success.png" mode="aspectFill"></image> |
|
|
|
|
<view v-for="(item, index) in learningData.user_clock_in.list"> |
|
|
|
|
{{ item.name }} <image src="@/static/images/learning/success.png" mode="aspectFill"></image> |
|
|
|
|
</view> |
|
|
|
|
<view> |
|
|
|
|
今日背诵检测 <image src="@/static/images/learning/success.png" mode="aspectFill"></image> |
|
|
|
|
<view>进度 <view class="progress-bg"><text class="progress" :style="`width: ${learningData.user_clock_in.progress}%;`"></text></view> <text class="progress-percent">{{ learningData.user_clock_in.progress }}%</text> </view> |
|
|
|
|
</view> |
|
|
|
|
<view>进度 <view class="progress-bg"><text class="progress" style="width: 100%;"></text></view> <text class="progress-percent">100%</text> </view> |
|
|
|
|
<view v-if="learningData.user_clock_in.list.length > 0" class="content-right">已打卡</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="content-right">已打卡</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="practice flex"> |
|
|
|
|
2021-2022英语四级考试真题 <text>开始练习</text> |
|
|
|
|
<view v-for="(item, index) in learningData.exam_list" class="practice flex"> |
|
|
|
|
{{ item.name }} <text @click="toPractice(item.id)">开始练习</text> |
|
|
|
|
</view> |
|
|
|
|
<view v-if="learningData.recite && learningData.recite.length > 0" class="tab-container"> |
|
|
|
|
<view class="content-title"> |
|
|
|
@ -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}`, |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
}; |
|
|
|
|
</script> |
|
|
|
|