From b372cc3423d11a48fd907d2a271d88aadb70471a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Tue, 16 Sep 2025 14:54:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=90=9C=E7=B4=A2=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=A1=B5=E6=98=BE=E7=A4=BA=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 7 + pages/plugins/video/components/search.vue | 8 + pages/plugins/video/index/index.vue | 14 +- pages/plugins/video/search/search.vue | 280 ++++++++++++++++++++++ 4 files changed, 303 insertions(+), 6 deletions(-) diff --git a/pages.json b/pages.json index 06464a98..ece7a834 100644 --- a/pages.json +++ b/pages.json @@ -2018,6 +2018,13 @@ "navigationBarTitleText": "" } }, + { + "path": "search/search-record", + "style": { + "enablePullDownRefresh": true, + "navigationBarTitleText": "" + } + }, { "path": "search/search", "style": { diff --git a/pages/plugins/video/components/search.vue b/pages/plugins/video/components/search.vue index a606fe8b..9aff5ade 100644 --- a/pages/plugins/video/components/search.vue +++ b/pages/plugins/video/components/search.vue @@ -20,6 +20,14 @@ export default { search_query: '' } }, + watch: { + propsSearchQuery: { + handler(newVal, oldVal) { + this.search_query = newVal; + }, + immediate: true + } + }, created() { this.init(); }, diff --git a/pages/plugins/video/index/index.vue b/pages/plugins/video/index/index.vue index 30d5e016..a22dbbed 100644 --- a/pages/plugins/video/index/index.vue +++ b/pages/plugins/video/index/index.vue @@ -42,7 +42,6 @@ + + \ No newline at end of file