3 Commits bb71640248 ... 411395f1ce

Autor SHA1 Mensagem Data
  zhaosm 411395f1ce Merge branch 'dev' into zhaosm há 3 dias atrás
  luxf 2d90af1643 bug修复 há 3 dias atrás
  luxf c10640a0f4 搜索插件 há 3 dias atrás

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