feat(docs): 重构文档结构并更新内容

refactor(docs): 迁移文档到src目录并优化配置

style(docs): 统一代码格式和样式

chore(docs): 移除不必要的配置文件和依赖

fix(docs): 修正锁屏对话框的翻译和占位符

feat(components): 添加ElDescriptions组件支持

perf(docs): 优化文档图片加载和缩放功能
This commit is contained in:
zhangtao
2026-05-01 22:48:13 +08:00
parent ab460ec9f6
commit e44f96740f
63 changed files with 284 additions and 3223 deletions
Submodule frontend/web/art-design-pro added at 6b6d781a63
@@ -33,7 +33,7 @@ function getBreadcrumb() {
let matched = currentRoute.matched.filter((item) => item.meta && item.meta.title);
const first = matched[0];
if (!isDashboard(first)) {
matched = [{ path: "/home", meta: { title: "dashboard" } } as any].concat(matched);
matched = [{ path: "/home", meta: { title: "首页" } } as any].concat(matched);
}
breadcrumbs.value = matched.filter((item) => {
return item.meta && item.meta.title && item.meta.breadcrumb !== false;
@@ -14,12 +14,13 @@
<span class="lock-dialog-name">{{ userStore.basicInfo.name }}</span>
</div>
<el-form ref="lockFormRef" :model="form" :rules="rules">
<el-form-item :label="t('lock.lockPassword')" prop="password">
<el-form-item :label="t('lockScreen.lockPassword')" prop="password">
<el-input
v-model="form.password"
type="password"
show-password
clearable
:placeholder="t('lock.placeholder')"
@keydown.enter="handleLock"
/>
</el-form-item>
+1
View File
@@ -324,6 +324,7 @@ declare module 'vue' {
interface ComponentCustomProperties {
readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
readonly ElMessage: UnwrapRef<typeof import('element-plus/es')['ElMessage']>
readonly ElNotification: UnwrapRef<typeof import('element-plus/es')['ElNotification']>
readonly acceptHMRUpdate: UnwrapRef<typeof import('pinia')['acceptHMRUpdate']>
readonly asyncComputed: UnwrapRef<typeof import('@vueuse/core')['asyncComputed']>
readonly autoResetRef: UnwrapRef<typeof import('@vueuse/core')['autoResetRef']>
+2
View File
@@ -41,6 +41,8 @@ declare module 'vue' {
ElCol: typeof import('element-plus/es')['ElCol']
ElColorPicker: typeof import('element-plus/es')['ElColorPicker']
ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
ElDescriptions: typeof import('element-plus/es')['ElDescriptions']
ElDescriptionsItem: typeof import('element-plus/es')['ElDescriptionsItem']
ElDialog: typeof import('element-plus/es')['ElDialog']
ElDivider: typeof import('element-plus/es')['ElDivider']
ElDrawer: typeof import('element-plus/es')['ElDrawer']
Submodule frontend/web/vue-vben-admin added at c0b2ef980e