Browse Source

模糊,引导

liushengqiang 1 year ago
parent
commit
34826b3a98

+ 3 - 1
src/page-instrument/view-figner/guide/guide-index.tsx

@@ -29,7 +29,9 @@ export default defineComponent({
             if (props.showGuide && !query.showGuide) return;
 			if (data.list.includes("detail")) {
 				if (localStorage.getItem(detailGuideKey)) return;
-				data.detailShow = true;
+				setTimeout(() => {
+					data.detailShow = true;
+				}, 300)
 			}
 			if (data.list.includes("finger")) {
 				if (localStorage.getItem(fingerGuideKey)) return;

+ 3 - 1
src/page-instrument/view-figner/index.tsx

@@ -165,8 +165,10 @@ export default defineComponent({
 				data.loadingSoundProgress = Math.floor(((i + 1) / data.notes.length) * 100);
 			}
 			data.loadingSoundProgress = 100;
-			data.loadingSoundFonts = false;
 			api_cloudLoading();
+			nextTick(() => {
+				data.loadingSoundFonts = false;
+			})
 			// console.log("🚀 ~ data.soundFonts:", data.soundFonts);
 		};
 		onBeforeMount(() => {

+ 0 - 1
src/view/fingering/fingering-config.ts

@@ -223,7 +223,6 @@ export const subjectFingering = (subjectId: number | string): IFingering => {
 				orientation: 0,
 				code: "排箫",
 				hasTizhi: false,
-				transform: "scale(1.9) translateY(22px)",
 			};
 		case "ocarina": // 陶笛
 			return {