diff --git a/app/admin/_components/CategoriesTab.tsx b/app/admin/_components/CategoriesTab.tsx index c85720e..dfe1fc1 100644 --- a/app/admin/_components/CategoriesTab.tsx +++ b/app/admin/_components/CategoriesTab.tsx @@ -7,9 +7,9 @@ * 使用三层架构样式系统,支持深浅色主题 * * 布局结构: - * - 顶部:Header区域(红色框框) - * - 左侧:分类列表(黄色框框,固定不滚动) - * - 右侧:选项卡片列表(绿色框框,可滚动) + * - 顶部:说明区域 + * - 左侧:分类列表 + * - 右侧:选项卡片列表 * * @created 2025-01-XX(拆分自 page.tsx) * @component @@ -583,14 +583,14 @@ export default function CategoriesTab({ showToast, onDataChange, isSuperAdmin = - {/* 主要内容区域:左右分栏 */} -
- {/* 黄色框框:左侧分类列表(固定不滚动) */} -
+ {/* 主要内容区域:桌面左右分栏,窄屏上下排列 */} +
+ {/* 分类列表 */} +

分类列表 @@ -734,11 +734,11 @@ export default function CategoriesTab({ showToast, onDataChange, isSuperAdmin = {disabledFieldMeta.map((field) => (

-
+

{field.label}

-

+

{field.key} · {field.source === 'standard' ? '标准字段' : '模板字段'}

@@ -757,7 +757,7 @@ export default function CategoriesTab({ showToast, onDataChange, isSuperAdmin = )}
-
+
- {/* 绿色框框:右侧选项卡片列表(页面级滚动,显示所有字段) */} + {/* 选项卡片列表(页面级滚动,显示所有字段) */}
{orderedCategories.map((category) => { diff --git a/components/ui/Modal.tsx b/components/ui/Modal.tsx index 733c36c..8470dc9 100644 --- a/components/ui/Modal.tsx +++ b/components/ui/Modal.tsx @@ -18,7 +18,7 @@ import { useThemeStyles, cn } from '@/lib/ui-styles' export type ModalSize = 'xs' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge' | 'fullscreen' -const MODAL_BORDER_RADIUS = 12 +const MODAL_BORDER_RADIUS = 8 const sizeStyleMap: Record = { xs: { width: 'min(90vw, 20rem)', maxWidth: '20rem' },