|
@@ -107,7 +107,9 @@ export default defineComponent({
|
|
|
src={backImg}
|
|
|
class={styles.back}
|
|
|
onClick={() => {
|
|
|
- smoothAnimationState.isShow.value = state.melodyLine;
|
|
|
+ if(state.isSingleLine){
|
|
|
+ smoothAnimationState.isShow.value = state.melodyLine;
|
|
|
+ }
|
|
|
// 返回的时候 跳转到之前记录的模式
|
|
|
if(headTopData.oldModeType !== "practise"){
|
|
|
// 点击评测模式进入评测模块的需要检测耳机状态,通过返回按钮进入评测模块的,不检测耳机状态
|
|
@@ -120,7 +122,9 @@ export default defineComponent({
|
|
|
<img src={nameImg} class={styles.name} />
|
|
|
<div class={[styles.modeBox, ((!state.isPercussion && !state.enableEvaluation) || (state.isPercussion && state.enableEvaluation) || (state.isPercussion && !state.enableEvaluation)) && styles.twoModeBox]}>
|
|
|
<Vue3Lottie ref={modeImgDom1} class={styles.modeImg} animationData={lxMode} autoPlay={false} loop={true} onClick={() => {
|
|
|
- smoothAnimationState.isShow.value = state.melodyLine;
|
|
|
+ if(state.isSingleLine){
|
|
|
+ smoothAnimationState.isShow.value = state.melodyLine;
|
|
|
+ }
|
|
|
headTopData.handleChangeModeType("practise")
|
|
|
} }></Vue3Lottie>
|
|
|
{!state.isPercussion && <Vue3Lottie ref={modeImgDom2} class={styles.modeImg} animationData={glMode} autoPlay={false} loop={true} onClick={() => headTopData.handleChangeModeType("follow")}></Vue3Lottie>}
|