import { ClockIcon, UsersIcon } from '@phosphor-icons/react' import { Link } from 'lucide-react' import React from 'react' import { QRCodeWithAvatar } from '../../../components/QRCodeWithAvatar' import { CommentIcon, ShareIcon, ThumbUpIcon, ViewIcon } from '../../components/Icons' import { DecorationCard, EnhancedImage, UsernameDisplay } from '../../components/shared' import type { BilibiliDynamicBaseData, BilibiliDynamicFooterProps } from '../types' /** * B站动态用户信息组件 */ export const BilibiliDynamicUserInfo: React.FC = (props) => { return (
{props.frame && }
{props.create_time}
{props.decoration_card && (
)}
) } /** * B站动态状态组件 */ export const BilibiliDynamicStatus: React.FC = (props) => { return (
{props.dianzan}点赞
·
{props.pinglun}评论
·
{props.share}分享
图片生成于: {props.render_time}
https://t.bilibili.com/{props.dynamic_id}
) } /** * B站动态底部信息组件(useDarkTheme 由调用方用 isDark(ctx) 注入,不再从 data 读取) */ export const BilibiliDynamicFooter: React.FC = (props) => { return (
{/* 左侧:用户信息 */}
{/* 头像和用户名/UID */}
{/* 头像 */}
{props.frame && }
{/* 用户名和UID - 纵向排列 */}
UID: {props.user_shortid}
{/* 用户统计信息 */}
获赞
{props.total_favorited}
关注
{props.following_count}
粉丝
{props.fans}
{/* 右侧:二维码 */}
) }