Expand description
通用骨架原子组件。 骨架屏原子组件
提供通用的扫光占位块,供各页面骨架屏组合使用。
Structs§
- Admin
Page Head Skeleton Props - Props for the
AdminPageHeadSkeletoncomponent. - Skeleton
BoxProps - Props for the
SkeletonBoxcomponent.
Functions§
- Admin
Page Head Skeleton - 后台页面标题行骨架,结构与
admin_layout::AdminPageHead一致。title_width/subtitle_width只传宽度类(如"w-20"、"w-96 max-w-full")。actions是右侧操作区占位,传闭包:actions=|| view! { <SkeletonBox class="h-[34px] w-24 rounded-lg"/> }。 - Skeleton
Box - 通用骨架占位块。