提交 6d41d339 authored 作者: lihuihui's avatar lihuihui

updata

上级 d4b1be8d
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<svg v-show="ratioNum!==0" class="w_svg" width="100%" height="100%" viewBox="0 0 100 100"> <svg v-show="ratioNum!==0" class="w_svg" width="100%" height="100%" viewBox="0 0 100 100">
<circle r="25" cx="50" cy="50" fill="none" stroke="#07cb78" stroke-width="50" :stroke-dasharray="ratio" /> <circle r="25" cx="50" cy="50" fill="none" stroke="#07cb78" stroke-width="50" :stroke-dasharray="ratio" />
</svg> </svg>
<template v-if="title === '模拟考试'"> <template v-if="title === '真题实战'">
<div class="circle"> <div class="circle">
<p class="p1">得分</p> <p class="p1">得分</p>
<p class="p2">{{questionsData.score}}</p> <p class="p2">{{questionsData.score}}</p>
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
</div> </div>
</div> </div>
</div> </div>
<div :class="ratioNum == 100 ? 'st-btn cent' : 'st-btn'" v-if="title === '随堂小测' || title === '模拟考试' || title === '知识点小测'"> <div :class="ratioNum == 100 ? 'st-btn cent' : 'st-btn'" v-if="title === '随堂小测' || title === '真题实战' || title === '知识点小测'">
<div class="btn" @click="go(1)">全部解析</div> <div class="btn" @click="go(1)">全部解析</div>
<div class="btn" @click="go(-1)" v-if="ratioNum !== 100">错题解析</div> <div class="btn" @click="go(-1)" v-if="ratioNum !== 100">错题解析</div>
</div> </div>
...@@ -160,7 +160,7 @@ export default { ...@@ -160,7 +160,7 @@ export default {
if (this.$route.query.course_id || this.$route.query.tag_id) { if (this.$route.query.course_id || this.$route.query.tag_id) {
this.$route.query.type === 1 || this.$route.query.type === '1' ? this.title = '随堂小测' : this.title = '知识点小测' this.$route.query.type === 1 || this.$route.query.type === '1' ? this.title = '随堂小测' : this.title = '知识点小测'
} else { } else {
this.$route.query.type === 1 || this.$route.query.type === '1' ? this.title = '考前摸底' : this.title = '模拟考试' this.$route.query.type === 1 || this.$route.query.type === '1' ? this.title = '考前摸底' : this.title = '真题实战'
} }
// this.title // this.title
this.initData() this.initData()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论