|
@@ -626,17 +626,19 @@ export default defineComponent({
|
|
|
</div>
|
|
|
}
|
|
|
{/* 模式切换 */}
|
|
|
- {
|
|
|
+ {
|
|
|
state.playType === "play" &&
|
|
|
<div
|
|
|
id={state.platform === IPlatform.PC ? "teacherTop-0" : "studnetT-0"}
|
|
|
style={{ display: toggleBtn.value.display ? "" : "none" }}
|
|
|
class={["driver-9", styles.modeChangeBox, toggleBtn.value.disabled && styles.disabled]}
|
|
|
onClick={() => {
|
|
|
- isMusicList.value && (musicListShow.value = true);
|
|
|
+ handleRessetState();
|
|
|
+ headTopData.modeType = "init";
|
|
|
}}
|
|
|
>
|
|
|
- <NoticeBar text={state.examSongName} background="none" />
|
|
|
+ <img class={styles.img} src={iconMode} />
|
|
|
+ <div class={styles.title}>{state.modeType==="practise" ? '练习模式' : state.modeType==="follow" ? "跟练模式" : state.modeType==="evaluating" ? "评测模式" : ""}</div>
|
|
|
</div>
|
|
|
}
|
|
|
{/* 模式提醒 */}
|