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

updata

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