移動文件

This commit is contained in:
CrescentLeaf
2025-07-16 22:52:58 +08:00
parent 930a9c6c07
commit 200a867171
27 changed files with 5 additions and 31 deletions

View File

@@ -1,21 +0,0 @@
import Avatar from "../Avatar.js"
export default function RecentsListItem({ nickName, avatar, content }) {
return (
<mdui-list-item rounded style={{
marginTop: '3px',
marginBottom: '3px',
}}>
{nickName}
<Avatar src={avatar} text={nickName} slot="icon" />
<span slot="description"
style={{
width: "100%",
display: "inline-block",
whiteSpace: "nowrap", /* 禁止换行 */
overflow: "hidden", /* 隐藏溢出内容 */
textOverflow: "ellipsis", /* 显示省略号 */
}}>{content}</span>
</mdui-list-item>
)
}