添加交叉评查菜单页面,添加单点登录相关逻辑(待完善)
This commit is contained in:
@@ -0,0 +1,275 @@
|
||||
/* 交叉评查上传页面样式 */
|
||||
|
||||
/* 步骤指示器样式 */
|
||||
.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: 75px;
|
||||
width: calc(100% - 50px);
|
||||
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);
|
||||
}
|
||||
}
|
||||
@@ -207,4 +207,114 @@
|
||||
.login-footer {
|
||||
color: #6b7280;
|
||||
}
|
||||
}
|
||||
|
||||
/* 临时管理员登录样式 */
|
||||
.temp-login-section {
|
||||
margin-top: 2rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.section-divider {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
margin: 1rem 0;
|
||||
}
|
||||
|
||||
.section-divider::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background-color: #e5e7eb;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.section-divider span {
|
||||
background-color: white;
|
||||
color: #9ca3af;
|
||||
padding: 0 1rem;
|
||||
font-size: 0.875rem;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.temp-login-form {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.temp-admin-login-button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.75rem;
|
||||
width: 100%;
|
||||
padding: 0.875rem 1.5rem;
|
||||
background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
font-size: 1rem;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.temp-admin-login-button:hover {
|
||||
background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
|
||||
}
|
||||
|
||||
.temp-admin-login-button:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.temp-admin-login-button i {
|
||||
font-size: 1.25rem;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.temp-login-tips {
|
||||
text-align: center;
|
||||
color: #f59e0b;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.temp-login-tips p {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.temp-login-tips i {
|
||||
font-size: 0.95rem;
|
||||
color: #f59e0b;
|
||||
}
|
||||
|
||||
/* 暗色主题下的临时登录样式 */
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.section-divider::before {
|
||||
background-color: #374151;
|
||||
}
|
||||
|
||||
.section-divider span {
|
||||
background-color: #1f2937;
|
||||
color: #6b7280;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user