|
@@ -14,6 +14,7 @@ import { browser } from "/src/utils";
|
|
|
import { usePageVisibility } from "@vant/use";
|
|
|
import { watch } from "vue";
|
|
|
import icon_loading_img from "./image/icon_loading_img.png";
|
|
|
+import noteImg from "./image/noteImg.png";
|
|
|
import state, { IPlatform } from "/src/state";
|
|
|
import { api_musicalInstrumentList, api_subjectList, getSubjectList } from "../api";
|
|
|
import ChangeSubject from "./change-subject";
|
|
@@ -1142,6 +1143,9 @@ export default defineComponent({
|
|
|
{playAction.userAnswerStatus === 1 && <div class={[styles.tipsT, styles.playSuccess]}></div>}
|
|
|
{playAction.userAnswerStatus === 2 && <div class={[styles.tipsT, styles.playError]}></div>}
|
|
|
{playAction.resetAction && <div class={[styles.tipsT, styles.playTips5]}></div>}
|
|
|
+ <div class={[styles.backBtn,styles.changeMusBtn]} onClick={() => handleBack()}>
|
|
|
+ <span>返回</span>
|
|
|
+ </div>
|
|
|
<div class={styles.changeMusBtn} onClick={onChangeFingeringModel}>
|
|
|
<span>{modeText.value.text}</span>
|
|
|
</div>
|
|
@@ -1168,6 +1172,39 @@ export default defineComponent({
|
|
|
<img draggable={false} src={data.noteType === "all" ? icons.icon_btn_orange : icons.icon_btn_orange2} />
|
|
|
</div>
|
|
|
)}
|
|
|
+ {!!data.tones.length && data.fingeringMode === "scaleMode" && (
|
|
|
+ <>
|
|
|
+ {fingerData.fingeringInfo.name == "hulusi-flute" ? (
|
|
|
+ <div id="finger-note-1" class={[styles.note,styles.btnGrToggleBtn]} onClick={() => (data.tnoteShow = true)}>
|
|
|
+ <img draggable={false} src={noteImg} />
|
|
|
+ <div class={styles.nameBox}>
|
|
|
+ <div class={styles.name}>全按作</div>
|
|
|
+ <div class={[styles.noteKey, styles.noteKeyBtn]}>
|
|
|
+ {data.activeTone.step > 0 ? <span class={styles.dot}></span> : null}
|
|
|
+ <div class={styles.noteName}>
|
|
|
+ <sup>{data.activeTone.mark && (data.activeTone.mark === "rise" ? "#" : "b")}</sup>
|
|
|
+ {data.activeTone.key}
|
|
|
+ </div>
|
|
|
+ {data.activeTone.step < 0 ? <span class={[styles.dot,styles.botDot]}></span> : null}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ ) : (
|
|
|
+ <div id="finger-note-1" class={[styles.note,styles.btnGrToggleBtn]} onClick={() => (data.tnoteShow = true)}>
|
|
|
+ <img draggable={false} src={noteImg} />
|
|
|
+ <div>
|
|
|
+ <div class={styles.name}>
|
|
|
+ <div>
|
|
|
+ <sup>{data.activeTone.mark && (data.activeTone.mark === "rise" ? "#" : "b")}</sup>
|
|
|
+ {data.activeTone.name}
|
|
|
+ </div>
|
|
|
+ 调
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ )}
|
|
|
+ </>
|
|
|
+ )}
|
|
|
{/* [styles.noteContent, browsInfo.ios ? "" : styles.noteContentWrap, data.huaweiPad && styles.huaweiPad] */}
|
|
|
<div class={styles.lastNoteContent}>
|
|
|
<div ref={noteBoxRef} class={styles.noteBox}>
|
|
@@ -1320,41 +1357,6 @@ export default defineComponent({
|
|
|
<img src={icons.icon_2_1} />
|
|
|
<span>说明</span>
|
|
|
</div>
|
|
|
- {!!data.tones.length && data.fingeringMode === "scaleMode" && (
|
|
|
- <>
|
|
|
- {fingerData.fingeringInfo.name == "hulusi-flute" ? (
|
|
|
- <div id="finger-note-1" class={[styles.btnGr, styles.btnGrToggleBtn]} onClick={() => (data.tnoteShow = true)}>
|
|
|
- <div class={styles.nameBox}>
|
|
|
- 全按作
|
|
|
- <div class={[styles.noteKey, styles.noteKeyBtn]}>
|
|
|
- {data.activeTone.step > 0 ? <span class={styles.dot}></span> : null}
|
|
|
- <span class={styles.dot}></span>
|
|
|
-
|
|
|
- <div class={styles.noteName}>
|
|
|
- <sup>{data.activeTone.mark && (data.activeTone.mark === "rise" ? "#" : "b")}</sup>
|
|
|
- {data.activeTone.key}
|
|
|
- </div>
|
|
|
- {data.activeTone.step < 0 ? <span class={styles.dot}></span> : null}
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <img class={styles.arrowImg} src={icons.icon_arrow} />
|
|
|
- </div>
|
|
|
- ) : (
|
|
|
- <div id="finger-note-1" class={[styles.btnGr, styles.btnGrToggleBtn]} onClick={() => (data.tnoteShow = true)}>
|
|
|
- <div>
|
|
|
- <div class={styles.name}>
|
|
|
- <div>
|
|
|
- <sup>{data.activeTone.mark && (data.activeTone.mark === "rise" ? "#" : "b")}</sup>
|
|
|
- {data.activeTone.name}
|
|
|
- </div>
|
|
|
- 调
|
|
|
- </div>
|
|
|
- <img class={styles.arrowImg} src={icons.icon_arrow} />
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- )}
|
|
|
- </>
|
|
|
- )}
|
|
|
{
|
|
|
instrumentTranstion.value &&
|
|
|
<div class={[styles.btnGr]} onClick={() => resetElement()}>
|