From 01f96e17e6b7311815316246cc75ea1afa7a0f94 Mon Sep 17 00:00:00 2001
From: whycq <whycq>
Date: 星期三, 22 六月 2022 15:28:07 +0800
Subject: [PATCH] #

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

diff --git a/pages/basics/demo.vue b/pages/basics/demo.vue
index fe100a8..abaf447 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>
@@ -30,15 +36,19 @@
 			</view>
 		</view>
 		
-		<view class="square-2">
+		<view class="square-3">
 			<view class="square-title">
 				<view class="title-sign"><view class="sign"></view></view>
 				<view class="title-text"><text>宸︿晶涓嬫媺</text></view>
 			</view>
 			<view class="square-content">
 				<view class="content-combox">
+					
 					<uni-combox  emptyTips="鏆傛棤鏁版嵁" :candidates="staNoList" v-model="staNo" placeholder="绔欏彴鍙�"></uni-combox>
 				</view>
+				
+			</view>
+			<view class="square-content">
 				<view class="content-input-combox">
 					<input type="text">
 					<uni-icons type="closeempty" size="20" color="#dadada"></uni-icons>
@@ -56,6 +66,36 @@
 		<view class="square-none">
 			<view class="v-show">鏆傛棤鏇村鏁版嵁...</view>
 		</view>
+		<!-- 鍟嗗搧鍒楄〃 -->
+		<view>
+			<view></view>
+		</view>
+		<!-- 琛ㄥ崟 -->
+		<view class="square-form">
+			<view class="form-title">
+				<text>缁撴潫鏃堕棿</text>
+			</view>
+			<view class="form-input">
+				<input type="text" placeholder="璇疯緭鍏�...">
+			</view>
+		</view>
+		<!-- 琛ㄥ崟蹇呭~ -->
+		<view class="square-form">
+			<view class="form-title">
+				<text>缁撴潫鏃堕棿</text>
+			</view>
+			<view class="form-input">
+				<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>
 
@@ -65,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