/* 对齐原型 institution-report-library 圆角体系: * --radius: 8px(按钮/表单) * --radius-lg: 12px(弹窗) * 汇总卡 / 上传区等局部:4~7px */ .erl-page { min-width: 0; } .erl-page-desc { font-size: 14px; color: #64748b; margin: -4px 0 16px; line-height: 1.6; } /* 顶栏汇总 - 原型 .report-library-summary>div { border-radius: 6px } */ .erl-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 11px; margin-bottom: 16px; } .erl-summary-item { padding: 13px; background: #fff; border: 1px solid #dce4ec; border-radius: 6px; } .erl-summary-item span, .erl-summary-item strong { display: block; } .erl-summary-item span { font-size: 14px; color: #64748b; } .erl-summary-item strong { font-size: 19px; margin-top: 2px; color: #0f172a; font-weight: 600; line-height: 1.2; } /* 报告名称文件图标 - 原型 .report-file-cell i { border-radius: 4px } */ .erl-file-cell { display: flex; align-items: center; gap: 7px; min-width: 0; } .erl-file-cell i { flex: none; width: 34px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 4px; background: #fff1f2; color: #dc2626; font-size: 14px; font-style: normal; font-weight: 700; } .erl-file-cell a, .erl-file-cell span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; } .erl-report-no { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; } .erl-status-link { display: inline-block; } .erl-action-btns { display: flex; gap: 6px; flex-wrap: wrap; } /* 原型 .tag { border-radius: 999px } + .tag-success/warning/info/danger */ .erl-tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 14px; font-weight: 500; line-height: 1.4; background: #f1f5f9; color: #475569; } .erl-tag-success { background: #d1fae5; color: #065f46; } .erl-tag-warning { background: #fef3c7; color: #92400e; } .erl-tag-info { background: #dbeafe; color: #1e40af; } .erl-tag-danger { background: #fee2e2; color: #991b1b; } /* 上传弹窗 - 原型 .modal { border-radius: var(--radius-lg)=12px } */ .erl-modal-title { line-height: 1.3; } .erl-modal-subtitle { margin-top: 3px; font-size: 14px; color: #64748b; font-weight: 400; } .erl-upload-modal { .micro-temp-modal-content { border-radius: 12px; overflow: hidden; } .micro-temp-modal-body { max-height: 72vh; overflow-y: auto; &::-webkit-scrollbar { width: 0; height: 0; display: none; } } } /* 原型单层虚线框,避免 Dragger 内外双边框 */ .erl-upload-box { margin-bottom: 16px; border: 1px dashed #78aee8; border-radius: 7px; background: #f4f9ff; cursor: pointer; overflow: hidden; } .erl-upload-trigger { display: block; width: 100%; .micro-temp-upload, .micro-temp-upload-wrapper, .micro-temp-upload-select { display: block !important; width: 100% !important; } .micro-temp-upload-select { border: none !important; background: transparent !important; padding: 0 !important; } /* 清除 antd Upload 默认边框/伪元素,避免左侧边框条与内层重复框 */ &::before, &::after, .micro-temp-upload::before, .micro-temp-upload::after, .micro-temp-upload-select::before, .micro-temp-upload-select::after { display: none !important; content: none !important; border: none !important; } } .erl-upload-box-inner { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 13px; padding: 16px; text-align: left; } /* 原型 .report-library-upload-icon { border-radius: 6px } */ .erl-upload-icon { width: 52px; height: 58px; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: #fff1f2; color: #dc2626; font-size: 14px; font-weight: 700; } .erl-upload-text strong, .erl-upload-text p, .erl-upload-text span { display: block; } .erl-upload-text strong { font-size: 14px; color: #0f172a; } .erl-upload-text p { margin: 3px 0; font-size: 14px; color: #64748b; line-height: 1.5; } .erl-upload-text span { font-size: 14px; color: #2563eb; } /* 原型 .report-library-upload-tip { border-radius: 6px } / tip span { 10px } */ .erl-upload-tip { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 13px; padding: 10px 12px; border-radius: 6px; background: #f3f6f9; } .erl-upload-tip strong { color: #334155; } .erl-upload-tip span { padding: 3px 7px; border-radius: 10px; background: #fff; color: #64748b; } .erl-detail-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; } /* 变更时间:2026-08-11 查看详情改为与「上传历史报告」一致的排版样式 */ .erl-detail-form { margin-top: 16px; } .erl-detail-item { display: flex; align-items: baseline; padding: 8px 10px; background: #f8fafc; border: 1px solid #eef2f7; border-radius: 8px; min-height: 40px; label { flex: 0 0 84px; color: #64748b; font-size: 14px; } span { flex: 1; color: #1f2937; font-size: 14px; word-break: break-all; } } /* 只读查看态的正式报告文件框:弱化边框,去掉上传交互 */ .erl-upload-box-view { border-style: solid; border-color: #e2e8f0; background: #f8fafc; } .erl-detail-attachments { margin-top: 16px; .erl-detail-attachments-block { margin-bottom: 12px; } .erl-detail-attachments-title { font-size: 14px; color: #64748b; margin-bottom: 6px; } .ant-btn-link { padding-left: 0; } } .erl-loading { text-align: center; padding: 40px 0; color: #999; } .erl-rectify-meta { margin-bottom: 16px; padding: 12px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 14px; color: #334155; line-height: 1.7; } .erl-rectify-meta label { color: #64748b; margin-right: 4px; } .erl-rectify-meta > div + div { margin-top: 6px; } /* 本页弹窗统一 12px(原型 --radius-lg) */ .erl-page ~ div .micro-temp-modal-content, .micro-temp-modal-root .micro-temp-modal-content { border-radius: 12px; } @media (max-width: 1200px) { .erl-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); } } @media (max-width: 768px) { /* 原型 media:.report-library-summary { grid-template-columns: repeat(2,1fr) } */ .erl-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } .erl-upload-box-inner { grid-template-columns: 54px 1fr; } .erl-upload-box-inner > .micro-temp-btn, .erl-upload-box-inner > button { grid-column: 1 / -1; justify-self: start; } } @media (max-width: 480px) { .erl-summary { grid-template-columns: 1fr; } }