Forráskód Böngészése

Merge branch 'dev' of http://120.26.79.179/luxf/mp_exhibitor_miniprog into dev

yanj 1 hete
szülő
commit
11fb35d5fc

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