feat: 提交多个新UI组件模块spec和相关属性设定,包括卡片封装、渐变卡片、列式布局组件等,重写了readme.md,用于AI Coding
Some checks are pending
Call HTTPS API / build (push) Waiting to run
Some checks are pending
Call HTTPS API / build (push) Waiting to run
This commit is contained in:
26
AI-Coding/openspec-lite/modules/vab-logo.yaml
Normal file
26
AI-Coding/openspec-lite/modules/vab-logo.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
# Module Spec:vab-logo(Logo + Title)
|
||||
|
||||
module:
|
||||
id: vab-logo
|
||||
name: VabLogo(Logo/标题)
|
||||
type: ui
|
||||
entrypoints:
|
||||
- library/components/VabLogo/index.vue
|
||||
|
||||
public_api:
|
||||
concept:
|
||||
- "读取 settings.logo/settings.title,并根据 theme.layout 渲染不同样式的 logo 区域"
|
||||
|
||||
dependency_closure:
|
||||
runtime:
|
||||
- "store-settings:theme/layout + logo + title"
|
||||
- "vue-router:router-link"
|
||||
- "VabIcon(自定义 svg:is-custom-svg)"
|
||||
- "SCSS:$base-header-height/$base-logo-height/$base-title-color 等"
|
||||
|
||||
acceptance:
|
||||
- "logo 存在时使用 vab-icon 渲染自定义 svg"
|
||||
- "theme.layout==='horizontal' 时标题可隐藏(hidden-xs-only)"
|
||||
|
||||
pitfalls:
|
||||
- "Column 布局会固定定位 logo,依赖左侧菜单宽度相关变量"
|
||||
Reference in New Issue
Block a user