Browse Source

feat: isShowFingering为false时,切换指法置灰

TIANYONG 1 year ago
parent
commit
bf9eeff162
41 changed files with 10 additions and 6 deletions
  1. 0 0
      dist/css/index-5cdcded6.css
  2. 0 0
      dist/css/instrument-b9bd5d29.css
  3. 0 0
      dist/css/instrument-c4bf8181.css
  4. 0 0
      dist/js/colexiu-dc4043c5.js
  5. 0 0
      dist/js/colexiu-legacy-a8098373.js
  6. 0 0
      dist/js/gym-0a76b8cd.js
  7. 0 0
      dist/js/gym-legacy-6b8593e0.js
  8. 0 0
      dist/js/index-25be428d.js
  9. 0 0
      dist/js/index-476606d1.js
  10. 0 0
      dist/js/index-522f8f32.js
  11. 0 0
      dist/js/index-56d8db9c.js
  12. 0 0
      dist/js/index-c20c1398.js
  13. 1 1
      dist/js/index-cfd68c17.js
  14. 0 0
      dist/js/index-d38f63f0.js
  15. 0 0
      dist/js/index-e93a8de8.js
  16. 0 0
      dist/js/index-eab0c933.js
  17. 1 1
      dist/js/index-f6b8de1a.js
  18. 1 1
      dist/js/index-legacy-08e453c9.js
  19. 0 0
      dist/js/index-legacy-0f6c366b.js
  20. 1 1
      dist/js/index-legacy-222f5c04.js
  21. 0 0
      dist/js/index-legacy-54e0821a.js
  22. 0 0
      dist/js/index-legacy-5a108050.js
  23. 0 0
      dist/js/index-legacy-6323c636.js
  24. 0 0
      dist/js/index-legacy-9c880850.js
  25. 0 0
      dist/js/index-legacy-afd9cd7a.js
  26. 0 0
      dist/js/index-legacy-c62f0a5a.js
  27. 0 0
      dist/js/index-legacy-ec9551d1.js
  28. 0 0
      dist/js/instrument-dd405863.js
  29. 0 0
      dist/js/instrument-legacy-7f79ecc4.js
  30. 0 0
      dist/js/instrument-legacy-c8f67c7f.js
  31. 0 0
      dist/js/instruments-f0396f7a.js
  32. 0 0
      dist/js/instruments-legacy-55b3f51a.js
  33. 0 0
      dist/js/orchestra-4d2c1154.js
  34. 0 0
      dist/js/orchestra-legacy-df7e4648.js
  35. 0 0
      dist/js/polyfills-6431198d.js
  36. 0 0
      dist/js/polyfills-legacy-0ec59838.js
  37. 0 0
      dist/js/report-share-29d79538.js
  38. 0 0
      dist/js/report-share-legacy-2f5f7d53.js
  39. 1 1
      osmd-extended
  40. 1 1
      src/page-instrument/header-top/settting/index.tsx
  41. 4 0
      src/page-instrument/view-detail/index.tsx

File diff suppressed because it is too large
+ 0 - 0
dist/css/index-5cdcded6.css


File diff suppressed because it is too large
+ 0 - 0
dist/css/instrument-b9bd5d29.css


File diff suppressed because it is too large
+ 0 - 0
dist/css/instrument-c4bf8181.css


File diff suppressed because it is too large
+ 0 - 0
dist/js/colexiu-dc4043c5.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/colexiu-legacy-a8098373.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/gym-0a76b8cd.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/gym-legacy-6b8593e0.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/index-25be428d.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/index-476606d1.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/index-522f8f32.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/index-56d8db9c.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/index-c20c1398.js


+ 1 - 1
dist/js/index-95c7f910.js → dist/js/index-cfd68c17.js

@@ -1 +1 @@
-import{d,l as i,n as p,m as e,w as o,f as r,L as a}from"./index-039d4555.js";const c=d({name:"measureSpeed",setup(){const s=i(!1),t=p({speed:e.speed,originSpeed:e.originSpeed});return o(()=>e.section.length,()=>{if(e.modeType==="practise"){if(!s.value&&e.section.length===2){s.value=!0,t.speed=e.speed;const n=e.section[0].beatSpeed;e.originSpeed=n,a(n)}s.value&&e.section.length===0&&(s.value=!1,e.originSpeed=t.originSpeed,a(t.speed))}}),()=>r("div",null,null)}});export{c as M};
+import{d,l as i,n as p,m as e,w as o,f as r,L as a}from"./index-56d8db9c.js";const c=d({name:"measureSpeed",setup(){const s=i(!1),t=p({speed:e.speed,originSpeed:e.originSpeed});return o(()=>e.section.length,()=>{if(e.modeType==="practise"){if(!s.value&&e.section.length===2){s.value=!0,t.speed=e.speed;const n=e.section[0].beatSpeed;e.originSpeed=n,a(n)}s.value&&e.section.length===0&&(s.value=!1,e.originSpeed=t.originSpeed,a(t.speed))}}),()=>r("div",null,null)}});export{c as M};

File diff suppressed because it is too large
+ 0 - 0
dist/js/index-d38f63f0.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/index-e93a8de8.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/index-eab0c933.js


+ 1 - 1
dist/js/index-93578b1f.js → dist/js/index-f6b8de1a.js

@@ -1 +1 @@
-import{d as i,g as l,n as d,cR as e,c,m as r,f as s,ai as u}from"./index-039d4555.js";const f="_skeleton_vtlsh_1",m="_detail_vtlsh_12",p="_container_vtlsh_20",a={skeleton:f,detail:m,container:p},y=i({name:"music-list",setup(){const n=l(),t=d({isLoading:!0,isProductLoading:!1,product:[{state:!1,name:"五线谱",type:e.staff,base64:""},{state:!1,name:"首调",type:e.firstTone,base64:""},{state:!1,name:"固定调",type:e.fixedTone,base64:""}]});c(()=>{window.appName="colexiu",r.xmlUrl=n.xmlUrl,t.isLoading=!1});const o=async()=>{console.log("渲染完成")};return()=>s("div",{class:a.detail},[s("div",{id:"scrollContainer",class:[a.container,"hideCursor"]},[!t.isLoading&&s(u,{onRendered:o},null)])])}});export{y as default};
+import{d as i,g as l,n as d,cR as e,c,m as r,f as s,ai as u}from"./index-56d8db9c.js";const f="_skeleton_vtlsh_1",m="_detail_vtlsh_12",p="_container_vtlsh_20",a={skeleton:f,detail:m,container:p},y=i({name:"music-list",setup(){const n=l(),t=d({isLoading:!0,isProductLoading:!1,product:[{state:!1,name:"五线谱",type:e.staff,base64:""},{state:!1,name:"首调",type:e.firstTone,base64:""},{state:!1,name:"固定调",type:e.fixedTone,base64:""}]});c(()=>{window.appName="colexiu",r.xmlUrl=n.xmlUrl,t.isLoading=!1});const o=async()=>{console.log("渲染完成")};return()=>s("div",{class:a.detail},[s("div",{id:"scrollContainer",class:[a.container,"hideCursor"]},[!t.isLoading&&s(u,{onRendered:o},null)])])}});export{y as default};

+ 1 - 1
dist/js/index-legacy-ceef15d9.js → dist/js/index-legacy-08e453c9.js

@@ -1 +1 @@
-System.register(["./index-legacy-71db9258.js"],(function(e,n){"use strict";var i,t,s,d,r,p,o;return{setters:[e=>{i=e.d,t=e.l,s=e.n,d=e.m,r=e.w,p=e.f,o=e.L}],execute:function(){e("M",i({name:"measureSpeed",setup(){const e=t(!1),n=s({speed:d.speed,originSpeed:d.originSpeed});return r((()=>d.section.length),(()=>{if("practise"===d.modeType){if(!e.value&&2===d.section.length){e.value=!0,n.speed=d.speed;const i=d.section[0].beatSpeed;d.originSpeed=i,o(i)}e.value&&0===d.section.length&&(e.value=!1,d.originSpeed=n.originSpeed,o(n.speed))}})),()=>p("div",null,null)}}))}}}));
+System.register(["./index-legacy-54e0821a.js"],(function(e,n){"use strict";var i,t,s,d,r,p,o;return{setters:[e=>{i=e.d,t=e.l,s=e.n,d=e.m,r=e.w,p=e.f,o=e.L}],execute:function(){e("M",i({name:"measureSpeed",setup(){const e=t(!1),n=s({speed:d.speed,originSpeed:d.originSpeed});return r((()=>d.section.length),(()=>{if("practise"===d.modeType){if(!e.value&&2===d.section.length){e.value=!0,n.speed=d.speed;const i=d.section[0].beatSpeed;d.originSpeed=i,o(i)}e.value&&0===d.section.length&&(e.value=!1,d.originSpeed=n.originSpeed,o(n.speed))}})),()=>p("div",null,null)}}))}}}));

File diff suppressed because it is too large
+ 0 - 0
dist/js/index-legacy-0f6c366b.js


+ 1 - 1
dist/js/index-legacy-fe55187e.js → dist/js/index-legacy-222f5c04.js

@@ -1 +1 @@
-System.register(["./index-legacy-71db9258.js"],(function(e,t){"use strict";var i,n,a,o,r,s,d,l,c=document.createElement("style");return c.textContent="._skeleton_vtlsh_1{position:fixed;left:0;top:0;width:100vw;height:100vh;padding:.53333rem .8rem;background-color:#fff;z-index:1000;--van-skeleton-paragraph-height: .8rem}._detail_vtlsh_12{width:100vw;height:100vh;overflow:hidden;overflow-y:auto;--header-height: 1.65333rem;background:var(--container-background)}._detail_vtlsh_12 ._container_vtlsh_20{margin:0 .26667rem;border-radius:.26667rem}._detail_vtlsh_12 #musicAndSelection{overflow:initial!important;height:initial!important;max-height:initial!important}\n",document.head.appendChild(c),{setters:[e=>{i=e.d,n=e.g,a=e.n,o=e.cR,r=e.c,s=e.m,d=e.f,l=e.ai}],execute:function(){const t="_detail_vtlsh_12",c="_container_vtlsh_20";e("default",i({name:"music-list",setup(){const e=n(),i=a({isLoading:!0,isProductLoading:!1,product:[{state:!1,name:"五线谱",type:o.staff,base64:""},{state:!1,name:"首调",type:o.firstTone,base64:""},{state:!1,name:"固定调",type:o.fixedTone,base64:""}]});r((()=>{window.appName="colexiu",s.xmlUrl=e.xmlUrl,i.isLoading=!1}));const h=async()=>{console.log("渲染完成")};return()=>d("div",{class:t},[d("div",{id:"scrollContainer",class:[c,"hideCursor"]},[!i.isLoading&&d(l,{onRendered:h},null)])])}}))}}}));
+System.register(["./index-legacy-54e0821a.js"],(function(e,t){"use strict";var i,n,a,o,r,s,d,l,c=document.createElement("style");return c.textContent="._skeleton_vtlsh_1{position:fixed;left:0;top:0;width:100vw;height:100vh;padding:.53333rem .8rem;background-color:#fff;z-index:1000;--van-skeleton-paragraph-height: .8rem}._detail_vtlsh_12{width:100vw;height:100vh;overflow:hidden;overflow-y:auto;--header-height: 1.65333rem;background:var(--container-background)}._detail_vtlsh_12 ._container_vtlsh_20{margin:0 .26667rem;border-radius:.26667rem}._detail_vtlsh_12 #musicAndSelection{overflow:initial!important;height:initial!important;max-height:initial!important}\n",document.head.appendChild(c),{setters:[e=>{i=e.d,n=e.g,a=e.n,o=e.cR,r=e.c,s=e.m,d=e.f,l=e.ai}],execute:function(){const t="_detail_vtlsh_12",c="_container_vtlsh_20";e("default",i({name:"music-list",setup(){const e=n(),i=a({isLoading:!0,isProductLoading:!1,product:[{state:!1,name:"五线谱",type:o.staff,base64:""},{state:!1,name:"首调",type:o.firstTone,base64:""},{state:!1,name:"固定调",type:o.fixedTone,base64:""}]});r((()=>{window.appName="colexiu",s.xmlUrl=e.xmlUrl,i.isLoading=!1}));const h=async()=>{console.log("渲染完成")};return()=>d("div",{class:t},[d("div",{id:"scrollContainer",class:[c,"hideCursor"]},[!i.isLoading&&d(l,{onRendered:h},null)])])}}))}}}));

File diff suppressed because it is too large
+ 0 - 0
dist/js/index-legacy-54e0821a.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/index-legacy-5a108050.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/index-legacy-6323c636.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/index-legacy-9c880850.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/index-legacy-afd9cd7a.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/index-legacy-c62f0a5a.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/index-legacy-ec9551d1.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/instrument-dd405863.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/instrument-legacy-7f79ecc4.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/instrument-legacy-c8f67c7f.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/instruments-f0396f7a.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/instruments-legacy-55b3f51a.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/orchestra-4d2c1154.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/orchestra-legacy-df7e4648.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/polyfills-6431198d.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/polyfills-legacy-0ec59838.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/report-share-29d79538.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/report-share-legacy-2f5f7d53.js


+ 1 - 1
osmd-extended

@@ -1 +1 @@
-Subproject commit 83b5517686f1364c5ac18dc64597d46c355c714c
+Subproject commit 57776be643e8938c30d5df254aba8a472de27a83

+ 1 - 1
src/page-instrument/header-top/settting/index.tsx

@@ -157,7 +157,7 @@ export default defineComponent({
 							</Cell>
 							<Cell class={[state.modeType == "evaluating" && styles.disabled]} title="显示指法" center>
 								{{
-									extra: () => <Switch v-model={state.setting.displayFingering} disabled={!state.fingeringInfo.name}></Switch>,
+									extra: () => <Switch v-model={state.setting.displayFingering} disabled={!state.fingeringInfo.name || !state.isShowFingering}></Switch>,
 								}}
 							</Cell>
 						</Tab>

+ 4 - 0
src/page-instrument/view-detail/index.tsx

@@ -140,6 +140,10 @@ export default defineComponent({
       // });
       await getMusicDetail(id);
       detailData.isLoading = false;
+      // 如果后台设置了不显示指法,关闭指法开关
+      if (!state.isShowFingering) {
+        state.setting.displayFingering = false
+      }      
       // api_setEventTracking();
     });
 

Some files were not shown because too many files changed in this diff