1
0

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 => {