From 01fa28b3ea329ca5d89469ac6348aec0317e7448 Mon Sep 17 00:00:00 2001 From: yutent Date: Mon, 13 Feb 2023 23:00:15 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/header.vue | 41 ++++++++++++++++++++++++++++++++++-- src/store.js | 3 ++- src/views/home.vue | 44 ++++++++++++++++++++++----------------- 3 files changed, 66 insertions(+), 22 deletions(-) diff --git a/src/components/header.vue b/src/components/header.vue index 0c54b08..142d24d 100644 --- a/src/components/header.vue +++ b/src/components/header.vue @@ -23,13 +23,50 @@

同时我们也提供自主提交开源库的收录(前提是在npm上发布的)

- + diff --git a/src/store.js b/src/store.js index 9b79883..4a97cfa 100644 --- a/src/store.js +++ b/src/store.js @@ -7,7 +7,8 @@ const store = reactive({ 1: '🕒待审核中', 2: '✅正常', 9: '🙅🏻拒绝收录' - } + }, + result: null // 搜索结果 }) export default function (app) { diff --git a/src/views/home.vue b/src/views/home.vue index ac73a84..bbe4e78 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -1,6 +1,19 @@