feat: AI判赔预测表单UI优化 - 卡片布局/左右分栏/Word导出
- 结构化判赔预测表单改为卡片式布局(员工信息/争议事实/制度合规) - 左右分栏:左栏表单(2/5),右栏AI结果(3/5),结果区固定高度可滚动 - 系统带出字段用Database图标替代文字标注 - 移除违纪记录摘要重复内容 - 三期信息整合到员工信息卡片内 - 新增AI分析结果导出Word文档功能(docx库) - 后端roster API返回三期字段,修复特殊状态拼接逻辑 - 修复markdown渲染样式冲突(移除index.css中h1/h2/h3覆盖)
This commit is contained in:
@@ -13,10 +13,6 @@
|
||||
* {
|
||||
@apply box-border;
|
||||
}
|
||||
|
||||
h1 { @apply text-lg font-semibold; }
|
||||
h2 { @apply text-base font-semibold; }
|
||||
h3 { @apply text-sm font-medium; }
|
||||
}
|
||||
|
||||
@layer components {
|
||||
@@ -50,3 +46,9 @@
|
||||
body { background: white !important; }
|
||||
a { color: inherit !important; text-decoration: none !important; }
|
||||
}
|
||||
|
||||
/* Markdown 渲染美化增强(在 prose 基础上补充表格斑马纹和代码高亮) */
|
||||
.prose tbody tr:nth-child(even) { background-color: rgb(249 250 251); }
|
||||
.prose pre { @apply bg-gray-900 text-gray-100 rounded-md p-3 my-3 overflow-x-auto text-xs; }
|
||||
.prose pre code { @apply bg-transparent text-gray-100 p-0; }
|
||||
.prose code { @apply bg-gray-100 text-primary px-1 py-0.5 rounded text-xs font-mono; }
|
||||
|
||||
Reference in New Issue
Block a user