mine.wxss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. .page-mine {
  2. height: 100vh;
  3. display: flex;
  4. flex-direction: column;
  5. background: #f5f6fb;
  6. }
  7. .scroll-view {
  8. flex: 1;
  9. height: 0;
  10. }
  11. .content-wrapper {
  12. padding: 32rpx;
  13. background: #f5f6fb;
  14. min-height: 100%;
  15. }
  16. /* 用户信息卡片 */
  17. .user-info-card {
  18. background: #ffffff;
  19. border-radius: 24rpx;
  20. padding: 40rpx 32rpx;
  21. margin-bottom: 32rpx;
  22. box-shadow: 0 16rpx 40rpx rgba(37, 52, 94, 0.08);
  23. }
  24. .user-header {
  25. display: flex;
  26. align-items: center;
  27. }
  28. .user-avatar {
  29. width: 100rpx;
  30. height: 100rpx;
  31. border-radius: 50%;
  32. background: #f5f6fb;
  33. margin-right: 24rpx;
  34. border: 4rpx solid #f5f6fb;
  35. }
  36. .user-details {
  37. flex: 1;
  38. display: flex;
  39. flex-direction: column;
  40. }
  41. .user-name {
  42. font-size: 32rpx;
  43. font-weight: 600;
  44. color: #222222;
  45. margin-bottom: 8rpx;
  46. }
  47. .arrow-icon {
  48. font-size: 48rpx;
  49. color: #9ca2b5;
  50. font-weight: 300;
  51. }
  52. /* 积分区域 */
  53. .my-tasks-section {
  54. background: #ffffff;
  55. border-radius: 24rpx;
  56. padding: 32rpx;
  57. margin-bottom: 32rpx;
  58. box-shadow: 0 16rpx 40rpx rgba(37, 52, 94, 0.08);
  59. }
  60. .points-row {
  61. display: flex;
  62. align-items: center;
  63. justify-content: space-between;
  64. }
  65. .points-display {
  66. flex: 1;
  67. display: flex;
  68. align-items: center;
  69. }
  70. .points-icon-wrapper {
  71. width: 80rpx;
  72. height: 80rpx;
  73. border-radius: 50%;
  74. background: linear-gradient(135deg, #00BFA5, #00D4B5);
  75. display: flex;
  76. align-items: center;
  77. justify-content: center;
  78. margin-right: 24rpx;
  79. flex-shrink: 0;
  80. box-shadow: 0 8rpx 20rpx rgba(0, 191, 165, 0.3);
  81. }
  82. .points-icon {
  83. font-size: 40rpx;
  84. }
  85. .points-info {
  86. display: flex;
  87. flex-direction: column;
  88. }
  89. .points-label {
  90. font-size: 26rpx;
  91. color: #666a7f;
  92. margin-bottom: 8rpx;
  93. }
  94. .points-value {
  95. font-size: 40rpx;
  96. font-weight: 700;
  97. color: #00BFA5;
  98. }
  99. .recharge-button {
  100. width: 160rpx;
  101. height: 72rpx;
  102. background: linear-gradient(135deg, #5d55e8, #7568ff);
  103. border-radius: 36rpx;
  104. display: flex;
  105. align-items: center;
  106. justify-content: center;
  107. box-shadow: 0 8rpx 20rpx rgba(93, 85, 232, 0.3);
  108. border: none;
  109. padding: 0;
  110. line-height: 1;
  111. }
  112. .recharge-button::after {
  113. border: none;
  114. }
  115. .recharge-text {
  116. font-size: 28rpx;
  117. font-weight: 600;
  118. color: #ffffff;
  119. }
  120. /* 菜单列表 */
  121. .menu-list {
  122. background: #ffffff;
  123. border-radius: 24rpx;
  124. overflow: hidden;
  125. box-shadow: 0 16rpx 40rpx rgba(37, 52, 94, 0.08);
  126. margin-bottom: 32rpx;
  127. }
  128. .menu-item {
  129. display: flex;
  130. justify-content: space-between;
  131. align-items: center;
  132. padding: 32rpx;
  133. border-bottom: 1rpx solid #f5f6fb;
  134. }
  135. .menu-item:last-child {
  136. border-bottom: none;
  137. }
  138. .menu-left {
  139. display: flex;
  140. align-items: center;
  141. }
  142. .menu-icon {
  143. font-size: 36rpx;
  144. margin-right: 20rpx;
  145. }
  146. .menu-label {
  147. font-size: 28rpx;
  148. color: #222222;
  149. }
  150. .menu-arrow {
  151. font-size: 40rpx;
  152. color: #9ca2b5;
  153. font-weight: 300;
  154. }
  155. /* 退出登录按钮 */
  156. .logout-section {
  157. margin-top: 20rpx;
  158. }
  159. .logout-btn {
  160. width: 100%;
  161. background: #5d55e8;
  162. color: #ffffff;
  163. border-radius: 16rpx;
  164. padding: 28rpx 0;
  165. text-align: center;
  166. font-size: 30rpx;
  167. font-weight: 600;
  168. box-shadow: 0 12rpx 24rpx rgba(93, 85, 232, 0.3);
  169. border: none;
  170. line-height: 1;
  171. }
  172. .logout-btn::after {
  173. border: none;
  174. }
  175. .logout-btn:active {
  176. opacity: 0.8;
  177. }
  178. .bottom-safe-area {
  179. height: 80rpx;
  180. }