Browse Source

fix: 老师端bug修复

TIANYONG 1 year ago
parent
commit
4269f43f9f
61 changed files with 55 additions and 12 deletions
  1. 0 0
      dist/css/index-5cdcded6.css
  2. 0 0
      dist/css/instrument-7790a321.css
  3. 0 0
      dist/css/instrument-cbe7ab22.css
  4. 0 0
      dist/js/colexiu-ad111a3d.js
  5. 0 0
      dist/js/colexiu-legacy-aed3cdca.js
  6. 0 0
      dist/js/gym-e6622d31.js
  7. 0 0
      dist/js/gym-legacy-4b115063.js
  8. 1 1
      dist/js/index-01b22516.js
  9. 0 0
      dist/js/index-0928f024.js
  10. 0 0
      dist/js/index-1d895c0e.js
  11. 1 1
      dist/js/index-6b310b86.js
  12. 0 0
      dist/js/index-8b8dd6fa.js
  13. 0 0
      dist/js/index-95ad7168.js
  14. 0 0
      dist/js/index-d790b199.js
  15. 0 0
      dist/js/index-da6477b2.js
  16. 0 0
      dist/js/index-dc85f8ce.js
  17. 0 0
      dist/js/index-dce51d2c.js
  18. 0 0
      dist/js/index-dd42e767.js
  19. 0 0
      dist/js/index-legacy-0db72e74.js
  20. 0 0
      dist/js/index-legacy-0fa3da96.js
  21. 0 0
      dist/js/index-legacy-10df8945.js
  22. 0 0
      dist/js/index-legacy-1270c0a6.js
  23. 0 0
      dist/js/index-legacy-3c8f81da.js
  24. 1 1
      dist/js/index-legacy-697ba70f.js
  25. 0 0
      dist/js/index-legacy-98499f0f.js
  26. 0 0
      dist/js/index-legacy-b217bf8f.js
  27. 1 1
      dist/js/index-legacy-b5e7d508.js
  28. 0 0
      dist/js/index-legacy-e138dd4b.js
  29. 0 0
      dist/js/index-legacy-f2369f64.js
  30. 0 0
      dist/js/instrument-a5babacb.js
  31. 0 0
      dist/js/instrument-a658377e.js
  32. 0 0
      dist/js/instrument-legacy-a46a4ea9.js
  33. 0 0
      dist/js/instrument-legacy-fdc04fab.js
  34. 0 0
      dist/js/instruments-0e39d62d.js
  35. 0 0
      dist/js/instruments-legacy-84480b3a.js
  36. 0 0
      dist/js/orchestra-f328784e.js
  37. 0 0
      dist/js/orchestra-legacy-7f81655d.js
  38. 0 0
      dist/js/polyfills-9b38b345.js
  39. 0 0
      dist/js/report-share-a514f606.js
  40. 0 0
      dist/js/report-share-legacy-21abd250.js
  41. BIN
      dist/png/btnBg-7856bbed.png
  42. BIN
      dist/png/modalDragBg-5fb8df63.png
  43. BIN
      dist/png/modalDragBg2-034c2ba0.png
  44. BIN
      dist/png/modalDragDone-b3385018.png
  45. BIN
      dist/png/pc_end_icon-c048a862.png
  46. BIN
      dist/png/pc_icon_pausebtn-6844b114.png
  47. BIN
      dist/png/pc_icon_playbtn-727f07a3.png
  48. BIN
      dist/png/pc_icon_resetbtn-e6358a0f.png
  49. BIN
      dist/png/pc_teacherBottom1-7d7c0406.png
  50. BIN
      dist/png/pc_teacherBottom2-1041fb46.png
  51. BIN
      dist/png/pc_teacherBottom3-9e8e8dfa.png
  52. BIN
      dist/png/pc_teacherBottom4-06ba0f51.png
  53. BIN
      dist/png/pc_teacherBottom5-d02e3c8f.png
  54. BIN
      dist/png/pc_teacherBottom6-bc1100b9.png
  55. BIN
      dist/png/subject-bg2-4a15e8fe.png
  56. BIN
      dist/png/subject-bg3-c743804b.png
  57. 43 4
      src/page-instrument/custom-plugins/guide-page/teacher-bootom.tsx
  58. 4 0
      src/page-instrument/header-top/index.module.less
  59. 1 1
      src/page-instrument/header-top/index.tsx
  60. 1 1
      src/page-instrument/header-top/music-type/index.tsx
  61. 2 2
      src/view/plugins/useDrag/dragbom.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-7790a321.css


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


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


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


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


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


+ 1 - 1
dist/js/index-eff9098b.js → dist/js/index-01b22516.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-c757d37e.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-dce51d2c.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-0928f024.js


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


+ 1 - 1
dist/js/index-c3fb5928.js → dist/js/index-6b310b86.js

@@ -1 +1 @@
-import{d as i,g as l,n as d,cV as e,c,m as r,f as s,ai as u}from"./index-c757d37e.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-dce51d2c.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};

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


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


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


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


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


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


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


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


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


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


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


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


+ 1 - 1
dist/js/index-legacy-fac6eed0.js → dist/js/index-legacy-697ba70f.js

@@ -1 +1 @@
-System.register(["./index-legacy-ea1d40a9.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-0fa3da96.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-98499f0f.js


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


+ 1 - 1
dist/js/index-legacy-3a40eae3.js → dist/js/index-legacy-b5e7d508.js

@@ -1 +1 @@
-System.register(["./index-legacy-ea1d40a9.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.cV,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-0fa3da96.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-e138dd4b.js


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


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


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


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


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


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


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


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


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


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


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


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


BIN
dist/png/btnBg-7856bbed.png


BIN
dist/png/modalDragBg-5fb8df63.png


BIN
dist/png/modalDragBg2-034c2ba0.png


BIN
dist/png/modalDragDone-b3385018.png


BIN
dist/png/pc_end_icon-c048a862.png


BIN
dist/png/pc_icon_pausebtn-6844b114.png


BIN
dist/png/pc_icon_playbtn-727f07a3.png


BIN
dist/png/pc_icon_resetbtn-e6358a0f.png


BIN
dist/png/pc_teacherBottom1-7d7c0406.png


BIN
dist/png/pc_teacherBottom2-1041fb46.png


BIN
dist/png/pc_teacherBottom3-9e8e8dfa.png


BIN
dist/png/pc_teacherBottom4-06ba0f51.png


BIN
dist/png/pc_teacherBottom5-d02e3c8f.png


BIN
dist/png/pc_teacherBottom6-bc1100b9.png


BIN
dist/png/subject-bg2-4a15e8fe.png


BIN
dist/png/subject-bg3-c743804b.png


+ 43 - 4
src/page-instrument/custom-plugins/guide-page/teacher-bootom.tsx

@@ -6,7 +6,7 @@ import { getImage } from "./images";
 import { getQuery } from "/src/utils/queryString";
 import {getGuidance,setGuidance} from './api'
 import { headTopData } from "/src/page-instrument/header-top/index";
-import state from "/src/state";
+import state, { IPlatform } from "/src/state";
 
 export default defineComponent({
 	name: "aiTeacher-guide",
@@ -15,7 +15,46 @@ export default defineComponent({
 		const data = reactive({
 			box: {},
 			show: false,
-			steps: [
+			steps: state.platform === IPlatform.PC ? [
+				{
+					img: getImage("aiTeacher2.png"),
+					eleRect: {
+						top: "-3rem",
+					},
+					imgStyle: {
+						left: "-0.7rem",
+						width: "6.48rem",
+						height: "3.01rem",
+					},
+					btnsStyle: {
+						bottom: ".9rem",
+						left: ".9rem",
+						transform: "scale(.83)",
+					},
+					boxStyle: {
+						borderRadius: "40px",
+					},
+				},
+				{
+					img: getImage("aiTeacher3.png"),
+					eleRect: {
+						top: "-3rem",
+					},
+					imgStyle: {
+						left: "-0.7rem",
+						width: "6.48rem",
+						height: "3rem",
+					},
+					btnsStyle: {
+						bottom: ".9rem",
+						left: ".8rem",
+						transform: "scale(.83)",
+					},
+					boxStyle: {
+						borderRadius: "40px",
+					},
+				}
+			] : [
 				{
 					eleRect: {
 						left: "4.5rem",
@@ -142,7 +181,7 @@ export default defineComponent({
 		// } else {
 		// 	tipShow.value = true;
 		// }
-		const steps = ["modeType-box", "modeType-0", "modeType-1", "modeType-2"];
+		const steps = state.platform === IPlatform.PC ? ["modeType-0", "modeType-1"] : ["modeType-box", "modeType-0", "modeType-1", "modeType-2"];
 		const getStepELe = () => {
 			console.log(steps[data.step]);
 			const ele: HTMLElement = document.getElementById(steps[data.step])!;
@@ -168,7 +207,7 @@ export default defineComponent({
 			getStepELe();
 		});
 		const handleNext = () => {
-			if (data.step >= 3) {
+			if (data.step >= 3 || (state.platform === IPlatform.PC && data.step >= 1)) {
 				endGuide();
 				return;
 			}

+ 4 - 0
src/page-instrument/header-top/index.module.less

@@ -253,4 +253,8 @@
             pointer-events: auto;
         }
     }
+}
+
+.pcTransPop {
+    z-index: 999 !important;
 }

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

@@ -518,7 +518,7 @@ export default defineComponent({
             </Popover>
             {
               state.enableNotation ? 
-              <Popover trigger="manual" v-model:show={headData.musicTypeShow} placement={state.platform === IPlatform.PC ? "top-end" : "bottom-end"} overlay={false} offset={state.platform === IPlatform.PC ? [0,40] : [0,8]}>
+              <Popover trigger="manual" v-model:show={headData.musicTypeShow} class={state.platform === IPlatform.PC && styles.pcTransPop} placement={state.platform === IPlatform.PC ? "top-end" : "bottom-end"} overlay={false} offset={state.platform === IPlatform.PC ? [0,40] : [0,8]}>
                 {{
                   reference: () => (
                     <div

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

@@ -83,7 +83,7 @@ export default defineComponent({
 						<div>固定调</div>
 					</div>
 				</div>
-				<Popup teleport="body" closeOnClickOverlay={false} defaultStyle={false} v-model:show={musicTypeData.show} class="transBoxClass_drag" style={positionInfo.styleDrag.value}>
+				<Popup teleport="body" closeOnClickOverlay={true} defaultStyle={false} v-model:show={musicTypeData.show} class="transBoxClass_drag" style={positionInfo.styleDrag.value}>
 					<TheComfirm tip="设置成功,是否立即重新加载?" onClose={handleResult} />
 					{ state.platform === IPlatform.PC && <Dragbom showGuide={!state.guideInfo?.teacherDrag} onGuideDone={handleGuide}  /> }
 				</Popup>

+ 2 - 2
src/view/plugins/useDrag/dragbom.tsx

@@ -33,9 +33,9 @@ export default defineComponent({
         </div>
         {
           props.showGuide && 
-          <div class={[styles.guide, data.guidePos === "top" && styles.guideTop, 'bom_guide']}>
+          <div class={[styles.guide, data.guidePos === "top" && styles.guideTop, 'bom_guide']} onClick={() => emit("guideDone")}>
             <div class={styles.guideBg}></div>
-            <div class={styles.guideDone} onClick={() => emit("guideDone")}></div>
+            <div class={styles.guideDone}></div>
           </div>          
         }
 

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