mine.wxss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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. .points-row {
  74. display: flex;
  75. align-items: center;
  76. justify-content: space-between;
  77. }
  78. .points-display {
  79. flex: 1;
  80. display: flex;
  81. align-items: center;
  82. }
  83. .points-icon-wrapper {
  84. width: 80rpx;
  85. height: 80rpx;
  86. border-radius: 50%;
  87. background: linear-gradient(135deg, #00BFA5, #00D4B5);
  88. display: flex;
  89. align-items: center;
  90. justify-content: center;
  91. margin-right: 24rpx;
  92. flex-shrink: 0;
  93. box-shadow: 0 8rpx 20rpx rgba(0, 191, 165, 0.3);
  94. }
  95. .points-icon {
  96. font-size: 40rpx;
  97. }
  98. .points-info {
  99. display: flex;
  100. flex-direction: column;
  101. }
  102. .points-label {
  103. font-size: 26rpx;
  104. color: #666a7f;
  105. margin-bottom: 8rpx;
  106. }
  107. .points-value {
  108. font-size: 40rpx;
  109. font-weight: 700;
  110. color: #00BFA5;
  111. }
  112. .recharge-button {
  113. width: 160rpx;
  114. height: 72rpx;
  115. background: linear-gradient(135deg, #5d55e8, #7568ff);
  116. border-radius: 36rpx;
  117. display: flex;
  118. align-items: center;
  119. justify-content: center;
  120. box-shadow: 0 8rpx 20rpx rgba(93, 85, 232, 0.3);
  121. border: none;
  122. padding: 0;
  123. line-height: 1;
  124. }
  125. .recharge-button::after {
  126. border: none;
  127. }
  128. .recharge-text {
  129. font-size: 28rpx;
  130. font-weight: 600;
  131. color: #ffffff;
  132. }
  133. /* 菜单列表 */
  134. .menu-list {
  135. background: #ffffff;
  136. border-radius: 24rpx;
  137. overflow: hidden;
  138. box-shadow: 0 16rpx 40rpx rgba(37, 52, 94, 0.08);
  139. margin-bottom: 32rpx;
  140. }
  141. .menu-item {
  142. display: flex;
  143. justify-content: space-between;
  144. align-items: center;
  145. padding: 32rpx;
  146. border-bottom: 1rpx solid #f5f6fb;
  147. }
  148. .menu-item:last-child {
  149. border-bottom: none;
  150. }
  151. .menu-left {
  152. display: flex;
  153. align-items: center;
  154. }
  155. .menu-icon {
  156. font-size: 36rpx;
  157. margin-right: 20rpx;
  158. }
  159. .menu-label {
  160. font-size: 28rpx;
  161. color: #222222;
  162. }
  163. .menu-arrow {
  164. font-size: 40rpx;
  165. color: #9ca2b5;
  166. font-weight: 300;
  167. }
  168. /* 退出登录按钮 */
  169. .logout-section {
  170. margin-top: 20rpx;
  171. }
  172. .logout-btn {
  173. width: 100%;
  174. background: #5d55e8;
  175. color: #ffffff;
  176. border-radius: 16rpx;
  177. padding: 28rpx 0;
  178. text-align: center;
  179. font-size: 30rpx;
  180. font-weight: 600;
  181. box-shadow: 0 12rpx 24rpx rgba(93, 85, 232, 0.3);
  182. border: none;
  183. line-height: 1;
  184. }
  185. .logout-btn::after {
  186. border: none;
  187. }
  188. .logout-btn:active {
  189. opacity: 0.8;
  190. }
  191. .bottom-safe-area {
  192. height: 80rpx;
  193. }