Skip to main content

Module atoms

Module atoms 

Source
Expand description

通用骨架原子组件。 骨架屏原子组件

提供通用的扫光占位块,供各页面骨架屏组合使用。

Structs§

AdminPageHeadSkeletonProps
Props for the AdminPageHeadSkeleton component.
SkeletonBoxProps
Props for the SkeletonBox component.

Functions§

AdminPageHeadSkeleton
后台页面标题行骨架,结构与 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"/> }。
SkeletonBox
通用骨架占位块。