Your Name 952e7d8dd0 docs: 移除审计日志和舆情预警功能
- 从 User_Role_Interfaces.md 删除 4.4 审计日志和 4.6 舆情预警中心章节
- 更新品牌方端侧边栏和移动端导航,移除相关菜单项
- 从 FeatureSummary.md 删除 3.8 审计日志与证据导出和 3.9 舆情预警中心
- 从 P1/P2 功能列表和角色-功能映射表移除相关功能
- 更新 PRD.md 中审计日志相关表述为操作记录
- 更新 UIDesign.md 和 UIDesignSpec.md 功能清单和页面映射
- 更新 frontend 代码中的文案引用

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 20:04:44 +08:00

92 lines
2.5 KiB
TypeScript

/**
* 图标映射常量
* 设计稿参考: UIDesignSpec.md 2.2
* 使用 Lucide Icons 图标库
*/
// 导航图标映射
export const NAV_ICONS = {
// 通用导航
home: 'house', // 工作台/首页
tasks: 'clipboard-list', // 任务
review: 'circle-check', // 审核/审批
reviewDesk: 'clipboard-check', // 审核台
messages: 'bell', // 消息/通知
profile: 'user', // 个人中心
// 侧边栏导航
creators: 'users', // 达人管理
dashboard: 'chart-column', // 数据看板/报表
agencies: 'building-2', // 代理商管理
finalReview: 'shield-check', // 终审台
settings: 'settings', // 系统设置
brief: 'file-text', // Brief管理
versionCompare: 'git-compare', // 版本比对
} as const;
// 操作图标映射
export const ACTION_ICONS = {
filter: 'sliders-horizontal', // 筛选
search: 'search', // 搜索
add: 'plus', // 添加
edit: 'pencil', // 编辑
view: 'eye', // 查看
download: 'download', // 下载/导出
arrowRight: 'chevron-right', // 箭头右
arrowDown: 'chevron-down', // 箭头下
} as const;
// 状态栏图标映射
export const STATUS_BAR_ICONS = {
signal: 'signal',
wifi: 'wifi',
battery: 'battery-full',
} as const;
// 其他图标映射
export const MISC_ICONS = {
security: 'shield-check', // 隐私与安全
info: 'info', // 关于我们
help: 'message-circle', // 帮助与反馈
} as const;
// 图标尺寸常量
export const ICON_SIZES = {
bottomNav: 24,
sidebar: 20,
button: 16,
statusBar: 16,
} as const;
// Lucide React 图标导入映射 (便于动态使用)
export const LUCIDE_ICON_MAP = {
'house': 'House',
'clipboard-list': 'ClipboardList',
'circle-check': 'CircleCheck',
'clipboard-check': 'ClipboardCheck',
'bell': 'Bell',
'user': 'User',
'users': 'Users',
'chart-column': 'ChartColumn',
'triangle-alert': 'TriangleAlert',
'building-2': 'Building2',
'scroll-text': 'ScrollText',
'settings': 'Settings',
'file-text': 'FileText',
'git-compare': 'GitCompare',
'sliders-horizontal': 'SlidersHorizontal',
'search': 'Search',
'plus': 'Plus',
'pencil': 'Pencil',
'eye': 'Eye',
'download': 'Download',
'chevron-right': 'ChevronRight',
'chevron-down': 'ChevronDown',
'signal': 'Signal',
'wifi': 'Wifi',
'battery-full': 'BatteryFull',
'shield-check': 'ShieldCheck',
'info': 'Info',
'message-circle': 'MessageCircle',
} as const;