3 커밋 bb71640248 ... 411395f1ce

작성자 SHA1 메시지 날짜
  zhaosm 411395f1ce Merge branch 'dev' into zhaosm 3 일 전
  luxf 2d90af1643 bug修复 3 일 전
  luxf c10640a0f4 搜索插件 3 일 전
3개의 변경된 파일7개의 추가작업 그리고 6개의 파일을 삭제
  1. 6 2
      components/common/u-search/index.vue
  2. 0 1
      pages/exhibitor/detail.vue
  3. 1 3
      pages/index/home.vue

+ 6 - 2
components/common/u-search/index.vue

@@ -46,8 +46,12 @@
 		},
 		mounted() {},
 		methods: {
-			query(e) {
-				this.searchKeyword = e.detail
+			query(val) {
+				this.searchKeyword = val
+				this.$emit('input', this.searchKeyword)
+				this.$emit('change', {
+					detail: this.searchKeyword
+				})
 			},
 			onClickSearch() {
 				this.$emit('search')

+ 0 - 1
pages/exhibitor/detail.vue

@@ -5,7 +5,6 @@
 			<view class="main-container">
 				<view class="exhibitor-main">
 					<view class="exhibitor-logo">
-						
 						<image src="https://oss.starify.cn/prod/starify/up/0001018678/20241108/672da70c02212.png?x-oss-process=image/resize,w_200" mode="aspectFit" />
 					</view>
 					<view class="exhibitor-title">

+ 1 - 3
pages/index/home.vue

@@ -245,9 +245,7 @@
 				this.navigateTo(item.link)
 			},
 			onClickSearch() {
-				uni.navigateTo({
-					url: '/pages/index/search?query=' + this.searchKeyword
-				})
+				this.navigateTo('/pages/index/search?query=' + this.searchKeyword)
 			},
 			onClickAlbum(index) {
 				const pics = this.albumPics.map(v => {