From 357914a90e4aa11fcd5977e81272882ae2bba4ef Mon Sep 17 00:00:00 2001 From: qiuchengw Date: Mon, 1 Dec 2025 17:25:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=8A=A8=E6=80=81workspace?= =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/TaskBar.vue | 4 ++-- src/styles/index.ts | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 src/styles/index.ts diff --git a/src/components/TaskBar.vue b/src/components/TaskBar.vue index 6a97827..8d8a393 100644 --- a/src/components/TaskBar.vue +++ b/src/components/TaskBar.vue @@ -2996,7 +2996,7 @@ onUnmounted(() => { padding: 12px; border-radius: 8px; font-size: 12px; - z-index: 10000; /* 确保在最上层 */ + z-index: 9999999999; /* 确保在最上层 */ max-width: 250px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), @@ -3049,7 +3049,7 @@ onUnmounted(() => { border-radius: 6px; font-size: 12px; font-weight: 500; - z-index: 10001; + z-index: 999999999; box-shadow: 0 2px 12px rgba(0, 123, 255, 0.4); pointer-events: none; border: 1px solid rgba(255, 255, 255, 0.2); diff --git a/src/styles/index.ts b/src/styles/index.ts new file mode 100644 index 0000000..8aae2b2 --- /dev/null +++ b/src/styles/index.ts @@ -0,0 +1,9 @@ +// 导出所有样式为字符串(用于运行时动态注入) +import themeVariables from './theme-variables.css?inline' +import listStyles from './list.css?inline' +import appStyles from './app.css?inline' + +// 合并所有样式 +const allStyles = `${themeVariables}\n${listStyles}\n${appStyles}` + +export default allStyles