浏览代码

样式修改

lilei 3 年之前
父节点
当前提交
35613838da
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      pages/latePlay/chooseBulk.vue

+ 4 - 3
pages/latePlay/chooseBulk.vue

@@ -5,10 +5,11 @@
 			placeholder="请输入货柜名称搜索" 
 			v-model="queryWord" 
 			:show-action="isGobleSearch" 
-			@focus="isGobleSearch=true" 
+			@focus="isGobleSearch=true"
+			@blur="isGobleSearch=false"
 			@custom="searchPart" 
 			@search="searchPart" 
-			@clear="searchPart"
+			@clear="clearSearch"
 			:action-style="{'color': '#fff', 'font-size': '24upx', 'background-color': '#57a3f3', 'border-radius': '6upx', 'padding': '12upx 0'}">
 			</u-search>
 		</view>
@@ -62,11 +63,11 @@
 				this.queryWord = ''
 				this.pageNo = 1
 				this.shelfList = []
+				this.getShelfList()
 			},
 			// 搜索配件
 			searchPart(){
 				if(this.queryWord != ''){
-					this.clearSearch()
 					this.getShelfList()
 				}
 			},