# Module Spec:vab-card(卡片封装 + Skeleton) module: id: vab-card name: VabCard(卡片封装) type: ui entrypoints: - library/components/VabCard/index.vue public_api: concept: - "对 el-card 的轻封装:header slot/prop + 可选 skeleton loading(默认 500ms 结束)" dependency_closure: runtime: - "Element Plus:el-card/el-skeleton" - "vue-router:onBeforeRouteLeave(清理定时器)" - "SCSS:$base-transition" acceptance: - "skeleton=true 时先显示 skeleton,再渲染默认 slot" - "路由离开时清理 timer" pitfalls: - "skeletonRows 注释提示:显示数量可能比传入多 1(Element Plus 行为)"