Expand description
页脚与回到顶部按钮组件。 页脚组件
提供站点版权信息,并在用户向下滚动超过一屏后显示“回到顶部“悬浮按钮。 回到顶部的滚动监听与平滑滚动逻辑仅在 WASM 前端生效。
Re-exports§
Structs§
- Footer
View 🔒Props - Properties for the
FooterViewcomponent.
Functions§
- Footer
- 页脚与回到顶部按钮组件。
- Footer
View 🔒 - 页脚共用展示;数据读取与滚动策略由调用方负责。
- TopIcon 🔒
- scroll_
to_ 🔒top - 平滑滚动到页面顶部,并清理 history 中的
#哈希。