@@ -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')
@@ -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">
@@ -245,9 +245,7 @@
this.navigateTo(item.link)
- 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 => {