提交 c13897d7 authored 作者: pengxiaohui's avatar pengxiaohui

feat: 修改判断是否评测状态标志

上级 4c880bac
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<!-- <div class="text" v-if="accuracText < 100"> <!-- <div class="text" v-if="accuracText < 100">
{{ accuracText < 80 ? '您离成功还有一段距离,继续努力!' : '成功近在眼前,再接再厉!' }} {{ accuracText < 80 ? '您离成功还有一段距离,继续努力!' : '成功近在眼前,再接再厉!' }}
</div> --> </div> -->
<template v-if="subjectQuestionScore === 0"> <template v-if="type !== '2'">
<p class="text">请等待老师评分~</p></template> <p class="text">请等待老师评分~</p></template>
<template v-else> <template v-else>
<p class="text" v-if="percent < 0.8"> <p class="text" v-if="percent < 0.8">
...@@ -101,6 +101,9 @@ export default { ...@@ -101,6 +101,9 @@ export default {
}, },
setStyle() { setStyle() {
return `width: ${100 * this.percent}%` return `width: ${100 * this.percent}%`
},
type() {
return this.$route.query.type
} }
}, },
methods: { methods: {
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
</div> </div>
<div class="icon"></div> <div class="icon"></div>
</div> </div>
<template v-if="subjectQuestionTotal && subjectQuestionScore === 0"> <template v-if="type !== '2'">
<p class="text">请等待老师评分~</p></template> <p class="text">请等待老师评分~</p></template>
<template v-else> <template v-else>
<p class="text" v-if="percent < 0.8"> <p class="text" v-if="percent < 0.8">
...@@ -92,6 +92,9 @@ export default { ...@@ -92,6 +92,9 @@ export default {
}, },
setStyle() { setStyle() {
return `width: ${100 * this.percent}%` return `width: ${100 * this.percent}%`
},
type() {
return this.$route.query.type
} }
}, },
methods: { methods: {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论