feat: 提交多个新UI组件模块spec和相关属性设定,包括卡片封装、渐变卡片、列式布局组件等,重写了readme.md,用于AI Coding
Some checks are pending
Call HTTPS API / build (push) Waiting to run

This commit is contained in:
2025-12-27 15:42:57 +08:00
parent fc9c726de4
commit 55abf26cfa
78 changed files with 3024 additions and 103 deletions

View File

@@ -0,0 +1,29 @@
# Module Specvab-nav顶部导航条聚合
module:
id: vab-nav
name: VabNav顶部导航条
type: ui
entrypoints:
- library/components/VabNav/index.vue
public_api:
concept:
- "顶部导航聚合左侧Fold + Tabs/Breadcrumb右侧ErrorLog/Lock/Search/Notice/FullScreen/Language/Theme/Refresh/Avatar"
dependency_closure:
runtime:
- "store-routestab/tabMenu/routes"
- "vue-routeruseRouter"
- "utils/validateisExternal"
- "configopenFirstMenu"
- "i18ntranslate()"
- "Element Plusel-row/el-col/el-tabs/el-tab-pane"
- "ComponentsVabFold/VabBreadcrumb/VabErrorLog/VabLock/VabSearch/VabNotice/VabFullScreen/VabLanguage/VabTheme/VabRefresh/VabAvatar"
acceptance:
- "layout='comprehensive' 时显示顶部 tabs否则显示面包屑hidden-xs-only"
- "点击 tab外链 window.open否则openFirstMenu=true跳 redirect 或自身"
pitfalls:
- "强依赖多组件与 routesStore 输出结构;抽取时必须把依赖组件闭包一起带走"