feat: 完成布局优化 - 操作列固定、批量按钮自适应、分类标签带数量

优化内容:
1. 表格布局:
   - 使用 calc(100vw - 160px) 确保表格不超出视口
   - 操作列 fixed='right' 固定在右侧,宽度 300px
   - 按钮 3 个后自动换行 (max-width: 200px)
   - 恢复合理列宽,不再过度压缩

2. 批量操作区域:
   - 容器改为 inline-block,宽度自适应按钮内容
   - 背景宽度与按钮总宽度匹配

3. 分类标签:
   - 显示数量 (如 '待处理 (20)')
   - 点击切换筛选,去掉误导的 'X' 图标

4. 删除功能:
   - 操作列增加删除按钮
   - 删除前弹出确认对话框

5. 系统日志:
   - 修复后端日志路径 (parents[4])
   - 404 时显示友好提示

6. 其他:
   - 左侧菜单宽度 160px
   - 所有功能保留 (登录、用户管理、批量操作等)
This commit is contained in:
lt
2026-04-27 11:32:17 +08:00
parent 59d2a76df4
commit 277b13eaae
137 changed files with 8615 additions and 1213 deletions
+356 -68
View File
@@ -1,4 +1,66 @@
[
{
"id": "TOPIC-BBB1CC",
"title": "城市农业新趋势: 东京垂直农场:10平米 balcony 年产蔬菜 100kg与上海阳台种菜年省 3000 元:居民自种调查的中国落地路径",
"cases": [
"GLO-001",
"CHN-001",
"CHN-001"
],
"audience": "城市焦虑青年(26-35岁)",
"china_pain_points": "城市农业在中国面临的主要问题",
"localization_solution": "国际案例中国化适配方案",
"mvp_actions": "读者可立即尝试的3个行动",
"estimated_length": 2500,
"priority_score": 25,
"field": "可持续生活系统",
"format": "趋势洞察 + 实操指南",
"core_concept": "基于3个城市农业案例,提炼本土化落地策略",
"audience_pain": "城市农业领域常见的痛点与困惑",
"unique_angle": "国际案例本土化:东京垂直农场:10平米 balcony 年产蔬菜 100kg与上海阳台种菜年省 3000 元:居民自种调查的中国实践",
"priority": "中",
"total_score": 50,
"compliance_score": 100,
"source_file": "automation/data/sustainability_topics.json",
"ready_at": "2026-04-21",
"published_at": null,
"platform_urls": {},
"status": "待发布",
"lock_by": null,
"lock_at": null,
"created_at": "2026-04-20T08:10:56.670892"
},
{
"id": "TOPIC-BDD1CD",
"title": "城市农业新趋势: 东京垂直农场:10平米 balcony 年产蔬菜 100kg与上海阳台种菜年省 3000 元:居民自种调查的中国落地路径",
"cases": [
"GLO-001",
"CHN-001",
"CHN-001"
],
"audience": "城市焦虑青年(26-35岁)",
"china_pain_points": "城市农业在中国面临的主要问题",
"localization_solution": "国际案例中国化适配方案",
"mvp_actions": "读者可立即尝试的3个行动",
"estimated_length": 2500,
"priority_score": 25,
"field": "可持续生活系统",
"format": "趋势洞察 + 实操指南",
"core_concept": "基于3个城市农业案例,提炼本土化落地策略",
"audience_pain": "城市农业领域常见的痛点与困惑",
"unique_angle": "国际案例本土化:东京垂直农场:10平米 balcony 年产蔬菜 100kg与上海阳台种菜年省 3000 元:居民自种调查的中国实践",
"priority": "中",
"total_score": 50,
"compliance_score": 100,
"source_file": "automation/data/sustainability_topics.json",
"ready_at": "2026-04-22",
"published_at": null,
"platform_urls": {},
"status": "待发布",
"lock_by": null,
"lock_at": null,
"created_at": "2026-04-21T05:00:36.188294"
},
{
"id": "A01",
"title": "远程工作2026中国指南:从'不可能'到'可行'的路径图",
@@ -8,13 +70,13 @@
"audience_pain": "想远程但不知如何合法操作,担心被边缘化",
"unique_angle": "对比GitLab/Zapier海外实践,本土化落地策略",
"priority": "高",
"priority_score": 10,
"total_score": 53,
"priority_score": 20,
"total_score": 40,
"status": "待发布",
"cases": [],
"source_file": "strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md",
"created_at": "2026-04-16T09:42:54.436643",
"ready_at": "2026-04-18",
"ready_at": "2026-04-23",
"compliance_score": 100,
"lock_by": null,
"lock_at": null,
@@ -30,16 +92,18 @@
"audience_pain": "想用AI赚钱但不知从何开始,怕踩坑",
"unique_angle": "对比Fiverr海外繁荣 vs 国内空白,提供本土化接单路径",
"priority": "高",
"priority_score": 10,
"total_score": 52,
"status": "待发布",
"priority_score": 20,
"total_score": 40,
"status": "待审查",
"cases": [],
"source_file": "strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md",
"created_at": "2026-04-16T09:42:54.436654",
"ready_at": "2026-04-19",
"compliance_score": 100,
"lock_by": null,
"lock_at": null
"lock_at": null,
"platform_urls": {},
"published_at": null
},
{
"id": "A03",
@@ -50,14 +114,18 @@
"audience_pain": "想地理套利但被签证和社保困扰",
"unique_angle": "不是简单列出签证,而是给出中国护照持有者的可行组合方案(如泰国+大马+巴厘岛)",
"priority": "高",
"priority_score": 10,
"total_score": 51,
"status": "待处理",
"priority_score": 20,
"total_score": 40,
"status": "待发布",
"cases": [],
"source_file": "strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md",
"created_at": "2026-04-16T09:42:54.436656",
"ready_at": "2026-04-16",
"compliance_score": 100
"ready_at": "2026-04-25",
"compliance_score": 100,
"lock_by": null,
"lock_at": null,
"platform_urls": {},
"published_at": null
},
{
"id": "A04",
@@ -68,14 +136,18 @@
"audience_pain": "想单干但怕失败、缺启动资金、不懂营销",
"unique_angle": "真实日志形式,展示完整从0到营收的过程,不美化",
"priority": "高",
"priority_score": 10,
"total_score": 50,
"status": "待处理",
"priority_score": 20,
"total_score": 40,
"status": "待审查",
"cases": [],
"source_file": "strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md",
"created_at": "2026-04-16T09:42:54.436658",
"ready_at": "2026-04-16",
"compliance_score": 100
"ready_at": "2026-04-20",
"compliance_score": 100,
"lock_by": null,
"lock_at": null,
"platform_urls": {},
"published_at": null
},
{
"id": "A05",
@@ -86,14 +158,18 @@
"audience_pain": "学什么都不放心,怕投入时间后AI又取代",
"unique_angle": "将全球宏观报告转化为个人技能地图,提供可视化工具",
"priority": "中",
"priority_score": 7,
"total_score": 50,
"priority_score": 20,
"total_score": 40,
"status": "待处理",
"cases": [],
"source_file": "strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md",
"created_at": "2026-04-16T09:42:54.436660",
"ready_at": "2026-04-17",
"compliance_score": 100
"compliance_score": 100,
"lock_by": null,
"lock_at": null,
"platform_urls": {},
"published_at": null
},
{
"id": "B01",
@@ -104,14 +180,18 @@
"audience_pain": "想种但怕麻烦、怕亏本、不知道种什么",
"unique_angle": "用财务思维算账(投入/产出/时间成本),打破'种菜必须有地'的思维",
"priority": "高",
"priority_score": 10,
"total_score": 52,
"priority_score": 20,
"total_score": 40,
"status": "待处理",
"cases": [],
"source_file": "strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md",
"created_at": "2026-04-16T09:42:54.436665",
"ready_at": "2026-04-16",
"compliance_score": 100
"ready_at": "2026-04-20",
"compliance_score": 100,
"lock_by": null,
"lock_at": null,
"platform_urls": {},
"published_at": null
},
{
"id": "B02",
@@ -122,14 +202,18 @@
"audience_pain": "想环保但觉得做不到、不知道从哪减",
"unique_angle": "极限实验(100L/年)+ 可执行步骤(从塑料减量开始),不理想化",
"priority": "高",
"priority_score": 10,
"total_score": 51,
"priority_score": 20,
"total_score": 40,
"status": "待处理",
"cases": [],
"source_file": "strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md",
"created_at": "2026-04-16T09:42:54.436667",
"ready_at": "2026-04-16",
"compliance_score": 100
"ready_at": "2026-04-21",
"compliance_score": 100,
"lock_by": null,
"lock_at": null,
"platform_urls": {},
"published_at": null
},
{
"id": "B03",
@@ -140,14 +224,18 @@
"audience_pain": "觉得低碳=更贵,不敢尝试",
"unique_angle": "用财务数据说话(省8万),打破'环保=烧钱'误解",
"priority": "高",
"priority_score": 10,
"total_score": 50,
"priority_score": 20,
"total_score": 40,
"status": "待处理",
"cases": [],
"source_file": "strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md",
"created_at": "2026-04-16T09:42:54.436669",
"ready_at": "2026-04-16",
"compliance_score": 100
"compliance_score": 100,
"lock_by": null,
"lock_at": null,
"platform_urls": {},
"published_at": null
},
{
"id": "B04",
@@ -158,14 +246,18 @@
"audience_pain": "想买二手但怕质量差、怕麻烦",
"unique_angle": "10件物品的具体交易记录和对比(手机、相机、家具等),可复制",
"priority": "中",
"priority_score": 7,
"total_score": 50,
"priority_score": 20,
"total_score": 40,
"status": "待处理",
"cases": [],
"source_file": "strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md",
"created_at": "2026-04-16T09:42:54.436671",
"ready_at": "2026-04-17",
"compliance_score": 100
"compliance_score": 100,
"lock_by": null,
"lock_at": null,
"platform_urls": {},
"published_at": null
},
{
"id": "B05",
@@ -176,14 +268,18 @@
"audience_pain": "想组织但怕纠纷、不懂法律、协调不了邻居",
"unique_angle": "从1个友好小区试点开始,成功后复制,降低风险",
"priority": "高",
"priority_score": 10,
"total_score": 49,
"priority_score": 20,
"total_score": 40,
"status": "待处理",
"cases": [],
"source_file": "strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md",
"created_at": "2026-04-16T09:42:54.436673",
"ready_at": "2026-04-16",
"compliance_score": 100
"compliance_score": 100,
"lock_by": null,
"lock_at": null,
"platform_urls": {},
"published_at": null
},
{
"id": "C01",
@@ -194,14 +290,18 @@
"audience_pain": "想系统化知识但担心云存储安全,怕复杂",
"unique_angle": "强调数据主权,从API调用到本地部署的渐进路线",
"priority": "中",
"priority_score": 7,
"total_score": 52,
"priority_score": 20,
"total_score": 40,
"status": "待处理",
"cases": [],
"source_file": "strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md",
"created_at": "2026-04-16T09:42:54.436675",
"ready_at": "2026-04-18",
"compliance_score": 100
"compliance_score": 100,
"lock_by": null,
"lock_at": null,
"platform_urls": {},
"published_at": null
},
{
"id": "C02",
@@ -212,12 +312,16 @@
"audience_pain": "学了方法坚持不了,工具复杂难上手",
"unique_angle": "极简版(4个区)+ 每日5分钟习惯养成,降低门槛",
"priority": "中",
"priority_score": 7,
"total_score": 51,
"priority_score": 20,
"total_score": 40,
"status": "待处理",
"cases": [],
"source_file": "strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md",
"created_at": "2026-04-16T09:42:54.436677"
"created_at": "2026-04-16T09:42:54.436677",
"lock_by": null,
"lock_at": null,
"platform_urls": {},
"published_at": null
},
{
"id": "C03",
@@ -228,12 +332,16 @@
"audience_pain": "学东西记不住,自以为懂了但其实不会",
"unique_angle": "用AI当'测试官',验证你的理解深度,非被动接受知识",
"priority": "中",
"priority_score": 7,
"total_score": 50,
"priority_score": 20,
"total_score": 40,
"status": "待处理",
"cases": [],
"source_file": "strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md",
"created_at": "2026-04-16T09:42:54.436679"
"created_at": "2026-04-16T09:42:54.436679",
"lock_by": null,
"lock_at": null,
"platform_urls": {},
"published_at": null
},
{
"id": "C04",
@@ -244,12 +352,16 @@
"audience_pain": "想用AI助手但又怕数据泄露,不知如何起步",
"unique_angle": "不是直接推本地部署(成本高),而是API优先,敏感时再本地策略",
"priority": "中",
"priority_score": 7,
"total_score": 50,
"priority_score": 20,
"total_score": 40,
"status": "待处理",
"cases": [],
"source_file": "strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md",
"created_at": "2026-04-16T09:42:54.436680"
"created_at": "2026-04-16T09:42:54.436680",
"lock_by": null,
"lock_at": null,
"platform_urls": {},
"published_at": null
},
{
"id": "C05",
@@ -260,12 +372,16 @@
"audience_pain": "不知道学什么,学了不知道用在哪,职业迷茫",
"unique_angle": "技能树而非技能列表,展示技能间关联和成长路径",
"priority": "中",
"priority_score": 7,
"total_score": 49,
"priority_score": 20,
"total_score": 40,
"status": "待处理",
"cases": [],
"source_file": "strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md",
"created_at": "2026-04-16T09:42:54.436682"
"created_at": "2026-04-16T09:42:54.436682",
"lock_by": null,
"lock_at": null,
"platform_urls": {},
"published_at": null
},
{
"id": "D01",
@@ -276,14 +392,18 @@
"audience_pain": "开发者不了解国内AI伦理法规,怕踩雷",
"unique_angle": "不是泛泛而谈伦理,而是具体到'备案流程'和'自查表',即拿即用",
"priority": "高",
"priority_score": 10,
"total_score": 51,
"priority_score": 20,
"total_score": 40,
"status": "待处理",
"cases": [],
"source_file": "strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md",
"created_at": "2026-04-16T09:42:54.436687",
"ready_at": "2026-04-16",
"compliance_score": 100
"compliance_score": 100,
"lock_by": null,
"lock_at": null,
"platform_urls": {},
"published_at": null
},
{
"id": "D02",
@@ -294,12 +414,16 @@
"audience_pain": "想减少屏幕时间但又怕错过重要信息,自律困难",
"unique_angle": "真实实验记录(not理论),展示戒断前后的生活变化数据",
"priority": "中",
"priority_score": 7,
"total_score": 50,
"priority_score": 20,
"total_score": 40,
"status": "待处理",
"cases": [],
"source_file": "strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md",
"created_at": "2026-04-16T09:42:54.436689"
"created_at": "2026-04-16T09:42:54.436689",
"lock_by": null,
"lock_at": null,
"platform_urls": {},
"published_at": null
},
{
"id": "D03",
@@ -310,12 +434,16 @@
"audience_pain": "给父母买智能设备但他们不用,功能复杂",
"unique_angle": "不是推荐产品,而是总结5个设计原则,让读者自己改造设备",
"priority": "中",
"priority_score": 7,
"total_score": 49,
"priority_score": 20,
"total_score": 40,
"status": "待处理",
"cases": [],
"source_file": "strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md",
"created_at": "2026-04-16T09:42:54.436690"
"created_at": "2026-04-16T09:42:54.436690",
"lock_by": null,
"lock_at": null,
"platform_urls": {},
"published_at": null
},
{
"id": "D04",
@@ -326,12 +454,16 @@
"audience_pain": "不知如何让孩子正确认识AI,怕沉迷又怕脱节",
"unique_angle": "真实父子12周项目记录,提供可复制的课程大纲",
"priority": "中",
"priority_score": 7,
"total_score": 48,
"priority_score": 20,
"total_score": 40,
"status": "待处理",
"cases": [],
"source_file": "strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md",
"created_at": "2026-04-16T09:42:54.436692"
"created_at": "2026-04-16T09:42:54.436692",
"lock_by": null,
"lock_at": null,
"platform_urls": {},
"published_at": null
},
{
"id": "D05",
@@ -342,13 +474,169 @@
"audience_pain": "想用科技但又怕失去'自然感',追求矛盾",
"unique_angle": "技术与情感连接的平衡方案,AI只做幕后,人工保留仪式",
"priority": "高",
"priority_score": 10,
"total_score": 48,
"priority_score": 20,
"total_score": 40,
"status": "待处理",
"cases": [],
"source_file": "strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md",
"created_at": "2026-04-16T09:42:54.436694",
"ready_at": "2026-04-16",
"compliance_score": 100
"ready_at": "2026-04-20",
"compliance_score": 100,
"lock_by": null,
"lock_at": null,
"platform_urls": {},
"published_at": null
},
{
"id": "D06",
"title": "AI辅导孩子写作业:工具选型与使用边界",
"field": "科技人文交叉",
"format": "实操指南 + 场景分析",
"core_concept": "对比国内外AI教育工具(ChatGPT、DeepSeek、Khanmigo),分析家长监督下的使用边界,提供安全、有效的家庭AI辅导方案",
"audience_pain": "想用AI帮孩子学习,但担心依赖过度、答案错误、隐私泄露",
"unique_angle": "结合芬兰AI教育理念,本土化落地建议(监管、时段、任务类型)",
"priority": "中",
"priority_score": 20,
"total_score": 40,
"status": "待处理",
"cases": [],
"source_file": "strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md",
"created_at": "2026-04-19T15:02:00.198416",
"ready_at": "2026-04-22",
"compliance_score": 100,
"lock_by": null,
"lock_at": null,
"platform_urls": {},
"published_at": null
},
{
"id": "D07",
"title": "用AI自制科普动画:父亲的亲子项目实践",
"field": "科技人文交叉",
"format": "项目日记 + 教程",
"core_concept": "记录与10岁孩子一起用AI工具(文本生成、图像生成、视频合成)制作科普动画的12周过程,分享工具链、协作方式和教育心得",
"audience_pain": "想高质量陪伴孩子,但不知道如何利用科技开展亲子活动,怕孩子沉迷屏幕",
"unique_angle": "亲身实践(非理论)+ 详细工具清单 + 每周项目文档开源,可复制的家庭创客教育方案",
"priority": "中",
"priority_score": 20,
"total_score": 40,
"status": "待处理",
"cases": [],
"source_file": "strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md",
"created_at": "2026-04-19T15:02:00.198445",
"ready_at": "2026-04-24",
"compliance_score": 100,
"lock_by": null,
"lock_at": null,
"platform_urls": {},
"published_at": null
},
{
"id": "TOPIC-63F42C",
"title": "城市农业新趋势: 东京垂直农场:10平米 balcony 年产蔬菜 100kg与上海阳台种菜年省 3000 元:居民自种调查的中国落地路径",
"cases": [
"GLO-001",
"CHN-001",
"CHN-001"
],
"audience": "城市焦虑青年(26-35岁)",
"china_pain_points": "城市农业在中国面临的主要问题",
"localization_solution": "国际案例中国化适配方案",
"mvp_actions": "读者可立即尝试的3个行动",
"estimated_length": 2500,
"priority_score": 8,
"field": "可持续生活系统",
"format": "趋势洞察 + 实操指南",
"core_concept": "基于3个城市农业案例,提炼本土化落地策略",
"audience_pain": "城市农业领域常见的痛点与困惑",
"unique_angle": "国际案例本土化:东京垂直农场:10平米 balcony 年产蔬菜 100kg与上海阳台种菜年省 3000 元:居民自种调查的中国实践",
"priority": "中",
"total_score": 80,
"compliance_score": 100,
"source_file": "automation/data/sustainability_topics.json",
"ready_at": null,
"published_at": null,
"platform_urls": {},
"status": "待处理",
"lock_by": null,
"lock_at": null,
"created_at": "2026-04-22T08:39:42.909753"
},
{
"id": "TOPIC-63F42C",
"title": "城市农业新趋势: 东京垂直农场:10平米 balcony 年产蔬菜 100kg与上海阳台种菜年省 3000 元:居民自种调查的中国落地路径",
"cases": [
"GLO-001",
"CHN-001",
"CHN-001"
],
"audience": "城市焦虑青年(26-35岁)",
"china_pain_points": "城市农业在中国面临的主要问题",
"localization_solution": "国际案例中国化适配方案",
"mvp_actions": "读者可立即尝试的3个行动",
"estimated_length": 2500,
"priority_score": 8,
"field": "可持续生活系统",
"format": "趋势洞察 + 实操指南",
"core_concept": "基于3个城市农业案例,提炼本土化落地策略",
"audience_pain": "城市农业领域常见的痛点与困惑",
"unique_angle": "国际案例本土化:东京垂直农场:10平米 balcony 年产蔬菜 100kg与上海阳台种菜年省 3000 元:居民自种调查的中国实践",
"priority": "中",
"total_score": 80,
"compliance_score": 100,
"source_file": "automation/data/sustainability_topics.json",
"ready_at": null,
"published_at": null,
"platform_urls": {},
"status": "待处理",
"lock_by": null,
"lock_at": null,
"created_at": "2026-04-22T08:52:14.499370"
},
{
"id": "A02",
"title": "测试选题:移除字数标注",
"field": "测试",
"status": "待处理",
"priority": "高",
"priority_score": 20,
"total_score": 30,
"created_at": "2026-04-22T14:00:00",
"cases": [],
"lock_by": null,
"lock_at": null,
"published_at": null,
"platform_urls": {}
},
{
"id": "TOPIC-01DEB4",
"title": "城市农业新趋势: 东京垂直农场:10平米 balcony 年产蔬菜 100kg与上海阳台种菜年省 3000 元:居民自种调查的中国落地路径",
"cases": [
"GLO-001",
"CHN-001",
"CHN-001"
],
"audience": "城市焦虑青年(26-35岁)",
"china_pain_points": "城市农业在中国面临的主要问题",
"localization_solution": "国际案例中国化适配方案",
"mvp_actions": "读者可立即尝试的3个行动",
"estimated_length": 2500,
"priority_score": 8,
"field": "可持续生活系统",
"format": "趋势洞察 + 实操指南",
"core_concept": "基于3个城市农业案例,提炼本土化落地策略",
"audience_pain": "城市农业领域常见的痛点与困惑",
"unique_angle": "国际案例本土化:东京垂直农场:10平米 balcony 年产蔬菜 100kg与上海阳台种菜年省 3000 元:居民自种调查的中国实践",
"priority": "中",
"total_score": 80,
"compliance_score": 100,
"source_file": "automation/data/sustainability_topics.json",
"ready_at": null,
"published_at": null,
"platform_urls": {},
"status": "待处理",
"lock_by": null,
"lock_at": null,
"created_at": "2026-04-23T10:38:49.999118"
}
]