소스 검색

修改样式

lex 1 년 전
부모
커밋
ed7d600975
2개의 변경된 파일21개의 추가작업 그리고 11개의 파일을 삭제
  1. 11 1
      src/page-instrument/view-figner/index.module.less
  2. 10 10
      src/page-instrument/view-figner/index.tsx

+ 11 - 1
src/page-instrument/view-figner/index.module.less

@@ -1267,11 +1267,21 @@
 }
 
 .linkSourceClass {
-    .head {
+
+    // .head {
+    //     display: none;
+    //     opacity: 0;
+    // }
+    .backBtn {
         display: none;
         opacity: 0;
     }
 
+
+    .changeInstrumentBtn {
+        margin: 26px 5px 26px 18px !important;
+    }
+
     .noteContentOther {
         max-width: 75% !important
     }

+ 10 - 10
src/page-instrument/view-figner/index.tsx

@@ -777,29 +777,29 @@ export default defineComponent({
     const containerBox = computed(() => {
       if (state.platform === IPlatform.PC || query.modelType) {
         return {
-          paddingTop: "1rem",
+          paddingTop: "1.3rem",
           paddingBottom: "",
         };
       }
       if (data.fingeringMode === "scaleMode") {
         if (data.subject === "hulusi-flute") {
           return {
-            paddingTop: "1rem",
+            paddingTop: "1.3rem",
             paddingBottom: ".5rem",
           };
         } else if (data.subject === "piccolo" || data.subject === "baroque-recorder") {
           return {
-            paddingTop: "1rem",
+            paddingTop: "1.3rem",
             paddingBottom: ".5rem",
           };
         } else if (data.subject === "pan-flute") {
           return {
-            paddingTop: "1rem",
+            paddingTop: "1.3rem",
             paddingBottom: "0",
           };
         } else if (data.subject === "ocarina") {
           return {
-            paddingTop: "1rem",
+            paddingTop: "1.3rem",
             paddingBottom: "0",
           };
         } else if (data.subject === "melodica") {
@@ -816,22 +816,22 @@ export default defineComponent({
       } else {
         if (data.subject === "hulusi-flute") {
           return {
-            paddingTop: "1rem",
+            paddingTop: "1.3rem",
             paddingBottom: "0rem",
           };
         } else if (data.subject === "piccolo" || data.subject === "baroque-recorder") {
           return {
-            paddingTop: "1rem",
+            paddingTop: "1.3rem",
             paddingBottom: ".5rem",
           };
         } else if (data.subject === "pan-flute") {
           return {
-            paddingTop: "1rem",
+            paddingTop: "1.3rem",
             paddingBottom: "0",
           };
         } else if (data.subject === "ocarina") {
           return {
-            paddingTop: "1rem",
+            paddingTop: "1.3rem",
             paddingBottom: "0",
           };
         } else if (data.subject === "melodica") {
@@ -951,7 +951,7 @@ export default defineComponent({
               </button>
 
               <div
-                class={styles.baseBtn}
+                class={[styles.baseBtn, styles.changeInstrumentBtn]}
                 onClick={(e) => {
                   //
                   // 播放音阶时不能切换