fix: 完善同步生命周期并统一前端视觉

- 同步商品与订单时处理线上删除状态并联动自动化规则\n- 过滤卖家系统中的购买订单,修复订单逻辑删除与数据库迁移\n- 修复聊天新消息自动滚动,并统一前端颜色令牌与硬编码颜色检查
This commit is contained in:
Christ committed 2026-08-10 12:41:10 +08:00
1 parent cf76b8898b
commit 526ac44453
40 files changed
+802 -242

No files matched your search

+2 -2
View File
@@ -30,7 +30,7 @@ const Sidebar: React.FC<SidebarProps> = ({
];
return (
<aside className={`fixed inset-y-0 left-0 z-20 flex flex-col border-r border-slate-200/80 bg-white/95 shadow-[4px_0_24px_rgba(15,23,42,0.035)] backdrop-blur-xl transition-[width] duration-300 ${collapsed ? 'w-16' : 'w-64'}`}>
<aside className={`fixed inset-y-0 left-0 z-20 flex flex-col border-r border-slate-200/80 bg-white/95 shadow-sidebar backdrop-blur-xl transition-[width] duration-300 ${collapsed ? 'w-16' : 'w-64'}`}>
<div className={`flex h-20 items-center border-b border-slate-100 ${collapsed ? 'justify-center px-2' : 'gap-3 px-5'}`}>
<YdisksBrandIcon sizeClass="h-10 w-10" />
{!collapsed && (
@@ -55,7 +55,7 @@ const Sidebar: React.FC<SidebarProps> = ({
onClick={() => onNavigate(item.id)}
className={`group relative flex h-11 w-full items-center rounded-xl transition-colors ${collapsed ? 'justify-center' : 'gap-3 px-3.5'} ${
active
? 'bg-sky-500 text-white shadow-[0_8px_18px_rgba(14,165,233,0.2)]'
? 'bg-brand text-white shadow-brand-active'
: 'text-slate-500 hover:bg-slate-100 hover:text-slate-900'
}`}
>