feat: 添加路由标题元数据,固定页头为 sticky

- 为所有子页面路由添加 meta.title 供页头动态展示
- 页头改为 position: sticky,滚动时固定在顶部
This commit is contained in:
2026-05-23 22:54:55 +08:00
parent 749d9752fd
commit ad847973bc
2 changed files with 10 additions and 4 deletions
+4
View File
@@ -42,6 +42,10 @@ const route = useRoute();
.shell-header {
height: auto;
padding: 18px 20px 0;
position: sticky;
top: 0;
z-index: 10;
background: var(--surface);
}
.shell-main {