339 lines
6.0 KiB
Plaintext
339 lines
6.0 KiB
Plaintext
|
|
/* 对齐原型 institution-report-library 圆角体系:
|
|||
|
|
* --radius: 8px(按钮/表单)
|
|||
|
|
* --radius-lg: 12px(弹窗)
|
|||
|
|
* 汇总卡 / 上传区等局部:4~7px
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
.erl-page {
|
|||
|
|
min-width: 0;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.erl-page-desc {
|
|||
|
|
font-size: 13px;
|
|||
|
|
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: 0.7rem;
|
|||
|
|
margin-bottom: 1rem;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.erl-summary-item {
|
|||
|
|
padding: 0.8rem;
|
|||
|
|
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: 0.65rem;
|
|||
|
|
color: #64748b;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.erl-summary-item strong {
|
|||
|
|
font-size: 1.18rem;
|
|||
|
|
margin-top: 0.15rem;
|
|||
|
|
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: 0.45rem;
|
|||
|
|
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: 0.55rem;
|
|||
|
|
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: 13px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.erl-status-link {
|
|||
|
|
display: inline-block;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.erl-action-btns {
|
|||
|
|
display: flex;
|
|||
|
|
gap: 0.35rem;
|
|||
|
|
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: 0.75rem;
|
|||
|
|
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: 0.2rem;
|
|||
|
|
font-size: 12px;
|
|||
|
|
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;
|
|||
|
|
scrollbar-width: none; /* Firefox */
|
|||
|
|
-ms-overflow-style: none; /* IE/Edge */
|
|||
|
|
|
|||
|
|
&::-webkit-scrollbar {
|
|||
|
|
width: 0;
|
|||
|
|
height: 0;
|
|||
|
|
display: none;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* 原型单层虚线框,避免 Dragger 内外双边框 */
|
|||
|
|
.erl-upload-box {
|
|||
|
|
margin-bottom: 1rem;
|
|||
|
|
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: 0.8rem;
|
|||
|
|
padding: 1rem;
|
|||
|
|
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: 0.7rem;
|
|||
|
|
font-weight: 700;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.erl-upload-text strong,
|
|||
|
|
.erl-upload-text p,
|
|||
|
|
.erl-upload-text span {
|
|||
|
|
display: block;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.erl-upload-text strong {
|
|||
|
|
font-size: 0.8rem;
|
|||
|
|
color: #0f172a;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.erl-upload-text p {
|
|||
|
|
margin: 0.18rem 0;
|
|||
|
|
font-size: 0.64rem;
|
|||
|
|
color: #64748b;
|
|||
|
|
line-height: 1.5;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.erl-upload-text span {
|
|||
|
|
font-size: 0.65rem;
|
|||
|
|
color: #2563eb;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* 原型 .report-library-upload-tip { border-radius: 6px } / tip span { 10px } */
|
|||
|
|
.erl-upload-tip {
|
|||
|
|
display: flex;
|
|||
|
|
align-items: center;
|
|||
|
|
gap: 0.45rem;
|
|||
|
|
flex-wrap: wrap;
|
|||
|
|
margin-top: 0.8rem;
|
|||
|
|
padding: 0.65rem 0.75rem;
|
|||
|
|
border-radius: 6px;
|
|||
|
|
background: #f3f6f9;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.erl-upload-tip strong {
|
|||
|
|
font-size: 0.68rem;
|
|||
|
|
color: #334155;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.erl-upload-tip span {
|
|||
|
|
padding: 0.2rem 0.42rem;
|
|||
|
|
border-radius: 10px;
|
|||
|
|
background: #fff;
|
|||
|
|
color: #64748b;
|
|||
|
|
font-size: 0.58rem;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.erl-detail-actions {
|
|||
|
|
display: flex;
|
|||
|
|
gap: 8px;
|
|||
|
|
flex-wrap: wrap;
|
|||
|
|
margin-top: 16px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.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: 13px;
|
|||
|
|
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;
|
|||
|
|
}
|
|||
|
|
}
|