fix(docs): restore official visual hierarchy and component previews

This commit is contained in:
maoyingjie
2026-10-24 07:26:15 +08:00
parent 671a27646e
commit c2563e87a8
10 changed files with 177 additions and 83 deletions
-16
View File
@@ -19,8 +19,6 @@ import {
Link,
Chip,
Separator,
Breadcrumbs,
BreadcrumbsItem,
Card,
Drawer,
DrawerTrigger,
@@ -379,20 +377,6 @@ async function copyMarkdownCode(event: MouseEvent) {
</Popover>
</div>
<main id="main" class="docs-main" tabindex="-1">
<nav aria-label="面包屑">
<Breadcrumbs class="breadcrumb" aria-label="页面路径">
<BreadcrumbsItem
:href="
withBase(
section === 'components' ? '/components' : '/introduction',
)
"
>
{{ section === "components" ? "组件" : "快速开始" }}
</BreadcrumbsItem>
<BreadcrumbsItem>{{ frontmatter.title }}</BreadcrumbsItem>
</Breadcrumbs>
</nav>
<h1 tabindex="-1">{{ frontmatter.title }}</h1>
<p v-if="frontmatter.description" class="page-description">
{{ frontmatter.description }}