From 6c9cbdf482ce1330704dc635c510ec51a1115a9f Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期一, 18 三月 2024 16:52:29 +0800
Subject: [PATCH] #

---
 pages/basics/demo.vue |   43 ++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 40 insertions(+), 3 deletions(-)

diff --git a/pages/basics/demo.vue b/pages/basics/demo.vue
index c7f97d8..bd0cdf2 100644
--- a/pages/basics/demo.vue
+++ b/pages/basics/demo.vue
@@ -8,12 +8,18 @@
 			</view>
 			<view class="square-content">
 				<view class="content-input">
-					<input type="text" placeholder="鎵爜 / 杈撳叆">
+					<input type="text" v-model="yyds" placeholder="鎵爜 / 杈撳叆" @input="find" :focus="focus">
 					<uni-icons type="closeempty" size="20" color="#dadada"></uni-icons>
 				</view>
 			</view>
 		</view>
-		
+		<checkbox-group >
+			<view v-for="(item,index) in staNoList" :key="index" class="data-list " >
+				<view class="data-list-left">
+					<view class="matnr">{{item}}</view>
+				</view>
+			</view>
+		</checkbox-group>
 		<view class="square-2">
 			<view class="square-title">
 				<view class="title-sign"><view class="sign"></view></view>
@@ -53,7 +59,7 @@
 		<view class="square-1">
 			<view class="square-title">
 				<view class="title-sign"><view class="sign"></view></view>
-				<view class="title-text"><text>鎵樼洏鏉$爜</text></view>
+				<view class="title-text"><text>鍟嗗搧鍒楄〃</text></view>
 			</view>
 		</view>
 		
@@ -82,6 +88,14 @@
 				<input type="text" placeholder="璇疯緭鍏�...">
 			</view>
 		</view>
+		<!-- 鎼滅储妗� -->
+		<view class="square-1">
+			<view class="searchBox">
+				<view class="searchIcon"><uni-icons type="search" size="20" color="#dadada"></uni-icons></view>
+				<view class="searchArea"><input type="text" placeholder=" 璇疯緭鍏�"></view>
+				<view class="closeIcon"><uni-icons type="closeempty" size="20" color="#dadada"></uni-icons></view>
+			</view>
+		</view>
 	</view>
 </template>
 
@@ -91,9 +105,32 @@
 			return {
 				staNoList:[],
 				staNo:'',
+				yyds:'',
+				focus:''
 			}
 		},
+		onLoad() {
+			// #ifdef APP
+			setInterval(()=>{
+				uni.hideKeyboard()
+			},20)
+			// #endif
+		},
+		methods:{
+			find(){
+				this.staNoList.push(this.yyds);
+						
+				
+				this.focus = false;
+				setTimeout(()=>{
+					this.yyds ='';
+					this.focus = true;
+					console.log(this.yyds ,'1')
+				}, 50);
+			}
+		}
 	}
+	
 </script>
 
 <style>

--
Gitblit v1.9.1