浏览代码

按钮大小

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

+ 2 - 2
src/pc/component/keys/index.module.less

@@ -26,7 +26,7 @@
         position: relative;
         display: flex;
         width: calc(100% / 7);
-        max-width: 250px;
+        max-width: 230px;
         // background-color: #ddd;
         // box-shadow: 0 0 5px 0 #ccc;
         &:first-child{
@@ -103,7 +103,7 @@
 
     .bkey {
         position: absolute;
-        width: calc(100% / 10);
+        width: calc(100% / 11);
         height: 90px;
         background: linear-gradient(-20deg, #333, #000, #333);
         border-color: #666 #222 #111 #555;

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

@@ -1957,7 +1957,7 @@ export default defineComponent({
             <div id="paper"></div>
             { !data.loading && <Keys show={data.active ? true : false} instrumentCode={abcData.abc.subjectCode} onClick={(val) => handleChange(val)} />}
 
-            <textarea ref={textAreaRef} class={styles.value} id="abc"></textarea>
+            {/* <textarea ref={textAreaRef} class={styles.value} id="abc"></textarea> */}
             <div id="audio" style={{ display: 'none' }}></div>
             <div id="warnings"></div>