| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229 |
- /* 页面容器 */
- .register-container {
- min-height: 100vh;
- background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
- padding: 64rpx 32rpx;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- box-sizing: border-box;
- }
- /* 页面头部 */
- .register-header {
- text-align: center;
- margin-bottom: 96rpx;
- }
- .register-logo {
- width: 160rpx;
- height: 160rpx;
- border-radius: 50%;
- margin-bottom: 48rpx;
- box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.12);
- }
- .register-title-container {
- margin-top: 32rpx;
- }
- .register-title {
- display: block;
- font-size: 48rpx;
- font-weight: 600;
- color: #262626;
- margin-bottom: 16rpx;
- letter-spacing: 2rpx;
- }
- .register-subtitle {
- display: block;
- font-size: 28rpx;
- color: #8c8c8c;
- line-height: 1.5;
- }
- /* 表单区域 */
- .register-form {
- width: 100%;
- max-width: 600rpx;
- background: #ffffff;
- border-radius: 24rpx;
- padding: 64rpx 48rpx;
- box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.08);
- }
- .form-item {
- margin-bottom: 48rpx;
- }
- .form-label {
- display: block;
- font-size: 28rpx;
- color: #262626;
- margin-bottom: 16rpx;
- font-weight: 500;
- }
- .input-wrapper {
- position: relative;
- }
- .form-input {
- width: 100%;
- height: 96rpx;
- border: 2rpx solid #d9d9d9;
- border-radius: 16rpx;
- padding: 0 32rpx;
- font-size: 32rpx;
- color: #262626;
- box-sizing: border-box;
- background: #fafafa;
- transition: all 0.2s ease-in-out;
- }
- .form-input:focus {
- border-color: #1890ff;
- background: #ffffff;
- box-shadow: 0 0 0 4rpx rgba(24, 144, 255, 0.2);
- }
- .form-input::placeholder {
- color: #bfbfbf;
- font-size: 28rpx;
- }
- /* 注册按钮 */
- .register-button {
- width: 100%;
- height: 96rpx;
- background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
- color: #ffffff;
- border-radius: 16rpx;
- font-size: 32rpx;
- font-weight: 500;
- margin-top: 32rpx;
- transition: all 0.2s ease-in-out;
- box-shadow: 0 4rpx 16rpx rgba(24, 144, 255, 0.3);
- }
- .register-button:active {
- transform: translateY(2rpx);
- box-shadow: 0 2rpx 8rpx rgba(24, 144, 255, 0.3);
- }
- .register-button.loading {
- opacity: 0.8;
- }
- /* 页脚区域 */
- .register-footer {
- text-align: center;
- margin-top: 48rpx;
- }
- .footer-text {
- font-size: 28rpx;
- color: #595959;
- }
- .link-text {
- color: #1890ff;
- font-size: 28rpx;
- text-decoration: none;
- }
- .link-text:active {
- opacity: 0.7;
- }
- .register-footer-info {
- position: absolute;
- bottom: 64rpx;
- left: 0;
- right: 0;
- text-align: center;
- }
- .footer-tip {
- font-size: 24rpx;
- color: #8c8c8c;
- margin-bottom: 16rpx;
- }
- .footer-links {
- display: flex;
- justify-content: center;
- align-items: center;
- gap: 8rpx;
- }
- .link-separator {
- color: #8c8c8c;
- font-size: 24rpx;
- }
- /* 响应式设计 */
- @media screen and (max-width: 375px) {
- .register-container {
- padding: 48rpx 24rpx;
- }
-
- .register-form {
- padding: 48rpx 32rpx;
- }
-
- .register-title {
- font-size: 44rpx;
- }
-
- .register-subtitle {
- font-size: 26rpx;
- }
- }
- @media screen and (min-width: 415px) {
- .register-container {
- padding: 96rpx 48rpx;
- }
-
- .register-form {
- padding: 80rpx 64rpx;
- }
- }
- /* 深色模式适配 */
- @media (prefers-color-scheme: dark) {
- .register-container {
- background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
- }
-
- .register-title {
- color: #e6e6e6;
- }
-
- .register-subtitle {
- color: #8c8c8c;
- }
-
- .register-form {
- background: #2a2a2a;
- box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.3);
- }
-
- .form-label {
- color: #e6e6e6;
- }
-
- .form-input {
- background: #3a3a3a;
- border-color: #4a4a4a;
- color: #e6e6e6;
- }
-
- .form-input:focus {
- background: #3a3a3a;
- border-color: #1890ff;
- }
- }
|