Browse Source

style: 样式修改

TIANYONG 3 months ago
parent
commit
48dd0bba7c

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

@@ -66,6 +66,7 @@
                     font-size: 15px;
                     color: #000000;
                     line-height: 21px;
+                    word-break: keep-all;
                 }
                 .titbtn {
                     width: 78px;
@@ -178,6 +179,11 @@
                         }
                     }
                 }
+                .qhBox {
+                    >div {
+                        width: 56px;
+                    }
+                }
                 // .speBox {
                 //     >div {
                 //         width: 48px;

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

@@ -246,7 +246,7 @@ export default defineComponent({
                             ["practise", "evaluating"].includes(state.modeType) ? 
                             <div class={styles.cellBox}>
                                 <div class={styles.tit}>切换谱面</div>
-                                <div class={styles.radioBox}>
+                                <div class={[styles.radioBox, styles.qhBox]}>
                                     {
                                         [{name:'单行谱',value:true},{name:'多行谱',value:false}].map(item=>{
                                             return <div class={ state.isSingleLine===item.value && styles.active } onClick={ async ()=>{ 

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

@@ -1,6 +1,6 @@
 .container {
-  width: 490px;
-  height: 300px;
+  width: 510px;
+  height: 310px;
   .head{
       height: 42px;
       position: relative;
@@ -23,7 +23,7 @@
   }
   .pickerCon{
     margin-top: -26px;
-    height: 290px;
+    height: 310px;
     background: #FFFFFF;
     border-radius: 16px;
     padding: 36px 20px 12px 20px;

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

@@ -114,6 +114,7 @@ export default defineComponent({
                     return
                   }
                   await checkMoveNoSave();
+                  toggleMusicSheet.show = false
                   nextTick(()=>{
                     emit('close', selValues.value)
                   })

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

@@ -104,7 +104,7 @@ export default defineComponent({
           partListNames={partListNames.value}
           onClose={(value) => {
             console.log("🚀 ~ value:", value)
-            toggleMusicSheet.show = false
+            // toggleMusicSheet.show = false
             if (value !== undefined) {
               switchMusic(value)
             }

+ 1 - 1
vite.config.ts

@@ -52,7 +52,7 @@ export default defineConfig({
     // https: true,
     proxy: {
       "^/instrument/.*": {
-        target: "https://dev.gym.lexiaoya.cn",
+        target: "https://test.gym.lexiaoya.cn",
         changeOrigin: true,
         rewrite: (path) => path.replace(/^\/instrument/, ""),
       },