liushengqiang 1 年之前
父节点
当前提交
ac31ee962d
共有 2 个文件被更改,包括 11 次插入13 次删除
  1. 8 10
      src/pc/home/index.module.less
  2. 3 3
      src/pc/home/index.tsx

+ 8 - 10
src/pc/home/index.module.less

@@ -23,6 +23,12 @@
     flex-wrap: wrap;
     padding-left: 20px;
     width: 100%;
+    .topBtn{
+        .btnImg{
+            width: 40px;
+            height: 40px;
+        }
+    }
 }
 
 .topBtn {
@@ -49,21 +55,13 @@
         }
     }
 
-
-
-    :global {
-        .arco-dropdown-open {
-            background-color: rgba(193, 219, 251, 1) !important;
-        }
-    }
-
     .btnImg.btnImgActive {
         background-color: rgba(193, 219, 251, 1);
     }
 
     .topBtnIcon {
-        width: 42px;
-        height: 42px;
+        width: 100%;
+        height: 100%;
     }
 }
 

+ 3 - 3
src/pc/home/index.tsx

@@ -524,8 +524,8 @@ export default defineComponent({
 					textAreaRef.value && (textAreaRef.value.value = data.music);
 					data.drawCount++;
 
-					const times = new ABCJS.TimingCallbacks(abcData.visualObj);
-					console.log("🚀 ~ times:", times)
+					// const times = new ABCJS.TimingCallbacks(abcData.visualObj);
+					// console.log("🚀 ~ times:", times)
 				});
 			});
 		};
@@ -1419,7 +1419,7 @@ export default defineComponent({
 								>
 									<img class={styles.topBtnIcon} src={item.icon} />
 								</div>
-								<div>{item.name}</div>
+								<div class={styles.btnName}>{item.name}</div>
 							</div>
 						))}