mine.wxss 3.3 KB

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