pub fn CommentCardShell(_: CommentCardShellProps) -> ElementExpand description
评论卡片外壳组件。
Props:
depth:归一化后的嵌套深度(孤儿评论已由调用方按 0 处理)muted:是否降低整体透明度展示(待审核评论用,缺省false)avatar_url/author_name:头像 URL 与无障碍 alt 文本author_element:作者名展示节点(链接或纯文本,由调用方根据author_url构建)author_badge:作者名与分隔符之间的徽章(如已审核评论的“作者“标签); 无需展示时传rsx! {}timestamp:时间展示节点(由调用方构建,两种评论的时间语义不同:已审核评论 展示格式化后的绝对时间,待审核评论展示实时计算的相对时间)status_badge:时间之后的状态徽章(如待审核评论的“审核中“标签); 无需展示时传rsx! {}content_html:已渲染为安全 HTML 的评论正文content_extra_class:正文容器附加 CSS 类(已审核评论需额外挂md-content以命中全局 Markdown 排版/代码高亮 CSS 作用域,缺省空串)children:正文下方的附加区域(如已审核评论的回复按钮与回复表单); 无需展示时传rsx! {}
§Props
For details, see the props struct definition.
depth:i32muted:boolavatar_url:Stringauthor_name:Stringauthor_element:Elementauthor_badge:Elementtimestamp:Elementstatus_badge:Elementcontent_html:Stringcontent_extra_class:&'staticstrchildren:Element