Ver código fonte

Merge remote-tracking branch 'origin/hqyDev' into feature-tianyong

TIANYONG 5 meses atrás
pai
commit
3db940d225

BIN
src/page-instrument/component/the-music-list/imgs/icon-music-vip.png


BIN
src/page-instrument/component/the-music-list/imgs/searImg.png


+ 3 - 3
src/page-instrument/component/the-music-list/index.module.less

@@ -65,8 +65,8 @@
         }
         >img{
             flex-shrink: 0;
-            width: 16px;
-            height: 16px;
+            width: 14px;
+            height: 14px;
         }
         :global{
             .van-field{
@@ -165,10 +165,10 @@
         flex-grow: 1;
         overflow: hidden;
         .name{
+            line-height: 17px;
             font-weight: 600;
             font-size: 16px;
             color: #333333;
-            line-height: 1;
             white-space: nowrap;
             overflow: hidden;
             text-overflow: ellipsis;

+ 1 - 1
src/page-instrument/component/the-music-list/index.tsx

@@ -17,7 +17,7 @@ export default defineComponent({
 	setup() {
 		return () => (
 			<>
-				<Popup class={styles.popup} position="left" v-model:show={musicListShow.value} round overlay-style={{background:'rgba(0, 0, 0, 0.3)'}}>
+				<Popup class={styles.popup} position="left" v-model:show={musicListShow.value} round overlay-style={{background:'rgba(0, 0, 0, 0.7)'}}>
 					<div class={[styles.tabs]}>
 						<Tabs>
 							<Tab title="其他曲谱">

+ 7 - 4
src/page-instrument/component/the-music-list/list.tsx

@@ -125,10 +125,13 @@ export default defineComponent({
                 </div>
                 <div class={styles.content}>
                   <p class={styles.name}>{item.musicSheetName}</p>
-                  <div class={styles.detail}>
-                    {/* {item.usedNum && <div class={styles.usedNum}><img src={huoimg}/><div>{formatNumber(item.usedNum)}</div></div>} */}
-                    {item.composer && <p class={styles.author}>{item.composer}</p>}
-                  </div>
+                  {
+                    item.composer &&                   
+                    <div class={styles.detail}>
+                      {/* {item.usedNum && <div class={styles.usedNum}><img src={huoimg}/><div>{formatNumber(item.usedNum)}</div></div>} */}
+                      <p class={styles.author}>{item.composer}</p>
+                    </div>
+                  }
                 </div>
               </div>
             );

+ 4 - 4
src/page-instrument/custom-plugins/ExerciseStatistics/index.module.less

@@ -1,7 +1,7 @@
 .exerciseStatistics {
     position: fixed;
     left: 12px;
-    bottom: 26px;
+    bottom: 28px;
     box-sizing: border-box;
     z-index: 110;
     div {
@@ -21,8 +21,8 @@
     .icon {
         position: relative;
         display: block;
-        width: 30px;
-        height: 30px;
+        width: 32px;
+        height: 32px;
         transition: all var(--animation-time);
         // box-shadow: 0px 2px 4px 0px rgba(2,91,86,0.63);
         filter: drop-shadow(0px 2px 4px rgba(2, 91, 86, 0.4));
@@ -31,7 +31,7 @@
     .btnTietle {
         position: absolute;
         left: -20%;
-        bottom: -26%;
+        bottom: -25%;
         background: linear-gradient(180deg, #FF9941 0%, #FFC174 100%);
         border-radius: 6px;
         box-shadow: 0px 2px 4px 0px rgba(2, 91, 86, 0.4);

+ 3 - 3
src/page-instrument/custom-plugins/guide-driver/index.tsx

@@ -50,7 +50,7 @@ export const PractiseDriver = defineComponent({
     // 初始化部分引导位置
     const driverInitialPosition = (popover: PopoverDOM, options: { config: Config; state: State }) => {
       options.config.stageRadius = 5;
-      options.config.stagePadding = 8;
+      options.config.stagePadding = 4;
       try {
         const rect = options.state.activeElement?.getBoundingClientRect();
         popover.wrapper.style.marginLeft = -(rect?.width || 0) / 2 + 4 + "px";
@@ -498,7 +498,7 @@ export const FollowDriver = defineComponent({
     // 初始化部分引导位置
     const driverInitialPosition = (popover: PopoverDOM, options: { config: Config; state: State }) => {
       options.config.stageRadius = 5;
-      options.config.stagePadding = 8;
+      options.config.stagePadding = 4;
       try {
         const rect = options.state.activeElement?.getBoundingClientRect();
         popover.wrapper.style.marginLeft = -(rect?.width || 0) / 2 + 4 + "px";
@@ -703,7 +703,7 @@ export const EvaluatingDriver = defineComponent({
     // 初始化部分引导位置
     const driverInitialPosition = (popover: PopoverDOM, options: { config: Config; state: State }) => {
       options.config.stageRadius = 5;
-      options.config.stagePadding = 8;
+      options.config.stagePadding = 4;
       try {
         const rect = options.state.activeElement?.getBoundingClientRect();
         popover.wrapper.style.marginLeft = -(rect?.width || 0) / 2 + 4 + "px";

+ 5 - 5
src/page-instrument/custom-plugins/helper-model/recommendation/index.module.less

@@ -43,7 +43,7 @@
                     font-family: PingFangSC, PingFang SC;
                     font-weight: 500;
                     font-size: 13px;
-                    color: #B6C4D2;
+                    color: #aaaaaa;
                 }
             }
             .dropdownMenu{
@@ -151,8 +151,8 @@
                             margin-right: 0;
                         }
                         .van-uploader__preview-image{
-                            width: 56px;
-                            height: 56px;
+                            width: 54px;
+                            height: 54px;
                             border-radius: 6px;
                         }
                         .van-uploader__preview-delete--shadow{
@@ -174,8 +174,8 @@
                     }
                 }
                 .uploaderbox{
-                    width: 56px;
-                    height: 56px;
+                    width: 54px;
+                    height: 54px;
                     background: #FFFFFF;
                     border-radius: 6px;
                     border: 1px dashed #D9D9D9;

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

@@ -328,8 +328,8 @@
         left: 50%;
         top: 50%;
         transform: translate(-50%, -50%);
-        width: 38px;
-        height: 38px;
+        width: 38Px;
+        height: 38Px;
     }
 }
 

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

@@ -860,7 +860,7 @@ export default defineComponent({
                   </div>
                 </div>
                 {
-                  <Popup v-model:show={headData.speedShow} class="popup-custom van-scale center-closeBtn speedBoxClass_drag" transition="van-scale" teleport="body" style={speedInfo.styleDrag.value} overlay-style={{ background: "rgba(0, 0, 0, 0.3)" }}>
+                  <Popup v-model:show={headData.speedShow} class="popup-custom van-scale center-closeBtn speedBoxClass_drag" transition="van-scale" teleport="body" style={speedInfo.styleDrag.value} overlay-style={{ background: "rgba(0, 0, 0, 0.7)" }}>
                     <Speed />
                     {state.platform === IPlatform.PC && <Dragbom showGuide={!state.guideInfo?.teacherDrag} onGuideDone={handleGuide} />}
                   </Popup>
@@ -972,7 +972,7 @@ export default defineComponent({
           <img class={styles.iconBtn} src={headImg("icon_reset.png")} />
         </div>
 
-        <Popup v-model:show={headTopData.settingMode} class="popup-custom van-scale center-closeBtn settingBoxClass_drag" transition="van-scale" teleport="body" style={positionInfo.styleDrag.value} overlay-style={{ background: "rgba(0, 0, 0, 0.3)" }}>
+        <Popup v-model:show={headTopData.settingMode} class="popup-custom van-scale center-closeBtn settingBoxClass_drag" transition="van-scale" teleport="body" style={positionInfo.styleDrag.value} overlay-style={{ background: "rgba(0, 0, 0, 0.7)" }}>
           <Settting />
           {state.platform === IPlatform.PC && <Dragbom showGuide={!state.guideInfo?.teacherDrag} onGuideDone={handleGuide} />}
         </Popup>

+ 2 - 2
src/page-instrument/header-top/settting/index.module.less

@@ -8,7 +8,7 @@
             bottom: 0;
             left: 50%;
             transform: translateX(-50%);
-            width: 157px;
+            width: 137px;
             height: 32px;
         }        
         .closeImg{
@@ -261,7 +261,7 @@
                 display: flex;
                 justify-content: center;
                 align-items: center;
-                padding: 14px 0;
+                padding: 14px 0 0;
                 margin-right: 16px;
                 >img{
                     width: 118px;

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

@@ -311,7 +311,7 @@ export default defineComponent({
 					class="popup-custom van-scale center-closeBtn recommenBoxClass_drag"
 					transition="van-scale"
 					teleport="body"
-                    overlay-style={{background:'rgba(0, 0, 0, 0.3)'}}
+                    overlay-style={{background:'rgba(0, 0, 0, 0.7)'}}
                     style={positionInfo.styleDrag.value}
 				>
                     <Recommendation

+ 5 - 2
src/page-instrument/view-evaluat-report/component/share-top/index.module.less

@@ -137,6 +137,7 @@
             font-size: 16px;
             line-height: 22px;
             color: #AAAAAA;
+            font-weight: 600;
         }
 
         .mLabel {
@@ -153,7 +154,9 @@
         .mScore,
         .mLabel {
             color: #000000;
-            font-weight: normal;
+        }
+        .mLabel{
+            font-weight: 600;
         }
     }
 }
@@ -311,7 +314,7 @@
 
                     .plyr__progress__buffer {
                         height: 4px;
-                        color: #fff;
+                        color: rgba(1,193,181,0.6);
                         background-color: #fff;
                         margin-top: -2px;
                     }

+ 4 - 0
src/state.ts

@@ -1202,6 +1202,10 @@ export const resetSettings = () => {
   if (state.isAppPlay) {
     audioData.progress = 0;
   }
+  showToast({
+    message: "已将所有参数重置到默认状态",
+    position: "top",
+  });
 };
 
 /** 效验并格式化选段小节 */

+ 6 - 5
src/view/abnormal-pop/index.module.less

@@ -47,6 +47,7 @@
     }
     .content {
         .title {
+            line-height: 24px;
             font-size: 18px;
             font-family: PingFangSC, PingFang SC;
             font-weight: 600;
@@ -63,7 +64,7 @@
         }
     }
     .btn {
-        width: 97px;
+        width: 104px;
         height: 32px;
         &:active{
             opacity: 0.8;
@@ -106,14 +107,14 @@
     flex-direction: column;
     justify-content: center;
     align-items: center;
-    transform: translateY(-14px);
     .loadingIcon {
         width: 118px;
     }
     .loadingTip {
         font-size: 16px;
         color: #fff;
-        margin: 8px 0 18px;
+        line-height: 20px;
+        margin-bottom: 24px;
     }
     .loadingClose {
         font-weight: 400;
@@ -123,7 +124,7 @@
         border: 1px solid rgba(255, 255, 255, 0.7);
         border-radius: 16px;
         text-align: center;
-        width: 97px;
+        width: 104px;
         height: 32px;
         box-sizing: border-box;
         &:active{
@@ -139,7 +140,7 @@
     justify-content: space-between;
     flex-wrap: wrap;
     align-content: space-between;
-    margin-bottom: 24px;
+    margin-bottom: 17px;
     animation: rotate 1.5s ease-in-out infinite;
     .loadingCssItem{
         width: 11px;

BIN
src/view/plugins/toggleMusicSheet/choosePartName/imgs/cancelBtn.png


BIN
src/view/plugins/toggleMusicSheet/choosePartName/imgs/okBtn.png


+ 1 - 1
src/view/plugins/toggleMusicSheet/choosePartName/index.module.less

@@ -107,7 +107,7 @@
       justify-content: center;
       .btn{
         width: 118px;
-        height: 40px;
+        height: 39px;
         cursor: pointer;
         &:active,&:hover{
           opacity: 0.8;

+ 1 - 1
src/view/plugins/toggleMusicSheet/index.tsx

@@ -98,7 +98,7 @@ export default defineComponent({
 
 
     return () => (
-      <Popup v-model:show={toggleMusicSheet.show} class="popup-custom van-scale center-closeBtn switchBoxClass_drag" transition="van-scale" teleport="body" style={positionInfo.styleDrag.value} overlay-style={{background:'rgba(0, 0, 0, 0.3)'}}>
+      <Popup v-model:show={toggleMusicSheet.show} class="popup-custom van-scale center-closeBtn switchBoxClass_drag" transition="van-scale" teleport="body" style={positionInfo.styleDrag.value} overlay-style={{background:'rgba(0, 0, 0, 0.7)'}}>
         <ChoosePartName
           partIndexs={partIndexs.value}
           partListNames={partListNames.value}

BIN
src/view/selection/imgs/pitchHigh.png


BIN
src/view/selection/imgs/pitchLow.png