Commit e7a3fabf by 胡悦

fix(Study): 修改考试相关文本和隐藏条件

修复考试确认按钮文本从"确认提交"改为"确认已提交"
将剩余考试次数显示从"不限次数"改为"不限制"
根据用户场景类型隐藏特定标签页
1 parent e9ca3bbd

30.4 KB | W: | H:

41.2 KB | W: | H:

assets/images/studyCenter/Leaderboard-bg.png
assets/images/studyCenter/Leaderboard-bg.png
assets/images/studyCenter/Leaderboard-bg.png
assets/images/studyCenter/Leaderboard-bg.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -434,7 +434,9 @@ export default { ...@@ -434,7 +434,9 @@ export default {
console.log(res,'res') console.log(res,'res')
}) })
} }
if (userInfo.sceneType == 7) {
this.tabs[2].hidden = true
}
if (userInfo.subLoginUser.channelType == 9) { if (userInfo.subLoginUser.channelType == 9) {
this.tabs[2].hidden = true this.tabs[2].hidden = true
this.tabs[3].hidden = true this.tabs[3].hidden = true
......
...@@ -101,7 +101,7 @@ export default { ...@@ -101,7 +101,7 @@ export default {
examPopInfo: { examPopInfo: {
isExamLoading: false, isExamLoading: false,
showError: false, showError: false,
confirmText: '确认提交' confirmText: '确认已提交'
}, },
currentExam: {} currentExam: {}
} }
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<!-- 考试次数 --> <!-- 考试次数 -->
<view class="exam-times"> <view class="exam-times">
<text class="times-value">剩余考试次数</text> <text class="times-value">剩余考试次数</text>
<template v-if="!item.examTimes">不限次数</template> <template v-if="!item.examTimes">不限制</template>
<template v-else> <template v-else>
<text>{{ filterValue(item.remainingTimes) }}/{{ filterValue(item.examTimes) }}次</text> <text>{{ filterValue(item.remainingTimes) }}/{{ filterValue(item.examTimes) }}次</text>
</template> </template>
...@@ -101,7 +101,7 @@ export default { ...@@ -101,7 +101,7 @@ export default {
examPopInfo: { examPopInfo: {
isExamLoading: false, isExamLoading: false,
showError: false, showError: false,
confirmText: '确认提交' confirmText: '确认已提交'
}, },
currentExam: {} currentExam: {}
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!