feat(web): AI 工作台会话与文档卡片渲染增强
- aiConversationHtmlRenderer 识别单据记录类表格并渲染为卡片列表,新增删除申请单详情的禁用占位链接 - aiWorkbenchConversationStore 增加草稿删除后会话链接失效处理,避免点击已删除单据跳转 - aiApplicationPreviewActions 调整提交/草稿调用路径,PersonalWorkbenchAiMode 接入新的会话存储与渲染 - ConfirmDialog/TravelRequestDeleteDialog/useAppShell/AppShellRouteView 配套适配,同步更新相关前端测试
This commit is contained in:
@@ -321,6 +321,55 @@ function handleCancel() {
|
||||
max-height: min(420px, calc(100dvh - 292px));
|
||||
}
|
||||
|
||||
.shared-confirm-card--destructive {
|
||||
width: min(420px, calc(100vw - 40px));
|
||||
gap: 12px;
|
||||
padding: 20px 22px;
|
||||
border-color: rgba(var(--danger-rgb), 0.16);
|
||||
border-radius: 6px;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.97));
|
||||
box-shadow:
|
||||
0 18px 42px rgba(15, 23, 42, 0.16),
|
||||
0 1px 0 rgba(255, 255, 255, 0.92) inset;
|
||||
}
|
||||
|
||||
.shared-confirm-card--destructive .shared-confirm-badge {
|
||||
min-height: 24px;
|
||||
padding: 0 9px;
|
||||
font-size: 11px;
|
||||
font-weight: 850;
|
||||
}
|
||||
|
||||
.shared-confirm-card--destructive h4 {
|
||||
font-size: 19px;
|
||||
line-height: 1.42;
|
||||
font-weight: 850;
|
||||
}
|
||||
|
||||
.shared-confirm-card--destructive p {
|
||||
max-width: 34em;
|
||||
color: #64748b;
|
||||
font-size: 13px;
|
||||
line-height: 1.65;
|
||||
}
|
||||
|
||||
.shared-confirm-card--destructive .shared-confirm-actions {
|
||||
gap: 8px;
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.shared-confirm-card--destructive .shared-confirm-btn {
|
||||
min-width: 112px;
|
||||
min-height: 38px;
|
||||
border-radius: 6px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.shared-confirm-card--destructive .shared-confirm-btn.confirm.danger {
|
||||
box-shadow: 0 10px 20px rgba(var(--danger-rgb), 0.18);
|
||||
}
|
||||
|
||||
.shared-confirm-card--compact h4 {
|
||||
font-size: 15px;
|
||||
line-height: 1.35;
|
||||
|
||||
Reference in New Issue
Block a user