From 97734d5eb6a05a82c7e86c85c7232e7c1e1a6116 Mon Sep 17 00:00:00 2001
From: "3075067877@qq.com" <3075067877@qq.com>
Date: Mon, 29 Jan 2024 14:23:44 +0800
Subject: [PATCH] make keyboard componently
---
.../src/components/index/keyboard/input_box_QR.vue | 215 ++++++++++++++++
.../src/components/index/keyboard/keyboard_box.vue | 270 ---------------------
.../components/index/keyboard/view_keyboard.vue | 141 +++++++++++
uniapp_project_code/src/pages/index/index.nvue | 5 +-
uniapp_project_code/src/static/index/del_btn.png | Bin 0 -> 3986 bytes
5 files changed, 359 insertions(+), 272 deletions(-)
create mode 100644 uniapp_project_code/src/components/index/keyboard/input_box_QR.vue
delete mode 100644 uniapp_project_code/src/components/index/keyboard/keyboard_box.vue
create mode 100644 uniapp_project_code/src/components/index/keyboard/view_keyboard.vue
create mode 100644 uniapp_project_code/src/static/index/del_btn.png
diff --git a/uniapp_project_code/src/components/index/keyboard/input_box_QR.vue b/uniapp_project_code/src/components/index/keyboard/input_box_QR.vue
new file mode 100644
index 0000000..325b5e2
--- /dev/null
+++ b/uniapp_project_code/src/components/index/keyboard/input_box_QR.vue
@@ -0,0 +1,215 @@
+
+
+
+
+
+ 输入条形码
+
+ {{inputValue||"请输入条形码"}}
+
+
+
+
+
+ 确定
+
+
+
+
+
+
+
+
+
+
diff --git a/uniapp_project_code/src/components/index/keyboard/keyboard_box.vue b/uniapp_project_code/src/components/index/keyboard/keyboard_box.vue
deleted file mode 100644
index ccbade9..0000000
--- a/uniapp_project_code/src/components/index/keyboard/keyboard_box.vue
+++ /dev/null
@@ -1,270 +0,0 @@
-
-
-
-
-
- 输入条形码
-
- {{inputValue||"请输入条形码"}}
-
-
-
-
-
- {{getNumClick(i)}}
-
-
-
-
- 确定
-
-
-
-
-
-
-
-
-
-
diff --git a/uniapp_project_code/src/components/index/keyboard/view_keyboard.vue b/uniapp_project_code/src/components/index/keyboard/view_keyboard.vue
new file mode 100644
index 0000000..20e2b4d
--- /dev/null
+++ b/uniapp_project_code/src/components/index/keyboard/view_keyboard.vue
@@ -0,0 +1,141 @@
+
+
+
+ {{getNumClick(i)}}
+
+
+
+
+
+
+
+
diff --git a/uniapp_project_code/src/pages/index/index.nvue b/uniapp_project_code/src/pages/index/index.nvue
index d36419d..a8e1536 100644
--- a/uniapp_project_code/src/pages/index/index.nvue
+++ b/uniapp_project_code/src/pages/index/index.nvue
@@ -14,7 +14,7 @@
-
+
@@ -26,11 +26,12 @@
import viewHeader from '@/components/index/view_header.nvue';
import viewFooter from '@/components/index/view_footer.nvue';
import listItem from '@/components/index/list_item.nvue';
- import keyboardBox from '@/components/index/keyboard/keyboard_box.vue';
+ import keyboardBox from '@/components/index/keyboard/input_box_QR.vue';
// import { ref } from 'vue';
// import { onLoad,onReady } from '@dcloudio/uni-app';
+
// #ifdef APP-NVUE
let dom = weex.requireModule("dom");
// #endif
diff --git a/uniapp_project_code/src/static/index/del_btn.png b/uniapp_project_code/src/static/index/del_btn.png
new file mode 100644
index 0000000000000000000000000000000000000000..9cb279fd7e1ca4531ead90b2ca5d0f94e02f239c
GIT binary patch
literal 3986
zcmV;D4{h*?P)TX7>4
zi?T>&vd(0fOt46gb%Ro?Xq8q4MFA;70wkGa-n*~gog_UmeRsC^CJ9OB4-RMM-Fv_9
zcklb|xBTu6MhW~l9FCMTP0Br#(uE2_!(b?!z~OpI*Al|`TcjwT5rKG#$xv2Zy7eH&
z7$ErmCt+X!@cm9VDz8z6-qKT0=@vOKsuK`?c7R2A+U0W9ca$Mv;HO*dOBIQ4|tRErRh{Uv=pN
zx`Cgybg4=H;>aIh;5lIimf+R%Dp+_$6zCyBMcRw7M=c5!1%+NNBV`HbIe|Y3_nhD%0{y<9;`o|?{tkcpbX&$2ou%aqoJ*<`@Z
zlRN#@&JAiIc5j}H^c?$3ib9vD=_p`fk|yx;^5ze044!!hfWIP)xhW%;44v&;x30N2
z1Ffc8!oY_hL3nrX{wHKb`2{angPA=nnhaBSRFwR)uK~~WO&IuKZf=xhS_RfEg#)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