/* 交叉评查上传页面样式 */ /* 步骤指示器样式 */ .steps-indicator { display: flex; justify-content: center; align-items: center; margin: 2rem 0 3rem 0; position: relative; max-width: 600px; margin-left: auto; margin-right: auto; } .step-item { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; flex: 1; } .step-item:not(:last-child)::after { content: ''; position: absolute; top: 25px; left: 135px; width: calc(100% - 70px); height: 2px; background-color: #e5e7eb; z-index: 1; } .step-item.completed:not(:last-child)::after { background-color: #059669; } .step-circle { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 1.1rem; margin-bottom: 0.75rem; transition: all 0.3s ease; position: relative; z-index: 3; } .step-circle.active { background-color: #059669; color: white; box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.2); } .step-circle.inactive { background-color: #e5e7eb; color: #6b7280; } .step-label { font-size: 0.9rem; color: #374151; font-weight: 500; text-align: center; white-space: nowrap; } /* 案卷类型选择器样式 */ .case-type-selector { display: flex; justify-content: center; margin-bottom: 3rem; } .case-type-options { display: flex; background-color: #f3f4f6; border-radius: 8px; padding: 4px; gap: 4px; } .case-type-option { padding: 0.75rem 2rem; border-radius: 6px; font-weight: 500; font-size: 0.95rem; cursor: pointer; transition: all 0.2s ease; border: none; background: transparent; } .case-type-option.active { background-color: #059669; color: white; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .case-type-option.inactive { color: #6b7280; background-color: transparent; } .case-type-option:hover:not(.active) { background-color: #e5e7eb; color: #374151; } /* 上传区域容器样式 */ .upload-section { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 3rem; max-width: 1000px; margin-left: auto; margin-right: auto; } .upload-item { display: flex; flex-direction: column; align-items: center; } .upload-item-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; color: #374151; font-weight: 500; font-size: 1rem; } .upload-item-icon { font-size: 1.5rem; color: #3b82f6; } /* 覆盖UploadArea组件的默认样式 */ .custom-upload-area.upload-area { width: 100%; max-width: 350px; min-height: 200px; border: 2px dashed #d1d5db !important; border-radius: 12px !important; background-color: #fafafa !important; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; padding: 2rem 1.5rem !important; } .custom-upload-area.upload-area:hover { border-color: #059669 !important; background-color: #f0fdf4 !important; } .custom-upload-area.upload-area.dragover { border-color: #059669 !important; background-color: #f0fdf4 !important; transform: scale(1.02); } .custom-upload-area .upload-icon { font-size: 2.5rem !important; color: #9ca3af; margin-bottom: 1rem; } .custom-upload-area .upload-text { color: #6b7280; font-size: 0.95rem; margin-bottom: 1rem; text-align: center; } .upload-tip-error { color: #dc2626; font-size: 0.85rem; text-align: center; margin-top: 1rem; font-weight: 500; } /* 完成按钮样式 */ .complete-button-container { display: flex; justify-content: center; margin-top: 2rem; } .complete-button { background-color: #059669; color: white; border: none; border-radius: 8px; padding: 0.875rem 3rem; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .complete-button:hover { background-color: #047857; transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); } .complete-button:active { transform: translateY(0); } .complete-button:disabled { background-color: #9ca3af; cursor: not-allowed; transform: none; box-shadow: none; } /* 响应式设计 */ @media (max-width: 768px) { .upload-section { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; } .steps-indicator { margin: 1.5rem 0 2rem 0; } .step-circle { width: 40px; height: 40px; font-size: 1rem; } .step-label { font-size: 0.8rem; } .case-type-option { padding: 0.625rem 1.5rem; font-size: 0.9rem; } .custom-upload-area.upload-area { max-width: 100%; min-height: 180px; padding: 1.5rem 1rem !important; } .complete-button { padding: 0.75rem 2.5rem; font-size: 0.95rem; } .step-item:not(:last-child)::after { left: 60px; width: calc(100% - 20px); } } .form-input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0; width: 0; height: 0; } .form-input[type="date"] { position: relative; z-index: 1; } .group-multiselect { width: 100%; max-width: 350px; background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); padding: 0.5rem 1.5rem 1rem 1.5rem; margin-top: 0.5rem; } .group-select-header { display: flex; align-items: center; font-size: 1rem; font-weight: 500; margin-bottom: 0.5rem; cursor: pointer; user-select: none; } .group-select-list { display: flex; flex-direction: column; gap: 0.5rem; } .group-select-item { display: flex; align-items: center; font-size: 1rem; margin-left: 0.5rem; user-select: none; } .group-select-item input[type="checkbox"] { width: 20px; height: 20px; accent-color: #059669; border-radius: 4px; margin-right: 0.5rem; border: 1.5px solid #d1d5db; transition: border 0.2s; } .group-select-item input[type="checkbox"]:hover { border: 1.5px solid #059669; } .group-select-item label { font-size: 1rem; color: #374151; cursor: pointer; margin-bottom: 0; } @media (max-width: 600px) { .group-multiselect { max-width: 100%; padding: 0.5rem 0.5rem 1rem 0.5rem; } .group-select-item label { font-size: 0.95rem; } }