+ {list.map((item, index) => {
+ const isCurrent = item.id === currentMarkId;
+ return (
+
{
+ onClick?.(item, e as any);
+ e.stopPropagation();
+ e.preventDefault();
+ }}>
+
+
{item.title}
+
+
+
+
+
+
类型: {item.markType}
+
概要: {item.summary}
+
标签: {item.tags?.join?.(', ')}
+ {/*
描述: {item.description}
*/}
+
{
+ window.open(item.link, '_blank');
+ }}>
+ 链接: {item.link}
+
+
创建时间: {dayjs(item.createdAt).format('YYYY-MM-DD HH:mm:ss')}
+
更新时间: {dayjs(item.updatedAt).format('YYYY-MM-DD HH:mm:ss')}
+