فهرست منبع

送货单优化

panxuejun 7 ماه پیش
والد
کامیت
a1a91f35e6
1فایلهای تغییر یافته به همراه9 افزوده شده و 9 حذف شده
  1. 9 9
      src/renderer/components/views/keyboard/sendKeyBoard.vue

+ 9 - 9
src/renderer/components/views/keyboard/sendKeyBoard.vue

@@ -127,7 +127,7 @@ export default {
     },
     // 文字输入
     inputWord(word) {
-      if (this.inputValue.length === 9 || this.inputValue.length === 10) return
+      if (this.inputValue.length > 9) return
       this.inputValue += word
       this.$emit('submit', this.inputValue)
     },
@@ -147,7 +147,7 @@ export default {
     },
     // 完成
     submit() {
-      if (this.inputValue.length < 9) return
+      if (this.inputValue.length < 10) return
       this.visible = false
       this.$emit('submit', this.inputValue)
     },
@@ -211,7 +211,7 @@ export default {
 .back-bord {
   width: 100vw;
   overflow-y: scroll;
-  height: calc(100vh + 250px);
+  height: calc(100vh + 350px);
   position: fixed;
   top: 0;
   left: 0;
@@ -256,12 +256,12 @@ export default {
   bottom: 0;
   left: 0;
   width: 100%;
-  height: 250px;
+  height: 350px;
   background: #e7e8eb;
   .keybord-header {
     padding: 0 15px;
-    height: 40px;
-    line-height: 40px;
+    height: 60px;
+    line-height: 60px;
     display: flex;
     justify-content: space-between;
     background: #f0f0f0;
@@ -306,8 +306,8 @@ export default {
     background: #bbbbbb;
   }
   text-align: center;
-  line-height: 40px;
-  height: 40px;
+  line-height: 60px;
+  height: 60px;
   border-radius: 5px;
   background: #fff;
   color: black;
@@ -319,7 +319,7 @@ export default {
     background: #177ce2;
   }
   width: 40vw;
-  height: 40px;
+  height: 60px;
   background: #1989fa;
   display: flex;
   justify-content: center;