|
@@ -304,7 +304,9 @@ export default defineComponent({
|
|
if (res?.data.data) {
|
|
if (res?.data.data) {
|
|
state.playBtnDirection = res.data.data === 'right' ? 'right' : 'left';
|
|
state.playBtnDirection = res.data.data === 'right' ? 'right' : 'left';
|
|
if (state.fingeringInfo.direction === "vertical" && state.setting.displayFingering) {
|
|
if (state.fingeringInfo.direction === "vertical" && state.setting.displayFingering) {
|
|
- state.playBtnDirection = 'left';
|
|
|
|
|
|
+ state.musicScoreBtnDirection = state.playBtnDirection === 'right' ? 'left' : 'right';
|
|
|
|
+ } else {
|
|
|
|
+ state.musicScoreBtnDirection = state.playBtnDirection;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -423,7 +425,7 @@ export default defineComponent({
|
|
{/* 一行谱模式,暂不支持节拍指针 */}
|
|
{/* 一行谱模式,暂不支持节拍指针 */}
|
|
{
|
|
{
|
|
!state.isSingleLine ?
|
|
!state.isSingleLine ?
|
|
- <div class={[styles.btn]} onClick={() => {
|
|
|
|
|
|
+ <div class={[styles.btn, state.platform === IPlatform.PC ? styles.pcBtn : ""]} onClick={() => {
|
|
// 切换光标模式
|
|
// 切换光标模式
|
|
let mode = metronomeData.cursorMode
|
|
let mode = metronomeData.cursorMode
|
|
if (['follow'].includes(state.modeType)) {
|
|
if (['follow'].includes(state.modeType)) {
|
|
@@ -552,7 +554,7 @@ export default defineComponent({
|
|
<div
|
|
<div
|
|
id="studnetT-7"
|
|
id="studnetT-7"
|
|
style={{ display: playBtn.value.display ? "" : "none" }}
|
|
style={{ display: playBtn.value.display ? "" : "none" }}
|
|
- class={[styles.btn, styles.playBtn, playBtn.value.disabled && styles.disabled, state.platform === IPlatform.PC && state.playBtnDirection === 'left' ? styles.playLeftButton : state.platform === IPlatform.PC && state.playBtnDirection === 'right' ? styles.playRightButton : '', state.platform === IPlatform.PC && !state.attendHideMenu && styles.playButtonHide]}
|
|
|
|
|
|
+ class={[styles.btn, styles.playBtn, playBtn.value.disabled && styles.disabled, state.platform === IPlatform.PC && state.musicScoreBtnDirection === 'left' ? styles.playLeftButton : state.platform === IPlatform.PC && state.musicScoreBtnDirection === 'right' ? styles.playRightButton : '', state.platform === IPlatform.PC && !state.attendHideMenu && styles.playButtonHide]}
|
|
onClick={() => togglePlay()}
|
|
onClick={() => togglePlay()}
|
|
>
|
|
>
|
|
<div class={styles.btnWrap}>
|
|
<div class={styles.btnWrap}>
|
|
@@ -566,7 +568,8 @@ export default defineComponent({
|
|
<div
|
|
<div
|
|
id="tips-step-9"
|
|
id="tips-step-9"
|
|
style={{ display: resetBtn.value.display ? "" : "none" }}
|
|
style={{ display: resetBtn.value.display ? "" : "none" }}
|
|
- class={[styles.btn, styles.resetBtn, resetBtn.value.disabled && styles.disabled, state.platform === IPlatform.PC && state.playBtnDirection === 'left' ? styles.pauseLeftButton : state.platform === IPlatform.PC && state.playBtnDirection === 'right' ? styles.pauseRightButton : '', state.platform === IPlatform.PC && !state.attendHideMenu && styles.playButtonHide]}
|
|
|
|
|
|
+ class={[styles.btn, styles.resetBtn, resetBtn.value.disabled && styles.disabled,
|
|
|
|
+ state.platform === IPlatform.PC && state.musicScoreBtnDirection === 'left' ? styles.pauseLeftButton : state.platform === IPlatform.PC && state.musicScoreBtnDirection === 'right' ? styles.pauseRightButton : '', state.platform === IPlatform.PC && !state.attendHideMenu && styles.playButtonHide]}
|
|
onClick={() => handleResetPlay()}
|
|
onClick={() => handleResetPlay()}
|
|
>
|
|
>
|
|
<img class={styles.iconBtn} src={headImg(state.platform === IPlatform.PC ? "pc_icon_resetbtn.png" : "icon_resetbtn.svg")} />
|
|
<img class={styles.iconBtn} src={headImg(state.platform === IPlatform.PC ? "pc_icon_resetbtn.png" : "icon_resetbtn.svg")} />
|