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