From 45f6556ff05209e2a03c0271dc72dceac102a3e7 Mon Sep 17 00:00:00 2001 From: "1173117610@qq.com" Date: Mon, 11 May 2026 16:22:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 6 + pages/classify/classify.vue | 7 +- pages/search/search.vue | 451 ++++++++++++++++++++++++++++++++++++ 3 files changed, 463 insertions(+), 1 deletion(-) create mode 100644 pages/search/search.vue diff --git a/pages.json b/pages.json index d3ced2e..2327993 100644 --- a/pages.json +++ b/pages.json @@ -35,6 +35,12 @@ "style": { "navigationStyle": "custom" } + }, + { + "path": "pages/search/search", + "style": { + "navigationStyle": "custom" + } } ], "globalStyle": { diff --git a/pages/classify/classify.vue b/pages/classify/classify.vue index d3ac733..6eacf0f 100644 --- a/pages/classify/classify.vue +++ b/pages/classify/classify.vue @@ -3,7 +3,7 @@ - + 🔍 输入关键词或粘贴商品标题 @@ -111,6 +111,11 @@ switchMainCategory(index) { this.activeIndex = index; }, + goToSearch() { + uni.navigateTo({ + url: '/pages/search/search' + }); + }, goToDetail(three) { const name = encodeURIComponent(three.cate_name.trim()); const catId = this.categoryData[this.activeIndex].cat_id; diff --git a/pages/search/search.vue b/pages/search/search.vue new file mode 100644 index 0000000..fdc50fe --- /dev/null +++ b/pages/search/search.vue @@ -0,0 +1,451 @@ + + + + +