feat: 本次提交更新内容如下

去掉悬浮模块善待你
This commit is contained in:
笔记本里的永平
2025-07-14 14:42:42 +08:00
parent 80240dfc03
commit 1d640abc6e
2 changed files with 1 additions and 14 deletions

View File

@@ -105,9 +105,6 @@ function CardMenu({ onView, onEdit, onDelete, onViewMaterials }: {
padding: 4,
}}
>
<div onClick={() => { onView(); setOpen(false); }} style={{ padding: 8, cursor: "pointer", display: "flex", alignItems: "center", borderRadius: 6, fontSize: 14, gap: 6, transition: "background .2s" }} onMouseOver={e => (e.currentTarget as HTMLDivElement).style.background="#f5f5f5"} onMouseOut={e => (e.currentTarget as HTMLDivElement).style.background=""}>
<Eye className="h-4 w-4 mr-2" />
</div>
<div onClick={() => { onEdit(); setOpen(false); }} style={{ padding: 8, cursor: "pointer", display: "flex", alignItems: "center", borderRadius: 6, fontSize: 14, gap: 6, transition: "background .2s" }} onMouseOver={e => (e.currentTarget as HTMLDivElement).style.background="#f5f5f5"} onMouseOut={e => (e.currentTarget as HTMLDivElement).style.background=""}>
<Edit className="h-4 w-4 mr-2" />
</div>
@@ -210,7 +207,7 @@ export default function Content() {
};
const handleEdit = (id: string) => {
navigate(`/content/${id}/edit`);
navigate(`/content/new/${id}`);
};
const handleDelete = async (id: string) => {

View File

@@ -405,16 +405,6 @@ export default function NewMomentsSyncTask() {
</div>
)}
</div>
<div className="fixed bottom-0 left-0 right-0 p-4">
<div className="flex justify-center">
<button className="w-12 h-12 bg-white rounded-full shadow-md flex items-center justify-center">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M13 10V3L4 14H11V21L20 10H13Z" stroke="#CCCCCC" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
</svg>
</button>
</div>
</div>
</div>
);
}