login.wxss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. /* pages/login/login.wxss */
  2. .container {
  3. min-height: 100vh;
  4. background: linear-gradient(180deg, #FF6B6B 0%, #FFE66D 100%);
  5. display: flex;
  6. flex-direction: column;
  7. align-items: center;
  8. padding: 100rpx 40rpx;
  9. box-sizing: border-box;
  10. }
  11. .header {
  12. display: flex;
  13. flex-direction: column;
  14. align-items: center;
  15. margin-bottom: 80rpx;
  16. }
  17. .logo {
  18. width: 180rpx;
  19. height: 180rpx;
  20. border-radius: 36rpx;
  21. margin-bottom: 30rpx;
  22. }
  23. .title {
  24. font-size: 52rpx;
  25. font-weight: bold;
  26. color: #fff;
  27. margin-bottom: 15rpx;
  28. }
  29. .subtitle {
  30. font-size: 28rpx;
  31. color: rgba(255, 255, 255, 0.85);
  32. }
  33. .role-select {
  34. width: 100%;
  35. margin-bottom: 60rpx;
  36. }
  37. .role-title {
  38. font-size: 32rpx;
  39. color: #333;
  40. text-align: center;
  41. display: block;
  42. margin-bottom: 30rpx;
  43. }
  44. .role-options {
  45. display: flex;
  46. justify-content: space-around;
  47. }
  48. .role-item {
  49. width: 280rpx;
  50. padding: 40rpx 20rpx;
  51. background: #fff;
  52. border-radius: 20rpx;
  53. display: flex;
  54. flex-direction: column;
  55. align-items: center;
  56. box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.1);
  57. transition: all 0.3s;
  58. }
  59. .role-item.active {
  60. border: 4rpx solid #FF6B6B;
  61. transform: scale(1.05);
  62. }
  63. .role-icon {
  64. font-size: 60rpx;
  65. margin-bottom: 15rpx;
  66. }
  67. .role-name {
  68. font-size: 32rpx;
  69. font-weight: bold;
  70. color: #333;
  71. margin-bottom: 10rpx;
  72. }
  73. .role-desc {
  74. font-size: 22rpx;
  75. color: #999;
  76. text-align: center;
  77. }
  78. .login-btn {
  79. width: 80%;
  80. height: 90rpx;
  81. background: #FF6B6B;
  82. color: #fff;
  83. font-size: 32rpx;
  84. font-weight: bold;
  85. border-radius: 45rpx;
  86. display: flex;
  87. align-items: center;
  88. justify-content: center;
  89. margin-bottom: 30rpx;
  90. }
  91. .login-btn::after {
  92. border: none;
  93. }
  94. .agreement {
  95. font-size: 22rpx;
  96. color: rgba(255, 255, 255, 0.7);
  97. }