|
@@ -64,7 +64,7 @@
|
|
<!-- />-->
|
|
<!-- />-->
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
|
|
|
|
- <div v-if="!isMainWin && showTopics" class="w-[300px] h-[140px]">
|
|
|
|
|
|
+ <div v-if="!isMainWin && showSubmitBtn" class="w-[300px] h-[140px]">
|
|
<el-image
|
|
<el-image
|
|
src="/static/image/cognitiveAbility/SpeechTraining/verify-bg.png"
|
|
src="/static/image/cognitiveAbility/SpeechTraining/verify-bg.png"
|
|
fit="contain"
|
|
fit="contain"
|
|
@@ -200,7 +200,7 @@ const handleItemClick = (item: string, index: number) => {
|
|
VoiceImpRef.value.videoPlay()
|
|
VoiceImpRef.value.videoPlay()
|
|
TopicsVal.value[currentIndex.value].userAnswer = item
|
|
TopicsVal.value[currentIndex.value].userAnswer = item
|
|
useClickIndex.value = index
|
|
useClickIndex.value = index
|
|
- showSubmitBtn.value = true
|
|
|
|
|
|
+ // showSubmitBtn.value = true
|
|
localStorage.setItem(
|
|
localStorage.setItem(
|
|
'two-win-auditory-word-img-matching-submit-answer',
|
|
'two-win-auditory-word-img-matching-submit-answer',
|
|
TopicsVal.value[currentIndex.value].userAnswer
|
|
TopicsVal.value[currentIndex.value].userAnswer
|
|
@@ -216,9 +216,9 @@ const handleSubmit = () => {
|
|
// VoiceImpRef.value.videoPlay(
|
|
// VoiceImpRef.value.videoPlay(
|
|
// TopicsVal.value[currentIndex.value].userAnswer === TopicsVal.value[currentIndex.value].correct ? 'right' : 'error'
|
|
// TopicsVal.value[currentIndex.value].userAnswer === TopicsVal.value[currentIndex.value].correct ? 'right' : 'error'
|
|
// )
|
|
// )
|
|
- handleItemClick()
|
|
|
|
showSubmitBtn.value = false
|
|
showSubmitBtn.value = false
|
|
localStorage.setItem('two-win-auditory-word-img-matching-try-over', 'YES')
|
|
localStorage.setItem('two-win-auditory-word-img-matching-try-over', 'YES')
|
|
|
|
+ handleItemClick()
|
|
}
|
|
}
|
|
|
|
|
|
async function exec() {
|
|
async function exec() {
|
|
@@ -270,6 +270,7 @@ onMounted(() => {
|
|
useClickIndex.value = -1
|
|
useClickIndex.value = -1
|
|
showScoreArea.value = false
|
|
showScoreArea.value = false
|
|
scoreIndex.value = -1
|
|
scoreIndex.value = -1
|
|
|
|
+ showSubmitBtn.value = true
|
|
VoiceImpRef.value.videoPlay(
|
|
VoiceImpRef.value.videoPlay(
|
|
'Speech-Auditory',
|
|
'Speech-Auditory',
|
|
`static/voice/cognitiveAbility/SpeechTraining/OralExpression/OralExpressionRetellingSeries/${TopicsVal.value[currentIndex.value].correct}.mp3`
|
|
`static/voice/cognitiveAbility/SpeechTraining/OralExpression/OralExpressionRetellingSeries/${TopicsVal.value[currentIndex.value].correct}.mp3`
|