liushengqiang 1 vuosi sitten
vanhempi
commit
2c6679fb82

+ 1 - 1
public/flexible.js

@@ -4,7 +4,7 @@
     var height = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;
     var b = width > height ? height : width;
     b / i > 640 && (b = 640 * i);
-    b / i < 420 && (b = 420 * i);
+    b / i < 375 && (b = 375 * i);
     var c = b / 10;
     f.style.fontSize = c + "px", k.rem = a.rem = c
   }

+ 1 - 0
src/page-instrument/evaluat-model/index.module.less

@@ -42,6 +42,7 @@
     display: flex;
     flex-direction: column;
     align-items: flex-end;
+    pointer-events: none;
 
     .dialogue {
         position: relative;

BIN
src/page-instrument/view-figner/image/icon_action_cancel.png


BIN
src/page-instrument/view-figner/image/icon_action_confirm.png


BIN
src/page-instrument/view-figner/image/icon_bg_t.png


BIN
src/page-instrument/view-figner/image/icon_bg_v.png


BIN
src/page-instrument/view-figner/image/icon_popup_book_h.png


BIN
src/page-instrument/view-figner/image/icon_popup_book_v.png


BIN
src/page-instrument/view-figner/image/icon_popup_top.png


BIN
src/page-instrument/view-figner/image/icon_shadow_left.png


BIN
src/page-instrument/view-figner/image/icon_shadow_r.png


BIN
src/page-instrument/view-figner/image/icon_shuo_h.png


BIN
src/page-instrument/view-figner/image/icon_shuo_v.png


BIN
src/page-instrument/view-figner/image/icon_trans_bg.png


BIN
src/page-instrument/view-figner/image/icon_trans_bg_hu.png


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/page-instrument/view-figner/image/icons.json


+ 294 - 157
src/page-instrument/view-figner/index.module.less

@@ -11,7 +11,7 @@
     flex-direction: column;
     width: 100vw;
     height: 100vh;
-    background: linear-gradient(180deg, #6BC6E1 0%, #E1FBEB 35%, #9DE7E2 100%);
+    background: rgba(215, 205, 199, 1);
     user-select: none;
 
     &.fingerRight {
@@ -27,10 +27,34 @@
         .tips {
             width: 43%;
             border-radius: 18px 0px 0px 18px;
+            padding: 8px;
+            background-image: url('./image/icon_shuo_h.png');
+
+            &::before {
+                content: '';
+                position: absolute;
+                left: 8px;
+                top: 8px;
+                right: 8px;
+                bottom: 8px;
+                border-radius: 15px;
+                border: 1px solid rgba(240, 234, 230, 1);
+                pointer-events: none;
+            }
 
             &.tipHidden {
                 margin-right: -43%;
             }
+
+            .tipContentbox {
+                padding: 6px 8px 8px 8px;
+                border-radius: 16px;
+            }
+
+            .tipContent {
+                border-radius: 16px;
+                padding: 4px 8px;
+            }
         }
     }
 
@@ -40,17 +64,41 @@
 
         .fingerContent {
             flex-direction: column;
-
         }
 
 
         .tips {
             height: 238px;
             border-radius: 18px 18px 0 0;
+            padding: 8px 8px 0 8px;
+            background-image: url('./image/icon_shuo_v.png');
+
+            &::before {
+                content: '';
+                position: absolute;
+                left: 8px;
+                top: 8px;
+                right: 8px;
+                bottom: 0;
+                border-radius: 15px;
+                border: 1px solid rgba(240, 234, 230, 1);
+                pointer-events: none;
+            }
 
             &.tipHidden {
                 margin-bottom: -238px;
             }
+
+            .tipContentbox {
+                padding: 6px 8px 0 8px;
+                border-radius: 16px 16px 0 0;
+            }
+
+            .tipContent {
+                border-radius: 16px 16px 0 0;
+                border-bottom: transparent;
+                padding: 4px;
+            }
         }
     }
 }
@@ -59,25 +107,26 @@
 .head {
     position: absolute;
     left: 0;
-    top: 20px;
+    top: 0;
     right: 0;
     display: flex;
     justify-content: space-between;
     align-items: center;
     pointer-events: none;
-    padding-right: 10px;
+    padding-right: 18px;
     padding-top: env(safe-area-inset-top);
     z-index: 5;
 
     .backBtn {
         position: relative;
-        padding: 6px 30px 10px 33px;
+        padding: 12px 12px 12px 18px;
         display: flex;
         align-items: center;
         justify-content: center;
         border: none;
         background: none;
         cursor: pointer;
+        pointer-events: auto;
 
         img {
             height: 34px;
@@ -87,64 +136,40 @@
     .left {
         display: flex;
         align-items: center;
-        pointer-events: auto;
-        margin-left: 100px;
-    }
-
-    &.backHead{
-        z-index: 200;
-        right: auto;
-        .left{
-            margin-left: 0;
-        }
-    }
-    &.paddingTop{
-        padding-top: 25Px;
     }
 
     .baseBtn {
-        width: 85px;
-        height: 33px;
-        background: linear-gradient(180deg, #FEF0AF 0%, #F7D656 100%);
-        box-shadow: 0px 2px 1px 0px rgba(168, 121, 0, 0.24), inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5), inset 0px -2px 1px 0px rgba(255, 255, 255, 0.5);
-        border-radius: 9px;
-        font-size: 13px;
-        font-weight: 600;
-        color: #A14927;
-        line-height: 33px;
+        width: 60px;
+        height: 45px;
+        background: rgba(255, 255, 255, .48);
+        border-radius: 10px;
+        font-size: 12px;
+        font-weight: 400;
+        color: #616161;
+        line-height: 17px;
         text-align: center;
         cursor: pointer;
-    }
-
-    .rightBtn {
         display: flex;
-        align-items: center;
+        flex-direction: column;
         justify-content: space-evenly;
-        width: 100px;
-        height: 44px;
-        background: linear-gradient(180deg, #FEF0AF 0%, #F7D656 100%);
-        box-shadow: 0px 2px 1px 0px rgba(168, 121, 0, 0.24), inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5), inset 0px -2px 1px 0px rgba(255, 255, 255, 0.5);
-        border-radius: 11px;
-        font-weight: 600;
-        color: #A14927;
+        align-items: center;
         pointer-events: auto;
 
-        .item {
-            flex: 1;
-            display: flex;
-            flex-direction: column;
-            justify-content: center;
-            align-items: center;
-            cursor: pointer;
+        img {
+            width: 18px;
+            height: 18px;
+        }
 
-            &:first-child {
-                border-right: 1Px solid #a149275e;
-            }
+        &:active {
+            opacity: .8;
+        }
+    }
 
-            img {
-                width: 13px;
-                height: 13px;
-            }
+    .rightBtn {
+        display: flex;
+
+        .baseBtn {
+            margin: 0 4px;
         }
     }
 }
@@ -179,14 +204,14 @@
     z-index: 11;
     flex-shrink: 0;
     transition: all .3s;
-    background: #EEFDFF;
-    box-shadow: 0px 1px 12px 0px rgba(0, 0, 0, 0.12);
-    padding: 0 7px 13px 7px;
+    background-color: rgba(190, 166, 140, 1);
+    background-size: 100% 100%;
+    background-repeat: no-repeat;
     overflow: hidden;
 
     .tipTitle {
         position: relative;
-        height: 45px;
+        height: 48px;
         display: flex;
         justify-content: center;
         align-items: center;
@@ -195,27 +220,54 @@
 
     .tipTitleName {
         position: relative;
-        font-weight: 500;
-        font-size: 15px;
+        font-weight: 600;
         z-index: 1;
+        color: #fff;
+        font-size: 16px;
+        text-shadow: 0px 1px 2px #6D4825;
+
+        &::before {
+            content: '';
+            position: absolute;
+            left: -40px;
+            top: 50%;
+            transform: translateY(-50%);
+            width: 25px;
+            height: 2px;
+            background: #fff;
+            z-index: -1;
+        }
 
         &::after {
             content: '';
             position: absolute;
-            left: 0;
-            bottom: -2px;
-            width: 100%;
-            height: 8px;
-            background: #8AEDFA;
-            border-radius: 4px;
-            opacity: 0.5;
+            right: -40px;
+            top: 50%;
+            transform: translateY(-50%);
+            width: 25px;
+            height: 2px;
+            background: #fff;
             z-index: -1;
         }
     }
 
+    .tipImg {
+        position: absolute;
+        top: 53px;
+        left: 8px;
+        right: 8px;
+
+        img {
+            position: absolute;
+            width: 100%;
+            height: 30px;
+            display: block;
+        }
+    }
+
     .tipClose {
         position: absolute;
-        right: -7px;
+        right: 0;
         top: 0;
         height: 100%;
         border: none;
@@ -223,12 +275,43 @@
         border-radius: 0;
     }
 
-    .tipContent {
+    .iconBook {
+        position: absolute;
+        top: 48px;
+        left: 37px;
+        right: 37px;
+        pointer-events: none;
+        padding-bottom: 8%;
+        background: url('./image/icon_popup_book_h.png') no-repeat;
+        background-size: 100%;
+        z-index: 1;
+    }
+
+    .tipContentbox {
+        position: relative;
         flex: 1;
         background: #FFFFFF;
-        border-radius: 15px;
-        padding: 16px;
-        color: #415E6C;
+        display: flex;
+        overflow: hidden;
+
+        &::before {
+            content: '';
+            position: absolute;
+            top: 0;
+            left: 0;
+            right: 0;
+            padding-bottom: 45%;
+            background: url('./image/icon_popup_top.png') no-repeat;
+            background-size: 100%;
+            opacity: .4;
+            pointer-events: none;
+        }
+    }
+
+    .tipContent {
+        flex: 1;
+        border: 1.5px solid rgba(180, 165, 154, 1);
+        color: rgba(68, 59, 59, 1);
         font-size: 12px;
         overflow: hidden;
         overflow-y: auto;
@@ -239,6 +322,9 @@
     display: flex;
     line-height: 18px;
     margin-bottom: 8px;
+    background: linear-gradient(180deg, #FFFFFF 0%, #F3F4F7 100%);
+    border-radius: 5px;
+    padding: 10px;
 
     .iconWrap {
         display: flex;
@@ -250,11 +336,11 @@
     .tipItemIcon {
         width: 16px;
         height: 16px;
-        background: linear-gradient(180deg, #70C6FF 0%, #1898F9 100%);
+        background: linear-gradient(180deg, rgba(224, 180, 135, 1) 0%, rgba(195, 164, 134, 1) 100%);
         font-weight: 600;
         line-height: 16px;
         color: #FFFFFF;
-        text-shadow: 0px 1px 1px #319FF0;
+        text-shadow: 0px 1px 1px #C8946D;
         border-radius: 50%;
         text-align: center;
 
@@ -268,7 +354,8 @@
     align-items: flex-start;
     height: 65px;
     flex-shrink: 0;
-    &.paddingLeft{
+
+    &.paddingLeft {
         padding-left: 20Px;
     }
 
@@ -276,14 +363,10 @@
         position: relative;
         max-width: calc(100% - 92px);
         border-radius: 25px;
-        background: rgba(255, 255, 255, 0.53);
-        border: 1px solid rgba(255, 255, 255, 0.81);
+        background: rgba(255, 255, 255, 0.5);
+        border: 1px solid rgba(255, 255, 255, 0.6);
         overflow: hidden;
 
-        &.huaweiPad {
-            border-radius: 8px;
-        }
-
         &.noteContentWrap {
             &::before {
                 content: '';
@@ -291,8 +374,9 @@
                 left: 0;
                 top: 0;
                 height: 100%;
-                width: 20px;
-                background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(28, 172, 241, 0.45) 100%);
+                width: 23px;
+                background: url('./image/icon_shadow_left.png') no-repeat;
+                background-size: 100% 100%;
             }
 
             &::after {
@@ -301,8 +385,9 @@
                 right: 0;
                 top: 0;
                 height: 100%;
-                width: 20px;
-                background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(28, 172, 241, 0.45) 100%);
+                width: 23px;
+                background: url('./image/icon_shadow_r.png') no-repeat;
+                background-size: 100% 100%;
             }
         }
 
@@ -324,10 +409,11 @@
 
     .noteBtn {
         background: transparent;
-        color: rgba(69, 143, 177, .82);
+        color: rgba(112, 99, 88, .41);
         border: 0;
         padding: 0;
         font-size: 22px;
+        height: 46px;
 
         :global {
             .van-icon {
@@ -349,8 +435,8 @@
 .note {
     position: relative;
     margin: 0 2.5Px;
-    width: 42px;
-    height: 42px;
+    width: 46px;
+    height: 46px;
     display: flex;
     justify-content: center;
     align-items: center;
@@ -373,26 +459,29 @@
     position: relative;
     display: flex;
     flex-direction: column;
-    justify-content: space-evenly;
+    justify-content: center;
     align-items: center;
     z-index: 1;
     font-size: 16px;
     font-family: 'jianzhu';
     font-weight: normal;
-    color: #FFFFFF;
-    text-shadow: 0px 1px 3px #1EADF1;
+    color: #616161;
     line-height: 1;
     height: 100%;
 
     &.keyActive {
-        text-shadow: 0px 1px 3px #F6A81B;
+        color: #FFF9EC;
     }
 
     .dot {
         width: 3px;
         height: 3px;
         border-radius: 50%;
-        background-color: #fff;
+        background-color: currentColor;
+    }
+
+    .dot+.dot {
+        margin: 2px 0;
     }
 
     .noteName {
@@ -535,13 +624,12 @@
     flex-direction: column;
     align-items: center;
     justify-content: center;
-    width: 33px;
-    height: 55px;
-    background: linear-gradient(180deg, #FEF0AF 0%, #F7D656 100%);
-    box-shadow: 0px 2px 1px 0px rgba(168, 121, 0, 0.24), inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5), inset 0px -2px 1px 0px rgba(255, 255, 255, 0.5);
-    border-radius: 48px 0px 0px 48px;
-    font-size: 13px;
-    color: #A14927;
+    width: 34px;
+    height: 60px;
+    background: url('./image/icon_trans_bg.png') no-repeat;
+    background-size: 100%;
+    font-size: 14px;
+    color: #616161;
     line-height: 14px;
     font-weight: 600;
     padding-left: 10px;
@@ -554,7 +642,7 @@
     }
 
     img {
-        width: 8px;
+        width: 9px;
         height: 5px;
         margin-top: 3px;
     }
@@ -562,17 +650,9 @@
 
 .toggleBtnhulusi {
     height: auto;
-    padding: 10px 0 10px 10px;
-
-    .hulusiNoteKey {
-        color: #A14927;
-        text-shadow: none;
-
-        .dot {
-            background: #A14927;
-        }
-    }
-
+    padding: 14px 0 15px 12px;
+    background-image: url('./image/icon_trans_bg_hu.png');
+    background-size: 100% 100%;
 }
 
 .tones {
@@ -583,6 +663,9 @@
     z-index: 12;
     transition: all .3s;
     overflow: hidden;
+    background-color: rgba(190, 166, 140, 1);
+    background-size: 100% 100%;
+    background-repeat: no-repeat;
 
     .toneTitle {
         position: relative;
@@ -598,6 +681,33 @@
         font-weight: 500;
         font-size: 15px;
         z-index: 1;
+        color: #fff;
+        font-size: 16px;
+        text-shadow: 0px 1px 2px #6D4825;
+
+        &::before {
+            content: '';
+            position: absolute;
+            left: -40px;
+            top: 50%;
+            transform: translateY(-50%);
+            width: 25px;
+            height: 2px;
+            background: #fff;
+            z-index: -1;
+        }
+
+        &::after {
+            content: '';
+            position: absolute;
+            right: -40px;
+            top: 50%;
+            transform: translateY(-50%);
+            width: 25px;
+            height: 2px;
+            background: #fff;
+            z-index: -1;
+        }
     }
 
     .tipClose {
@@ -610,41 +720,49 @@
         border-radius: 0;
     }
 
+    .tipContentbox {
+        position: relative;
+        flex: 1;
+        background: #FFFFFF;
+        display: flex;
+        flex-direction: column;
+        overflow: hidden;
+
+        &::before {
+            content: '';
+            position: absolute;
+            top: 0;
+            left: 0;
+            right: 0;
+            padding-bottom: 45%;
+            background: url('./image/icon_popup_top.png') no-repeat;
+            background-size: 100%;
+            opacity: .4;
+            pointer-events: none;
+        }
+    }
+
+    .tipContent {
+        flex: 1;
+        display: flex;
+        flex-direction: column;
+        border: 1.5px solid rgba(180, 165, 154, 1);
+        color: rgba(68, 59, 59, 1);
+        font-size: 12px;
+        overflow: hidden;
+    }
+
     .toneAction {
-        height: 82px;
         border-top: 1px solid #EBEBEB;
         display: flex;
         justify-content: center;
         align-items: center;
-        padding: 0 7px;
-
-        :global {
-            .van-space-item {
-                width: calc(100% / 2);
-                padding: 0 7px;
-            }
-
-            .van-button {
-                font-size: 15px;
-                padding: 0;
-                width: 100%;
-                height: 0;
-                padding-bottom: 22%;
-
-                &::before {
-                    display: none;
-                }
-
-                .van-button__content {
-                    position: absolute;
-                    left: 0;
-                    top: 0;
-                    width: 100%;
-                }
-
-                &:active {
-                    opacity: .8;
-                }
+        padding: 16px 0;
+        img {
+            width: 128px;
+            margin: 0 8px;
+            &:active{
+                opacity: .85;
             }
         }
     }
@@ -652,8 +770,10 @@
     .toneContent {
         padding: 0 7px;
         display: flex;
-        ;
         flex-wrap: wrap;
+        flex: 1;
+        --van-button-primary-background: rgba(174, 137, 103, 1);
+        --van-button-primary-border-color: rgba(174, 137, 103, 1);
 
         :global {
             .van-space-item {
@@ -669,7 +789,7 @@
                 padding: 0;
                 padding-bottom: 40.5%;
                 flex-shrink: 0;
-                background-color: transparent;
+                
 
                 &::before {
                     display: none;
@@ -686,21 +806,20 @@
                     opacity: .8;
                 }
             }
+            .van-button--primary{
+                --van-button-plain-background: RGBA(255, 246, 231, 1);
+            }
         }
 
         :global(.van-button--primary) {
             .dot {
-                background: var(--van-primary-color) !important;
+                background: var(--van-button-primary-background) !important;
             }
         }
 
         .hulusiNoteKey {
             color: inherit;
             text-shadow: none;
-
-            .dot {
-                background: #323233;
-            }
         }
     }
 }
@@ -709,7 +828,21 @@
     width: 43%;
     height: 100%;
     border-radius: 18px 0px 0px 18px;
-    background: #EEFDFF;
+
+    .tones {
+        padding: 8px;
+        background-image: url('./image/icon_shuo_h.png');
+
+        .tipContentbox {
+            padding: 6px 8px 8px 8px;
+            border-radius: 16px;
+        }
+
+        .tipContent {
+            border-radius: 16px;
+            padding: 4px 8px;
+        }
+    }
 }
 
 :global(.van-popup--bottom.tonePopup) {
@@ -717,10 +850,22 @@
     flex-direction: column;
     min-height: 238px;
     border-radius: 18px 18px 0 0;
-    background: #EEFDFF;
 
     .tones {
         flex: 1;
+        padding: 8px 8px 0 8px;
+        background-image: url('./image/icon_shuo_v.png');
+
+        .tipContentbox {
+            padding: 6px 8px 0 8px;
+            border-radius: 16px 16px 0 0;
+        }
+
+        .tipContent {
+            border-radius: 16px 16px 0 0;
+            border-bottom: transparent;
+            padding: 4px;
+        }
     }
 
     .toneContent {
@@ -732,12 +877,4 @@
             }
         }
     }
-
-    .toneAction {
-        :global {
-            .van-space-item {
-                max-width: 200px;
-            }
-        }
-    }
 }

+ 101 - 85
src/page-instrument/view-figner/index.tsx

@@ -21,7 +21,13 @@ import {
 } from "/src/view/fingering/fingering-config";
 import { Howl } from "howler";
 import { storeData } from "/src/store";
-import { api_back, api_cloudLoading, api_setRequestedOrientation, api_setStatusBarVisibility, isSpecialShapedScreen } from "/src/helpers/communication";
+import {
+	api_back,
+	api_cloudLoading,
+	api_setRequestedOrientation,
+	api_setStatusBarVisibility,
+	isSpecialShapedScreen,
+} from "/src/helpers/communication";
 import Hammer from "hammerjs";
 import { Button, Icon, Loading, Popup, Progress, Space } from "vant";
 import GuideIndex from "./guide/guide-index";
@@ -30,6 +36,7 @@ import { browser } from "/src/utils";
 import { usePageVisibility } from "@vant/use";
 import { watch } from "vue";
 import icon_loading_img from "./image/icon_loading_img.png";
+import icon_popup_top from "./image/icon_popup_top.png";
 import state from "/src/state";
 
 export default defineComponent({
@@ -83,8 +90,8 @@ export default defineComponent({
 			loadingSoundProgress: 0,
 
 			huaweiPad: navigator?.userAgent?.includes("UAWEIVRD-W09") ? true : false,
-			paddingTop: '',
-			paddingLeft:'',
+			paddingTop: "",
+			paddingLeft: "",
 		});
 		const fingerData = reactive({
 			relationshipIndex: 0,
@@ -95,16 +102,16 @@ export default defineComponent({
 			state.fingeringInfo = fingerData.fingeringInfo;
 		}
 
-		const getAPPData = async (type: 'top' | 'left') => {
+		const getAPPData = async (type: "top" | "left") => {
 			const screenData = await isSpecialShapedScreen();
 			if (screenData?.content) {
 				// console.log("🚀 ~ screenData:", screenData.content);
 				const { isSpecialShapedScreen, notchHeight } = screenData.content;
 				if (isSpecialShapedScreen) {
-					if (type === 'top'){
+					if (type === "top") {
 						data.paddingTop = 25 + "px";
 					}
-					if(type === 'left'){
+					if (type === "left") {
 						data.paddingLeft = 25 + "px";
 					}
 				}
@@ -112,10 +119,10 @@ export default defineComponent({
 		};
 
 		if (!props.isComponent && !browsInfo.ios && fingerData.fingeringInfo.orientation === 1) {
-			getAPPData('top');
+			getAPPData("top");
 		}
 		if (!props.isComponent && !browsInfo.ios && fingerData.fingeringInfo.orientation === 0) {
-			getAPPData('left');
+			getAPPData("left");
 		}
 
 		const getNotes = () => {
@@ -175,7 +182,7 @@ export default defineComponent({
 		};
 		onBeforeMount(() => {
 			getNotes();
-			if (['pan-flute', 'ocarina'].includes(data.subject)){
+			if (["pan-flute", "ocarina"].includes(data.subject)) {
 				data.viewIndex = 1;
 			}
 			getFingeringData();
@@ -341,17 +348,18 @@ export default defineComponent({
 							: styles.fingerRight,
 					]}
 				>
-					<div class={[styles.head, styles.backHead, data.paddingTop && styles.paddingTop]}>
+					<div
+						class={styles.head}
+						style={{
+							paddingTop: data.paddingTop ? data.paddingTop : "",
+							paddingLeft: data.paddingLeft ? data.paddingLeft : "",
+						}}
+					>
 						<div class={styles.left}>
 							<button class={[styles.backBtn]} onClick={() => handleBack()}>
 								<img src={icons.icon_back} />
 							</button>
-						</div>
-					</div>
-
-					<div class={[styles.head, data.paddingTop && styles.paddingTop]}>
-						<div class={styles.left}>
-							{data.subject === "pan-flute" && (
+							{data.subject !== "melodica" && (
 								<div
 									class={styles.baseBtn}
 									onClick={() => {
@@ -362,17 +370,18 @@ export default defineComponent({
 										getFingeringData();
 									}}
 								>
-									切换视图
+									<img src={icons.icon_toggle} />
+									<span>切换视图</span>
 								</div>
 							)}
 						</div>
 						<div class={styles.rightBtn}>
-							<div class={[styles.item]} onClick={() => resetElement()}>
+							<div class={styles.baseBtn} onClick={() => resetElement()}>
 								<img src={icons.icon_2_0} />
 								<span>还原</span>
 							</div>
 							<div
-								class={[styles.item]}
+								class={styles.baseBtn}
 								onClick={() => {
 									resetElement();
 									data.tipShow = !data.tipShow;
@@ -412,7 +421,12 @@ export default defineComponent({
 									</div>
 								</div>
 							</div>
-							<div class={[styles.notes, data.paddingLeft && styles.paddingLeft]}>
+							<div
+								class={styles.notes}
+								style={{
+									paddingLeft: data.paddingLeft ? data.paddingLeft : "",
+								}}
+							>
 								<Button class={styles.noteBtn} onClick={() => scrollNoteBox("left")}>
 									<Icon name="arrow-left" />
 								</Button>
@@ -464,20 +478,23 @@ export default defineComponent({
 							<div class={styles.tipTitle}>
 								<div class={styles.tipTitleName}>{fingerData.fingeringInfo.code}使用说明</div>
 								<Button class={styles.tipClose} onClick={() => (data.tipShow = false)}>
-									<Icon name="cross" color="#999" />
+									<Icon name="cross" size={19} color="#fff" />
 								</Button>
 							</div>
-							<div class={styles.tipContent}>
-								{data.tips.map((tip, tipIndex) => (
-									<div class={styles.tipItem}>
-										<div class={styles.iconWrap}>
-											<div class={styles.tipItemIcon}>{tipIndex + 1}</div>
-										</div>
-										<div>
-											{tip.name}: {tip.realName}
+							<div class={styles.iconBook}></div>
+							<div class={styles.tipContentbox}>
+								<div class={styles.tipContent}>
+									{data.tips.map((tip, tipIndex) => (
+										<div class={styles.tipItem}>
+											<div class={styles.iconWrap}>
+												<div class={styles.tipItemIcon}>{tipIndex + 1}</div>
+											</div>
+											<div>
+												{tip.name}: {tip.realName}
+											</div>
 										</div>
-									</div>
-								))}
+									))}
+								</div>
 							</div>
 						</div>
 						{data.loadingSoundFonts && (
@@ -500,7 +517,7 @@ export default defineComponent({
 								>
 									<div>
 										全按作
-										<div class={[styles.noteKey, styles.hulusiNoteKey]}>
+										<div class={[styles.noteKey]}>
 											{data.activeTone.step > 0 ? <span class={styles.dot}></span> : null}
 
 											<div class={styles.noteName}>
@@ -516,7 +533,7 @@ export default defineComponent({
 								</div>
 							) : (
 								<div id="finger-note-1" class={styles.toggleBtn} onClick={() => (data.tnoteShow = true)}>
-									<div>
+									<div style={{ marginTop: "-4px" }}>
 										<sup>{data.activeTone.mark && (data.activeTone.mark === "rise" ? "#" : "b")}</sup>
 										{data.activeTone.name}
 									</div>
@@ -538,66 +555,65 @@ export default defineComponent({
 							<div class={styles.toneTitle}>
 								<div class={styles.tipTitleName}>移调</div>
 								<Button class={styles.tipClose} onClick={() => (data.tnoteShow = false)}>
-									<Icon name="cross" color="#999" />
+									<Icon name="cross" size={19} color="#fff" />
 								</Button>
 							</div>
-							<div style={{ flex: 1, overflow: "hidden" }}>
-								<Space size={0} class={styles.toneContent}>
-									{data.tones.map((tone: IFIGNER_INSTRUMENT_Note) => {
-										const steps = new Array(Math.abs(tone.step)).fill(1);
-										return (
-											<Button
-												round
-												plain
-												type={data.popupActiveTone.realName === tone.realName ? "primary" : "default"}
-												onClick={() => {
-													data.popupActiveTone = tone;
-													setNotes();
-												}}
-											>
-												{fingerData.fingeringInfo.name == "hulusi-flute" ? (
-													<div style={{ display: "flex", alignItems: "center" }}>
-														全按作
-														<div class={[styles.noteKey, styles.hulusiNoteKey]}>
-															{tone.step > 0 ? <span class={styles.dot}></span> : null}
-															<div class={styles.noteName} style={{ fontSize: "0.25rem" }}>
-																<sup>{tone.mark && (tone.mark === "rise" ? "#" : "b")}</sup>
-																{tone.key}
+							<div class={styles.tipContentbox}>
+								<div class={styles.tipContent}>
+									<Space size={0} class={styles.toneContent}>
+										{data.tones.map((tone: IFIGNER_INSTRUMENT_Note) => {
+											const steps = new Array(Math.abs(tone.step)).fill(1);
+											return (
+												<Button
+													round
+													plain
+													type={data.popupActiveTone.realName === tone.realName ? "primary" : "default"}
+													onClick={() => {
+														data.popupActiveTone = tone;
+														setNotes();
+													}}
+												>
+													{fingerData.fingeringInfo.name == "hulusi-flute" ? (
+														<div style={{ display: "flex", alignItems: "center" }}>
+															全按作
+															<div class={[styles.noteKey, styles.hulusiNoteKey]}>
+																{tone.step > 0 ? <span class={styles.dot}></span> : null}
+																<div class={styles.noteName} style={{ fontSize: "0.25rem" }}>
+																	<sup>{tone.mark && (tone.mark === "rise" ? "#" : "b")}</sup>
+																	{tone.key}
+																</div>
+																{tone.step < 0 ? <span class={styles.dot}></span> : null}
 															</div>
-															{tone.step < 0 ? <span class={styles.dot}></span> : null}
 														</div>
-													</div>
-												) : (
-													<div class={styles.noteName}>
-														<sup>{tone.mark && (tone.mark === "rise" ? "#" : "b")}</sup>
-														{tone.name}
-													</div>
-												)}
-											</Button>
-										);
-									})}
-								</Space>
+													) : (
+														<div class={styles.noteName}>
+															<sup>{tone.mark && (tone.mark === "rise" ? "#" : "b")}</sup>
+															{tone.name}
+														</div>
+													)}
+												</Button>
+											);
+										})}
+									</Space>
+									<div class={styles.toneAction}>
+										<img onClick={() => (data.tnoteShow = false)} src={icons.icon_action_cancel} />
+										<img
+											onClick={() => {
+												data.activeTone = data.popupActiveTone;
+												setNotes();
+												data.tnoteShow = false;
+											}}
+											src={icons.icon_action_confirm}
+										/>
+									</div>
+								</div>
 							</div>
-							<Space size={0} class={styles.toneAction}>
-								<Button type="primary" round plain onClick={() => (data.tnoteShow = false)}>
-									取消
-								</Button>
-								<Button
-									type="primary"
-									round
-									onClick={() => {
-										data.activeTone = data.popupActiveTone;
-										setNotes();
-										data.tnoteShow = false;
-									}}
-								>
-									确定
-								</Button>
-							</Space>
 						</div>
 					</Popup>
 
-					{props.show && !data.loading && !data.loadingSoundFonts && <GuideIndex showGuide={false} list={["finger"]} />}
+					{props.show && !data.loading && !data.loadingSoundFonts && (
+						<GuideIndex showGuide={false} list={["finger"]} />
+					)}
 				</div>
 			);
 		};

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
src/view/fingering/fingering-img/pan-flute4/index.json


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä