From 502fd61b98b1d834cc3d10847443a7e432d3b2b3 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期一, 15 八月 2022 08:28:24 +0800
Subject: [PATCH] #

---
 pages/basics/test.vue |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/pages/basics/test.vue b/pages/basics/test.vue
index 8944f00..55dfc24 100644
--- a/pages/basics/test.vue
+++ b/pages/basics/test.vue
@@ -20,7 +20,7 @@
 				<view class="square-content">
 					<view class="content-input">
 						<input readonly="value" v-model="locNo" type="text" placeholder="鎵爜 / 杈撳叆" 
-						:focus="locNoFocus" >
+						:focus="locNoFocus" @input="nextInput('locNo')">
 						<uni-icons type="closeempty" size="20" color="#dadada" @click="remove('locNo')"></uni-icons>
 					</view>
 				</view>
@@ -112,17 +112,19 @@
 				this.commonUrl = this.baseHttp + this.baseIP + ':' +this.basePORT + "/" +this.baseUrl
 			},
 			locNoFocuss() {
-				// #ifdef APP
 				let that = this;
 				that.locNoFocus = false;
 				setTimeout(()=>{
 					that.remove('locNo')
 					that.locNoFocus = true;
 				}, 100);
-				// #endif
 				
 			},
-			
+			nextInput(e) {
+				switch (e) {
+					
+				}
+			},
 			// 娓呯┖input
 			remove(e) {
 				this[e] = ''
@@ -133,6 +135,7 @@
 				this.locNo = ''
 				this.userId = ''
 				this.barcode = ''
+				this.locNoFocuss()
 			},
 			// 纭
 			confirm() {

--
Gitblit v1.9.1