|
@@ -7,6 +7,7 @@ import { headImg } from "/src/page-instrument/header-top/image";
|
|
|
import { toggleMusicSheet } from "../index"
|
|
|
import okBtn from "./imgs/okBtn.png"
|
|
|
import cancelBtn from "./imgs/cancelBtn.png"
|
|
|
+import resetBtn from "./imgs/resetBtn.png"
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: 'choosePartName',
|
|
@@ -76,11 +77,11 @@ export default defineComponent({
|
|
|
{
|
|
|
state.isScoreRender &&
|
|
|
<>
|
|
|
- <div class={styles.titCon}>
|
|
|
+ {/* <div class={styles.titCon}>
|
|
|
<div class={styles.tit}>选择总谱</div>
|
|
|
- </div>
|
|
|
+ </div> */}
|
|
|
<div class={styles.content}>
|
|
|
- <div class={[styles.selBtn, selValues.value.includes(999) && styles.active]} onClick={()=>{ hanldeSelSheet(999, true) }}>总谱</div>
|
|
|
+ <div class={[styles.selBtn, styles.specialBtn, selValues.value.includes(999) && styles.active]} onClick={()=>{ hanldeSelSheet(999, true) }}>总谱</div>
|
|
|
</div>
|
|
|
</>
|
|
|
}
|
|
@@ -100,11 +101,18 @@ export default defineComponent({
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class={styles.btnCon}>
|
|
|
- <img src={ cancelBtn } class={styles.btn} onClick={async () => {
|
|
|
- emit('close')
|
|
|
+ <img src={ resetBtn } class={styles.btn} onClick={async () => {
|
|
|
+ selValues.value = []
|
|
|
}
|
|
|
}></img>
|
|
|
<img src={ okBtn } class={styles.btn} onClick={async () => {
|
|
|
+ if (!selValues.value.length) {
|
|
|
+ showToast({
|
|
|
+ position: "top",
|
|
|
+ message: "最少需要选择一个声部"
|
|
|
+ });
|
|
|
+ return
|
|
|
+ }
|
|
|
await checkMoveNoSave();
|
|
|
nextTick(()=>{
|
|
|
emit('close', selValues.value)
|