| 1 | .login { |
| 2 | display: flex; |
| 3 | height: 100%; |
| 4 | position: relative; |
| 5 | |
| 6 | :global { |
| 7 | .login-navbar { |
| 8 | position: absolute; |
| 9 | top: 0; |
| 10 | left: 0; |
| 11 | width: 100%; |
| 12 | height: 60px; |
| 13 | display: flex; |
| 14 | .login-navbar-darg { |
| 15 | width: 100%; |
| 16 | -webkit-app-region: drag; |
| 17 | user-select: none; |
| 18 | height: 100%; |
| 19 | } |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | //&:after { |
| 24 | // content: ""; |
| 25 | // display: block; |
| 26 | // position: absolute; |
| 27 | // width: 100%; |
| 28 | // height: 80px; |
| 29 | // user-select: none; |
| 30 | // -webkit-app-region: drag; |
| 31 | //} |
| 32 | |
| 33 | .login_wrap { |
| 34 | width: 50%; |
| 35 | height: 100%; |
| 36 | display: flex; |
| 37 | flex-direction: column; |
| 38 | justify-content: center; |
| 39 | align-items: center; |
| 40 | } |
| 41 | |
| 42 | .login_left { |
| 43 | .login_left_top { |
| 44 | margin-bottom: 50px; |
| 45 | } |
| 46 | |
| 47 | .login_left_texts { |
| 48 | padding: 30px; |
| 49 | li { |
| 50 | display: flex; |
| 51 | align-items: center; |
| 52 | margin-bottom: 40px; |
| 53 | } |
| 54 | |
| 55 | .login_left_texts_svg { |
| 56 | margin-right: 15px; |
| 57 | } |
| 58 | |
| 59 | .login_left_text { |
| 60 | display: flex; |
| 61 | flex-direction: column; |
| 62 | justify-content: left; |
| 63 | strong { |
| 64 | margin-bottom: 4px; |
| 65 | font-weight: 400; |
| 66 | font-size: var(--fs-lg); |
| 67 | } |
| 68 | p { |
| 69 | margin: 0; |
| 70 | font-size: var(--fs-xs); |
| 71 | color: var(--grayColor7); |
| 72 | } |
| 73 | strong, p { |
| 74 | text-align: left; |
| 75 | } |
| 76 | } |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | .loginCore { |
| 81 | width: 400px; |
| 82 | min-height: 380px; |
| 83 | padding: 40px; |
| 84 | background: #fff; |
| 85 | border-radius: 8px; |
| 86 | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); |
| 87 | } |
| 88 | |
| 89 | .phoneLogin { |
| 90 | width: 100%; |
| 91 | padding: 20px 0; |
| 92 | |
| 93 | .loginHeader { |
| 94 | text-align: center; |
| 95 | margin-bottom: 40px; |
| 96 | |
| 97 | h2 { |
| 98 | font-size: 24px; |
| 99 | font-weight: 600; |
| 100 | color: #333; |
| 101 | margin-bottom: 8px; |
| 102 | } |
| 103 | |
| 104 | p { |
| 105 | font-size: 14px; |
| 106 | color: #666; |
| 107 | margin: 0; |
| 108 | } |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | .switch_login_type { |
| 113 | position: absolute; |
| 114 | right: 30px; |
| 115 | top: 30px; |
| 116 | z-index: 1; |
| 117 | |
| 118 | .switch_icon { |
| 119 | font-size: 20px; |
| 120 | padding: 8px; |
| 121 | border-radius: 50%; |
| 122 | background: #f5f5f5; |
| 123 | color: #666; |
| 124 | cursor: pointer; |
| 125 | transition: all 0.3s; |
| 126 | |
| 127 | &:hover { |
| 128 | background: #e6f7ff; |
| 129 | color: #1890ff; |
| 130 | } |
| 131 | } |
| 132 | } |
| 133 | |
| 134 | .qrcodeLogin { |
| 135 | width: 100%; |
| 136 | padding: 20px 0; |
| 137 | text-align: center; |
| 138 | |
| 139 | .qrcodeHeader { |
| 140 | margin-bottom: 40px; |
| 141 | |
| 142 | h2 { |
| 143 | font-size: 24px; |
| 144 | font-weight: 600; |
| 145 | color: #333; |
| 146 | margin-bottom: 8px; |
| 147 | } |
| 148 | |
| 149 | p { |
| 150 | font-size: 14px; |
| 151 | color: #666; |
| 152 | margin: 0; |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | .qrcodeWrapper { |
| 157 | position: relative; |
| 158 | width: 200px; |
| 159 | height: 200px; |
| 160 | margin: 0 auto 40px; |
| 161 | |
| 162 | img { |
| 163 | width: 100%; |
| 164 | height: 100%; |
| 165 | object-fit: contain; |
| 166 | } |
| 167 | |
| 168 | .qrcodeMask { |
| 169 | position: absolute; |
| 170 | top: 0; |
| 171 | left: 0; |
| 172 | width: 100%; |
| 173 | height: 100%; |
| 174 | background: rgba(255, 255, 255, 0.95); |
| 175 | display: flex; |
| 176 | flex-direction: column; |
| 177 | justify-content: center; |
| 178 | align-items: center; |
| 179 | border-radius: 8px; |
| 180 | |
| 181 | p { |
| 182 | color: #666; |
| 183 | margin-bottom: 12px; |
| 184 | } |
| 185 | |
| 186 | .refreshBtn { |
| 187 | color: #C367EF; |
| 188 | font-size: 14px; |
| 189 | |
| 190 | &:hover { |
| 191 | color: #64C9ED; |
| 192 | } |
| 193 | |
| 194 | .anticon { |
| 195 | margin-right: 4px; |
| 196 | } |
| 197 | } |
| 198 | } |
| 199 | } |
| 200 | |
| 201 | .loginForm-buttonWrapper { |
| 202 | margin-top: 0; |
| 203 | padding: 0 40px; |
| 204 | } |
| 205 | |
| 206 | .agreement { |
| 207 | margin-top: 20px; |
| 208 | text-align: center; |
| 209 | font-size: 12px; |
| 210 | color: #666; |
| 211 | |
| 212 | a { |
| 213 | color: #C367EF; |
| 214 | text-decoration: none; |
| 215 | margin: 0 2px; |
| 216 | |
| 217 | &:hover { |
| 218 | color: #64C9ED; |
| 219 | } |
| 220 | } |
| 221 | } |
| 222 | } |
| 223 | } |
| 224 | |
| 225 | .loginForm { |
| 226 | input { |
| 227 | padding: 12px 16px; |
| 228 | font-size: 14px; |
| 229 | border-radius: 8px; |
| 230 | border: 1px solid #e8e8e8; |
| 231 | transition: all 0.3s; |
| 232 | |
| 233 | &::placeholder { |
| 234 | color: #999; |
| 235 | } |
| 236 | |
| 237 | &:focus { |
| 238 | border-color: #C367EF; |
| 239 | box-shadow: 0 0 0 2px rgba(195, 103, 239, 0.1); |
| 240 | } |
| 241 | } |
| 242 | |
| 243 | .loginForm-phone { |
| 244 | &-site { |
| 245 | border: 1px solid #e8e8e8; |
| 246 | color: #666; |
| 247 | padding: 0 12px; |
| 248 | line-height: 42px; |
| 249 | border-radius: 8px; |
| 250 | margin-right: 8px; |
| 251 | font-size: 14px; |
| 252 | background: #f9f9f9; |
| 253 | } |
| 254 | } |
| 255 | |
| 256 | .submitBtn { |
| 257 | width: 100%; |
| 258 | height: 44px; |
| 259 | font-size: 16px; |
| 260 | border-radius: 8px; |
| 261 | border: none; |
| 262 | background: #f0f0f0; |
| 263 | color: #999; |
| 264 | transition: all 0.3s; |
| 265 | |
| 266 | &.active { |
| 267 | background: linear-gradient(135deg, #C367EF 0%, #64C9ED 100%); |
| 268 | color: white; |
| 269 | box-shadow: 0 8px 16px rgba(195, 103, 239, 0.2); |
| 270 | |
| 271 | &:hover { |
| 272 | opacity: 0.9; |
| 273 | } |
| 274 | |
| 275 | &:active { |
| 276 | opacity: 0.8; |
| 277 | } |
| 278 | } |
| 279 | } |
| 280 | |
| 281 | |
| 282 | |
| 283 | .loginForm-buttonWrapper { |
| 284 | margin-top: 40px; |
| 285 | } |
| 286 | } |
| 287 | |
| 288 | .loginForm-getCode { |
| 289 | color: #C367EF; |
| 290 | position: absolute; |
| 291 | top: 50%; |
| 292 | transform: translateY(-50%); |
| 293 | right: 16px; |
| 294 | cursor: pointer; |
| 295 | font-size: 14px; |
| 296 | font-weight: 500; |
| 297 | background: linear-gradient(135deg, #C367EF 0%, #64C9ED 100%); |
| 298 | -webkit-background-clip: text; |
| 299 | -webkit-text-fill-color: transparent; |
| 300 | transition: opacity 0.3s; |
| 301 | z-index: 1; |
| 302 | |
| 303 | &:hover { |
| 304 | opacity: 0.8; |
| 305 | } |
| 306 | |
| 307 | &:active { |
| 308 | opacity: 0.6; |
| 309 | } |
| 310 | |
| 311 | &--disable { |
| 312 | opacity: 0.5; |
| 313 | cursor: not-allowed; |
| 314 | } |
| 315 | |
| 316 | :global { |
| 317 | .ant-statistic { |
| 318 | position: static; |
| 319 | } |
| 320 | |
| 321 | .ant-statistic-content { |
| 322 | display: flex; |
| 323 | align-items: center; |
| 324 | background: linear-gradient(135deg, #C367EF 0%, #64C9ED 100%); |
| 325 | -webkit-background-clip: text; |
| 326 | -webkit-text-fill-color: transparent; |
| 327 | white-space: nowrap; |
| 328 | |
| 329 | &-value { |
| 330 | font-size: 14px !important; |
| 331 | font-weight: 500; |
| 332 | } |
| 333 | } |
| 334 | } |
| 335 | } |
| 336 |