|
@@ -17,10 +17,12 @@ import startData from "./data/start.json";
|
|
import startingData from "./data/starting.json";
|
|
import startingData from "./data/starting.json";
|
|
import iconTastBg from "./icons/task-bg.svg";
|
|
import iconTastBg from "./icons/task-bg.svg";
|
|
import iconEvaluat from "./icons/evaluating.json";
|
|
import iconEvaluat from "./icons/evaluating.json";
|
|
|
|
+import { headImg } from "/src/page-instrument/header-top/image";
|
|
import { api_musicPracticeRecordVideoUpload } from "../api";
|
|
import { api_musicPracticeRecordVideoUpload } from "../api";
|
|
// import DelayCheck from "./delay-check";
|
|
// import DelayCheck from "./delay-check";
|
|
import { headTopData } from "../header-top/index";
|
|
import { headTopData } from "../header-top/index";
|
|
import { getQuery } from "/src/utils/queryString";
|
|
import { getQuery } from "/src/utils/queryString";
|
|
|
|
+import Countdown from "./countdown"
|
|
|
|
|
|
const DelayCheck = defineAsyncComponent(() =>
|
|
const DelayCheck = defineAsyncComponent(() =>
|
|
import('./delay-check')
|
|
import('./delay-check')
|
|
@@ -362,7 +364,7 @@ export default defineComponent({
|
|
});
|
|
});
|
|
return () => (
|
|
return () => (
|
|
<div>
|
|
<div>
|
|
- <Transition name="pop-center">
|
|
|
|
|
|
+ {/* <Transition name="pop-center">
|
|
{evaluatingData.websocketState && !evaluatingData.startBegin && evaluatingData.checkEnd && (
|
|
{evaluatingData.websocketState && !evaluatingData.startBegin && evaluatingData.checkEnd && (
|
|
<div class={styles.startBtn} onClick={() => {
|
|
<div class={styles.startBtn} onClick={() => {
|
|
startBtnHandle()
|
|
startBtnHandle()
|
|
@@ -377,9 +379,22 @@ export default defineComponent({
|
|
<img src={iconEvaluat.evaluatingEnd} />
|
|
<img src={iconEvaluat.evaluatingEnd} />
|
|
</div>
|
|
</div>
|
|
)}
|
|
)}
|
|
- </Transition>
|
|
|
|
-
|
|
|
|
- <div style={{ display: !evaluatingData.startBegin && !evaluatingData.soundEffectMode ? "" : "none" }} class={styles.dialogueBox} key="start">
|
|
|
|
|
|
+ </Transition> */}
|
|
|
|
+ <div class={styles.operatingBtn}>
|
|
|
|
+ {evaluatingData.websocketState && !evaluatingData.startBegin && evaluatingData.checkEnd && (
|
|
|
|
+ <img class={styles.iconBtn} src={headImg("icon_play.png")}
|
|
|
|
+ onClick={() => {
|
|
|
|
+ startBtnHandle()
|
|
|
|
+ }} />
|
|
|
|
+ )}
|
|
|
|
+ {evaluatingData.websocketState && evaluatingData.startBegin && (
|
|
|
|
+ <>
|
|
|
|
+ <img class={styles.iconBtn} src={headImg("icon_reset.png")} onClick={()=>handleEvaluatResult("tryagain")} />
|
|
|
|
+ <img class={styles.iconBtn} src={headImg("submit.png")} onClick={() => handleEndBegin()}/>
|
|
|
|
+ </>
|
|
|
|
+ )}
|
|
|
|
+ </div>
|
|
|
|
+ {/* <div style={{ display: !evaluatingData.startBegin && !evaluatingData.soundEffectMode ? "" : "none" }} class={styles.dialogueBox} key="start">
|
|
<div class={styles.dialogue}>
|
|
<div class={styles.dialogue}>
|
|
<img class={styles.dialoguebg} src={iconTastBg} />
|
|
<img class={styles.dialoguebg} src={iconTastBg} />
|
|
<div>演奏前请调整好乐器,保证最佳演奏状态。</div>
|
|
<div>演奏前请调整好乐器,保证最佳演奏状态。</div>
|
|
@@ -389,7 +404,7 @@ export default defineComponent({
|
|
<div style={{ display: evaluatingData.startBegin ? "" : "none" }} class={styles.dialogueBox} key="start">
|
|
<div style={{ display: evaluatingData.startBegin ? "" : "none" }} class={styles.dialogueBox} key="start">
|
|
<div class={styles.dialogueing}>收音中...</div>
|
|
<div class={styles.dialogueing}>收音中...</div>
|
|
<Vue3Lottie class={styles.dialogueIcon} animationData={startingData}></Vue3Lottie>
|
|
<Vue3Lottie class={styles.dialogueIcon} animationData={startingData}></Vue3Lottie>
|
|
- </div>
|
|
|
|
|
|
+ </div> */}
|
|
|
|
|
|
{evaluatingData.soundEffectMode && (
|
|
{evaluatingData.soundEffectMode && (
|
|
<DelayCheck
|
|
<DelayCheck
|
|
@@ -400,7 +415,8 @@ export default defineComponent({
|
|
onBack={() => handleDelayBack()}
|
|
onBack={() => handleDelayBack()}
|
|
/>
|
|
/>
|
|
)}
|
|
)}
|
|
-
|
|
|
|
|
|
+ {/* 倒计时 */}
|
|
|
|
+ <Countdown />
|
|
{/* 预加载延迟检测组建 */}
|
|
{/* 预加载延迟检测组建 */}
|
|
{/* {evaluatingData.preloadJson && !evaluatingData.jsonLoadDone && (
|
|
{/* {evaluatingData.preloadJson && !evaluatingData.jsonLoadDone && (
|
|
<div class={styles.preJson}>
|
|
<div class={styles.preJson}>
|