.login-container { display: flex; width: 100%; height: 100vh; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); overflow: hidden; } /* 左侧装饰区域 */ .login-left { flex: 1; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%); position: relative; overflow: hidden; } .login-left::before { content: ''; position: absolute; width: 600px; height: 600px; background: rgba(255, 255, 255, 0.05); border-radius: 50%; top: -100px; left: -100px; } .login-left::after { content: ''; position: absolute; width: 400px; height: 400px; background: rgba(255, 255, 255, 0.08); border-radius: 50%; bottom: -100px; right: -50px; } .login-left-content { text-align: center; color: white; z-index: 1; padding: 40px; } .login-icon { font-size: 80px; color: white; margin-bottom: 24px; display: block; } .login-title { font-size: 36px; font-weight: 700; margin-bottom: 16px; letter-spacing: 2px; } .login-subtitle { font-size: 16px; opacity: 0.9; margin-bottom: 48px; font-weight: 300; letter-spacing: 1px; } .login-features { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; } .feature-item { display: flex; flex-direction: column; align-items: center; gap: 12px; } .feature-icon { width: 80px; height: 80px; background: rgba(255, 255, 255, 0.2); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 36px; backdrop-filter: blur(10px); transition: all 0.3s ease; } .feature-item:hover .feature-icon { background: rgba(255, 255, 255, 0.3); transform: translateY(-5px); } .feature-text { font-size: 14px; color: white; font-weight: 500; } /* 右侧登录表单 */ .login-right { width: 480px; display: flex; align-items: center; justify-content: center; background: white; padding: 40px; } .login-card { width: 100%; max-width: 400px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); border-radius: 8px; } .login-card-title { text-align: center; font-size: 28px; font-weight: 600; color: #1890ff; margin-bottom: 8px; } .login-card-subtitle { text-align: center; color: #666; font-size: 14px; margin-bottom: 32px; } .login-forgot { float: right; color: #1890ff; } .login-forgot:hover { color: #40a9ff; } .login-footer { text-align: center; margin-top: 24px; color: #999; font-size: 12px; } .login-footer p { margin: 0; } /* 选择页面样式 */ .welcome-section { text-align: center; color: white; } .user-avatar { background: rgba(255, 255, 255, 0.2); border: 3px solid rgba(255, 255, 255, 0.3); margin-bottom: 24px; } .welcome-title { font-size: 28px; font-weight: 600; margin-bottom: 8px; } .welcome-name { font-size: 24px; font-weight: 500; margin-bottom: 16px; opacity: 0.95; } .welcome-subtitle { font-size: 16px; opacity: 0.8; font-weight: 300; } .select-loading { flex: 1; display: flex; align-items: center; justify-content: center; background: white; } .select-card { width: 100%; max-width: 600px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); border-radius: 8px; min-height: 500px; display: flex; flex-direction: column; } .select-header { display: flex; align-items: center; margin-bottom: 24px; position: relative; } .back-btn { position: absolute; left: 0; padding: 0; } .select-title { flex: 1; text-align: center; font-size: 24px; font-weight: 600; color: #1890ff; margin: 0; } .search-section { margin-bottom: 20px; } .permissions-list { flex: 1; overflow-y: auto; max-height: 400px; margin-bottom: 20px; } .permission-card { border: 2px solid #f0f0f0; border-radius: 8px; transition: all 0.3s ease; } .permission-card:hover { border-color: #1890ff; box-shadow: 0 4px 12px rgba(24, 144, 255, 0.15); } .permission-card.selected { border-color: #1890ff; background: #e6f7ff; box-shadow: 0 4px 12px rgba(24, 144, 255, 0.2); } .permission-content { display: flex; align-items: center; gap: 16px; } .permission-icon { width: 48px; height: 48px; background: #e6f7ff; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #1890ff; } .permission-info { flex: 1; } .hospital-name { font-size: 16px; font-weight: 600; color: #262626; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; } .default-tag { font-size: 12px; padding: 0 6px; height: 20px; line-height: 18px; } .hospital-code { font-size: 12px; color: #8c8c8c; margin-bottom: 4px; } .group-name { font-size: 14px; color: #595959; display: flex; align-items: center; gap: 4px; } .empty-permissions { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px 0; } .select-footer { margin-top: auto; padding-top: 20px; border-top: 1px solid #f0f0f0; } /* 下拉框选择样式 */ .select-section { margin: 24px 0; } .select-section .ant-select-selector { border-radius: 8px !important; } .select-option-content { display: flex; align-items: center; gap: 8px; padding: 4px 0; } .select-option-hosp { font-weight: 500; color: #262626; } .select-option-code { color: #8c8c8c; font-size: 12px; } .select-option-group { margin-left: auto; color: #1890ff; font-size: 13px; } .select-option-default { color: #52c41a; font-size: 12px; } /* 响应式设计 */ @media (max-width: 1024px) { .login-left { flex: 0.6; } .login-right { width: 400px; } .login-title { font-size: 28px; } .login-icon { font-size: 60px; } .login-features { gap: 20px; } } @media (max-width: 768px) { .login-container { flex-direction: column; } .login-left { flex: none; padding: 40px 20px; } .login-right { width: 100%; padding: 20px; } .login-card { max-width: 100%; } .login-features { gap: 16px; } .feature-icon { width: 60px; height: 60px; font-size: 28px; } .login-title { font-size: 24px; } .login-subtitle { font-size: 14px; } }