|
@@ -187,8 +187,8 @@ function modeChangeHandleTimes(oldPlayType: "play" | "sing", oldPlaySource: IPla
|
|
const playSource = nowPlaySource || state.playSource;
|
|
const playSource = nowPlaySource || state.playSource;
|
|
const { notBeatFixtime, xmlMp3BeatFixTime, difftime } = state.times[0];
|
|
const { notBeatFixtime, xmlMp3BeatFixTime, difftime } = state.times[0];
|
|
const { isOpenMetronome, isSingOpenMetronome } = state;
|
|
const { isOpenMetronome, isSingOpenMetronome } = state;
|
|
- // 跟练模式不切换时值 因为演奏加了唱名,所以往跟练模式切换的时候,刷新谱面的时候需要更新时值,这时候调用handleRessetState 会回到练习模式
|
|
|
|
- if(state.modeType === "follow") {
|
|
|
|
|
|
+ // 因为演奏加了唱名,所以往跟练模式切换和评测模式切换的时候,刷新谱面的时候需要更新时值,这时候调用handleRessetState 会回到练习模式,这里是
|
|
|
|
+ if(state.modeType === "follow" || state.modeType === "evaluating") {
|
|
return false
|
|
return false
|
|
}
|
|
}
|
|
// 当相同时候也不处理
|
|
// 当相同时候也不处理
|
|
@@ -966,7 +966,7 @@ export default defineComponent({
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{
|
|
{
|
|
- <Popup v-model:show={headData.speedShow} class="popup-custom van-scale center-closeBtn speedBoxClass_drag" transition="van-scale" teleport="body" style={speedInfo.styleDrag.value} overlay-style={{ background: "rgba(0, 0, 0, 0.3)" }}>
|
|
|
|
|
|
+ <Popup v-model:show={headData.speedShow} class="popup-custom van-scale center-closeBtn speedBoxClass_drag" transition="van-scale" teleport="body" style={speedInfo.styleDrag.value} overlay-style={{ background: "rgba(0, 0, 0, 0.7)" }}>
|
|
<Speed />
|
|
<Speed />
|
|
{state.platform === IPlatform.PC && <Dragbom showGuide={!state.guideInfo?.teacherDrag} onGuideDone={handleGuide} />}
|
|
{state.platform === IPlatform.PC && <Dragbom showGuide={!state.guideInfo?.teacherDrag} onGuideDone={handleGuide} />}
|
|
</Popup>
|
|
</Popup>
|
|
@@ -1072,7 +1072,7 @@ export default defineComponent({
|
|
<img class={styles.iconBtn} src={headImg("icon_reset.png")} />
|
|
<img class={styles.iconBtn} src={headImg("icon_reset.png")} />
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <Popup v-model:show={headTopData.settingMode} class="popup-custom van-scale center-closeBtn settingBoxClass_drag" transition="van-scale" teleport="body" style={positionInfo.styleDrag.value} overlay-style={{ background: "rgba(0, 0, 0, 0.3)" }}>
|
|
|
|
|
|
+ <Popup v-model:show={headTopData.settingMode} class="popup-custom van-scale center-closeBtn settingBoxClass_drag" transition="van-scale" teleport="body" style={positionInfo.styleDrag.value} overlay-style={{ background: "rgba(0, 0, 0, 0.7)" }}>
|
|
<Settting />
|
|
<Settting />
|
|
{state.platform === IPlatform.PC && <Dragbom showGuide={!state.guideInfo?.teacherDrag} onGuideDone={handleGuide} />}
|
|
{state.platform === IPlatform.PC && <Dragbom showGuide={!state.guideInfo?.teacherDrag} onGuideDone={handleGuide} />}
|
|
</Popup>
|
|
</Popup>
|
|
@@ -1118,7 +1118,7 @@ export default defineComponent({
|
|
)}
|
|
)}
|
|
|
|
|
|
{/** 评测作业,没有完成时,提示弹窗 */}
|
|
{/** 评测作业,没有完成时,提示弹窗 */}
|
|
- <Popup v-model:show={headTopData.workHomeNoDone} class="popup-custom van-scale center-closeBtn" transition="van-scale" teleport="body" style={positionInfo.styleDrag.value} overlay-style={{ background: "rgba(0, 0, 0, 0.3)" }}>
|
|
|
|
|
|
+ <Popup v-model:show={headTopData.workHomeNoDone} class="popup-custom van-scale center-closeBtn" transition="van-scale" teleport="body" style={positionInfo.styleDrag.value} overlay-style={{ background: "rgba(0, 0, 0, 0.7)" }}>
|
|
<WorkHomePop onClose={handleResult} />
|
|
<WorkHomePop onClose={handleResult} />
|
|
</Popup>
|
|
</Popup>
|
|
</>
|
|
</>
|