|
@@ -1,5 +1,12 @@
|
|
<template>
|
|
<template>
|
|
<section class="boston-container wh-full overflow-hidden relative">
|
|
<section class="boston-container wh-full overflow-hidden relative">
|
|
|
|
+ <el-image
|
|
|
|
+ v-if="!isMainWin"
|
|
|
|
+ src="/static/image/cognitiveAbility/SpeechTraining/close.png"
|
|
|
|
+ fit="contain"
|
|
|
|
+ class="!absolute z-5999 top-[36px] right-[36px] w-[70px] h-[70px] cursor-pointer"
|
|
|
|
+ @click="handleClose"
|
|
|
|
+ />
|
|
<div v-if="showCountDown" class="absolute top-[50%] left-[50%] translate-[-50%] w-[400px] h-[200px] flex-center">
|
|
<div v-if="showCountDown" class="absolute top-[50%] left-[50%] translate-[-50%] w-[400px] h-[200px] flex-center">
|
|
<div class="w-[120px] h-[120px] relative">
|
|
<div class="w-[120px] h-[120px] relative">
|
|
<wu-count-down :begin="countDownBegin" :num="5" @count-down-end="countDownEnd" />
|
|
<wu-count-down :begin="countDownBegin" :num="5" @count-down-end="countDownEnd" />
|
|
@@ -22,6 +29,7 @@
|
|
*/
|
|
*/
|
|
import EvaluationSTRecordInfoAPI from '@/api/tester/evaluation/stRecord'
|
|
import EvaluationSTRecordInfoAPI from '@/api/tester/evaluation/stRecord'
|
|
import { useUserStore } from '@/store'
|
|
import { useUserStore } from '@/store'
|
|
|
|
+import { h } from 'vue'
|
|
|
|
|
|
const isMainWin = ref(false)
|
|
const isMainWin = ref(false)
|
|
|
|
|
|
@@ -55,6 +63,10 @@ const closeDialog = () => {
|
|
*/
|
|
*/
|
|
const handleSubmit = () => {}
|
|
const handleSubmit = () => {}
|
|
|
|
|
|
|
|
+const handleClose = () => {
|
|
|
|
+ emits('close')
|
|
|
|
+}
|
|
|
|
+
|
|
const countDownEnd = () => {
|
|
const countDownEnd = () => {
|
|
countDownBegin.value = false
|
|
countDownBegin.value = false
|
|
showCountDown.value = false
|
|
showCountDown.value = false
|
|
@@ -89,7 +101,7 @@ onMounted(() => {
|
|
|
|
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|
|
.boston-container {
|
|
.boston-container {
|
|
- background: url('/static/image/user/bg-evaluate.png') no-repeat 0 0 / 100% 100% border-box border-box fixed;
|
|
|
|
|
|
+ background: url('/static/image/cognitiveAbility/SpeechTraining/bg.png') no-repeat 0 0 / 100% 100% border-box fixed;
|
|
|
|
|
|
.el-button + .el-button {
|
|
.el-button + .el-button {
|
|
margin-left: 0;
|
|
margin-left: 0;
|