提交 620d14b1 authored 作者: lihuihui's avatar lihuihui

updata

上级 74f029fc
......@@ -87,7 +87,7 @@
</div>
</div>
</div>
<div class="st-btn" v-if="title === '随堂测试' || title === '模拟考试' || title === '知识点测试'">
<div class="st-btn" v-if="title === '随堂小测' || title === '模拟考试' || title === '知识点测试'">
<div class="btn" @click="go(1)">全部解析</div>
<div class="btn" @click="go(-1)">错题解析</div>
</div>
......@@ -121,7 +121,7 @@ export default {
},
mounted() {
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 {
this.$route.query.type === 1 || this.$route.query.type === '1' ? this.title = '能力自测' : this.title = '模拟考试'
}
......
......@@ -756,6 +756,7 @@ export default {
height: 100%;
}
.analysis{
white-space: nowrap;
margin-right: .3rem;
}
.btn{
......
......@@ -13,7 +13,7 @@
</ul>
</div>
<div class="tab-con" id="bottom-view">
<div v-show="tabNav.navIndex === 0" class="tab1">
<div v-show="tabNav.navIndex == 0" class="tab1">
<div class="txt">
设计盒子为您提供2.5D风格公交站台等候公交车png图片
素材免费下载服务,这款素材采用的是EPS矢量图格式,
......@@ -23,7 +23,7 @@ png图片,可以方便你直接应用到自己的设计作品中,我们
</div>
<div class="btn" @click="abilityExam">确定</div>
</div>
<div v-show="tabNav.navIndex === 1" class="tab2">
<div v-show="tabNav.navIndex == 1" class="tab2">
<ul>
<template v-for="(item, index) in CourseChapter">
<li @click="listFold(item)" :key="index">
......@@ -58,7 +58,7 @@ png图片,可以方便你直接应用到自己的设计作品中,我们
</template>
</ul>
</div>
<div v-show="tabNav.navIndex === 2" class="tab3">
<div v-show="tabNav.navIndex == 2" class="tab3">
<ul>
<template v-for="(item, index) in courseList">
<li :key="index" @click="courseNodeDetail(item.course_id)">
......@@ -220,7 +220,6 @@ export default {
},
async tab(e) {
const isLogin = await this.$store.dispatch('checkLogin')
console.log(isLogin)
if (e === 1 || e === 2) {
e === 1 ? this.getCourseChapterList() : this.getCourseList()
if (!isLogin) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论