From 245f5931f7495cf1a2261923976933d65075e21b Mon Sep 17 00:00:00 2001 From: plightfield <1207120484@qq.com> Date: Mon, 11 Nov 2024 11:53:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=B3=E9=94=AE=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 2 +- src/GlobalModal.tsx | 6 +- src/index.html | 12 --- src/layout/GlobalMenu.tsx | 101 +++++++++++++++++++-- src/layout/adder/AdderPage.tsx | 19 ++-- src/layout/dock/index.tsx | 27 +++--- src/layout/grid/BlockWrapper.tsx | 4 + src/layout/grid/DirBlock.tsx | 5 +- src/layout/grid/DirModal.tsx | 9 +- src/layout/grid/LinkBlock.tsx | 6 +- src/layout/grid/WidgetBlock.tsx | 15 ++-- src/layout/header/search/SearchPage.tsx | 5 +- src/layout/header/search/index.tsx | 113 +++++++++++++----------- src/layout/useLayoutStore.ts | 22 ++++- src/settings/useSettingsStore.ts | 5 +- 15 files changed, 237 insertions(+), 114 deletions(-) delete mode 100644 src/index.html diff --git a/index.html b/index.html index 46fc7ef..b9daaf6 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> - Vite App + Fatfox 新标签页
diff --git a/src/GlobalModal.tsx b/src/GlobalModal.tsx index 9dcc468..c9d8634 100644 --- a/src/GlobalModal.tsx +++ b/src/GlobalModal.tsx @@ -25,7 +25,11 @@ export default defineComponent(() => { full.value = false }) return () => ( -
+
e.stopPropagation()} + onKeydown={(e) => e.stopPropagation()} + > {/* 背景遮罩 */} {show.value && ( diff --git a/src/index.html b/src/index.html deleted file mode 100644 index 4813512..0000000 --- a/src/index.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - Document - - -
要什么服务器,直接 oss
-