| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424 |
- .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;
- }
- }
|