提交 f6e56e56 authored 作者: lihuihui's avatar lihuihui

修改能力自测结果页文案

上级 754f9777
...@@ -31,18 +31,19 @@ ...@@ -31,18 +31,19 @@
<img v-show="ratioNum >= 40 && ratioNum < 60" src="../assets/images/mountain2.png" alt=""> <img v-show="ratioNum >= 40 && ratioNum < 60" src="../assets/images/mountain2.png" alt="">
<img v-show="ratioNum >= 60 && ratioNum < 99" src="../assets/images/mountain3.png" alt=""> <img v-show="ratioNum >= 60 && ratioNum < 99" src="../assets/images/mountain3.png" alt="">
<img v-show="ratioNum == 100" src="../assets/images/mountain4.png" alt=""> <img v-show="ratioNum == 100" src="../assets/images/mountain4.png" alt="">
<template v-if="title != '能力自测'"> <template v-if="title != '考前摸底'">
<div v-if="ratioNum == 100" class="txt">成功近在眼前,再接再厉!</div> <div v-if="ratioNum == 100" class="txt">成功近在眼前,再接再厉!</div>
<div v-else class="txt">您离成功还有一段距离,继续努力!</div> <div v-else class="txt">您离成功还有一段距离,继续努力!</div>
</template> </template>
<template v-else> <template v-else>
<div class="txt" style="text-align: left;">您距离拿证还有一段距离,急速拿证推荐您使用VIP课程!</div> <div v-if="ratioNum >= 90" class="txt" style="text-align: left;">您的成绩不错呦,保持住,想进一步提升成绩,推荐购买VIP服务!</div>
<div v-else class="txt" style="text-align: left;">您距离拿证还有一段距离,急速拿证推荐您购买VIP服务</div>
</template> </template>
</div> </div>
<div class="nl-btn" v-if="title == '能力自测'"> <div class="nl-btn" v-if="title == '考前摸底'">
<!-- <div class="btn" @click="goAbilityExam">重做测试</div> <!-- <div class="btn" @click="goAbilityExam">重做测试</div>
<div class="btn" @click="goCourse">学习课程</div> --> <div class="btn" @click="goCourse">学习课程</div> -->
<div class="new-btn" @click="goVip">购买VIP服务</div> <div class="new-btn" @click="goVip">购买全部服务</div>
</div> </div>
<div class="card"> <div class="card">
<div class="tit">答题卡:</div> <div class="tit">答题卡:</div>
...@@ -159,7 +160,7 @@ export default { ...@@ -159,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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论