login.wxss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. .login-container {
  2. min-height: 100vh;
  3. background: linear-gradient(180deg, #1a365d 0%, #2c5282 100%);
  4. display: flex;
  5. flex-direction: column;
  6. }
  7. .login-header {
  8. flex: 1;
  9. display: flex;
  10. flex-direction: column;
  11. align-items: center;
  12. justify-content: center;
  13. padding-top: 100rpx;
  14. }
  15. .logo {
  16. margin-bottom: 40rpx;
  17. }
  18. .logo-circle {
  19. width: 160rpx;
  20. height: 160rpx;
  21. border-radius: 50%;
  22. background: rgba(255, 255, 255, 0.15);
  23. display: flex;
  24. align-items: center;
  25. justify-content: center;
  26. border: 4rpx solid rgba(255, 255, 255, 0.3);
  27. }
  28. .logo-tree {
  29. width: 80rpx;
  30. height: 80rpx;
  31. background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5'/%3E%3C/svg%3E") no-repeat center;
  32. background-size: 100%;
  33. }
  34. .title {
  35. font-size: 56rpx;
  36. font-weight: bold;
  37. color: #fff;
  38. margin-bottom: 16rpx;
  39. }
  40. .subtitle {
  41. font-size: 28rpx;
  42. color: rgba(255, 255, 255, 0.7);
  43. }
  44. .login-content {
  45. flex: 1;
  46. display: flex;
  47. flex-direction: column;
  48. align-items: center;
  49. padding: 0 48rpx;
  50. }
  51. .agreement-tip {
  52. font-size: 24rpx;
  53. color: rgba(255, 255, 255, 0.6);
  54. margin-bottom: 48rpx;
  55. text-align: center;
  56. }
  57. .agreement-tip .link {
  58. color: #63b3ed;
  59. }
  60. .login-btn {
  61. width: 100%;
  62. background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  63. border-radius: 48rpx;
  64. padding: 32rpx;
  65. box-shadow: 0 8rpx 32rpx rgba(72, 187, 120, 0.4);
  66. /* 重置 button 默认样式 */
  67. border: none;
  68. margin: 0;
  69. line-height: normal;
  70. font-size: inherit;
  71. color: inherit;
  72. }
  73. .login-btn::after {
  74. border: none;
  75. }
  76. .login-btn:active {
  77. opacity: 0.8;
  78. transform: scale(0.98);
  79. }
  80. .btn-content {
  81. display: flex;
  82. align-items: center;
  83. justify-content: center;
  84. }
  85. .btn-icon {
  86. width: 48rpx;
  87. height: 48rpx;
  88. margin-right: 20rpx;
  89. }
  90. .phone-icon {
  91. width: 100%;
  92. height: 100%;
  93. background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") no-repeat center;
  94. background-size: 100%;
  95. }
  96. .btn-text {
  97. font-size: 34rpx;
  98. font-weight: bold;
  99. color: #fff;
  100. }
  101. .login-footer {
  102. padding: 48rpx 0;
  103. text-align: center;
  104. }
  105. .footer-text {
  106. font-size: 22rpx;
  107. color: rgba(255, 255, 255, 0.5);
  108. }