From 9dc0d681e17d735ff42195a29e6905f4ee9f01da Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 27 六月 2025 09:56:47 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/2.0.1' into 2.0.1

---
 wx/components/search/search.vue |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/wx/components/search/search.vue b/wx/components/search/search.vue
index 2b03607..d62f37c 100644
--- a/wx/components/search/search.vue
+++ b/wx/components/search/search.vue
@@ -1,7 +1,7 @@
 <template>
 	<view class="hz">
 		<view style="width: 100%; height: 100rpx;"></view>
-		<view class="search">
+		<view class="search" :style="{top: searchTop + 'rpx'}">
 			<view class="search_sou">
 				<view class="search_sou_input">
 					<image src="@/static/icon/ic_search@2x.png" mode="widthFix"></image>
@@ -62,7 +62,15 @@
 		},
 		props: {
 			label: String,
-			list: Array
+			list: Array,
+			searchTop: {
+				type: Number,
+				default: () => 0
+			},
+			topNum: {
+				type: String,
+				default: () => '100rpx'
+			}
 		},
 		methods: {
 			sou() {
@@ -100,7 +108,7 @@
 			},
 			open() {
 				if (this.top === '-724rpx') {
-					this.top = '100rpx'
+					this.top = this.topNum
 					this.display = 'black'
 				} else {
 					this.top = '-724rpx'

--
Gitblit v1.9.3