|
@@ -71,7 +71,7 @@ export default defineComponent({
|
|
|
setNotes();
|
|
|
setTimeout(() => {
|
|
|
data.loading = false;
|
|
|
- }, 600)
|
|
|
+ }, 600);
|
|
|
}
|
|
|
};
|
|
|
const setNotes = () => {
|
|
@@ -273,15 +273,20 @@ export default defineComponent({
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class={styles.notes}>
|
|
|
- {/* <Button>
|
|
|
- <Icon name="arrow-left" />
|
|
|
- </Button> */}
|
|
|
+ <Button class={styles.noteBtn}>
|
|
|
+ <Icon name="arrow-left" />
|
|
|
+ </Button>
|
|
|
<div class={styles.noteContent}>
|
|
|
<div class={styles.noteBox}>
|
|
|
{data.notes.map((note: IFIGNER_INSTRUMENT_Note, index: number) => {
|
|
|
const steps = new Array(Math.abs(note.step)).fill(1);
|
|
|
return (
|
|
|
- <div id={index == 0 ? 'finger-note-0' : ''} draggable={false} class={styles.note} onClick={() => noteClick(note)}>
|
|
|
+ <div
|
|
|
+ id={index == 0 ? "finger-note-0" : ""}
|
|
|
+ draggable={false}
|
|
|
+ class={styles.note}
|
|
|
+ onClick={() => noteClick(note)}
|
|
|
+ >
|
|
|
{data.realKey === note.realKey ? (
|
|
|
<img draggable={false} src={icons.icon_btn_ylow} />
|
|
|
) : (
|
|
@@ -304,9 +309,9 @@ export default defineComponent({
|
|
|
})}
|
|
|
</div>
|
|
|
</div>
|
|
|
- {/* <Button size="small" >
|
|
|
- <Icon name="arrow" />
|
|
|
- </Button> */}
|
|
|
+ <Button class={styles.noteBtn}>
|
|
|
+ <Icon name="arrow" />
|
|
|
+ </Button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class={[styles.tips, data.tipShow ? "" : styles.tipHidden]}>
|
|
@@ -330,14 +335,16 @@ export default defineComponent({
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- {data.tones.length && <div id="finger-note-1" class={styles.toggleBtn} onClick={() => (data.tnoteShow = true)}>
|
|
|
- <div>
|
|
|
- <sup>{data.activeTone.mark && (data.activeTone.mark === "rise" ? "#" : "b")}</sup>
|
|
|
- {data.activeTone.name}
|
|
|
+ {!!data.tones.length && (
|
|
|
+ <div id="finger-note-1" class={styles.toggleBtn} onClick={() => (data.tnoteShow = true)}>
|
|
|
+ <div>
|
|
|
+ <sup>{data.activeTone.mark && (data.activeTone.mark === "rise" ? "#" : "b")}</sup>
|
|
|
+ {data.activeTone.name}
|
|
|
+ </div>
|
|
|
+ 调
|
|
|
+ <img src={icons.icon_arrow} />
|
|
|
</div>
|
|
|
- 调
|
|
|
- <img src={icons.icon_arrow} />
|
|
|
- </div>}
|
|
|
+ )}
|
|
|
|
|
|
<Popup
|
|
|
class="tonePopup"
|
|
@@ -388,7 +395,7 @@ export default defineComponent({
|
|
|
</div>
|
|
|
</Popup>
|
|
|
|
|
|
- {!data.loading && <GuideIndex list={['finger']} />}
|
|
|
+ {!data.loading && <GuideIndex list={["finger"]} />}
|
|
|
</div>
|
|
|
);
|
|
|
};
|