mine.wxss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. .mine-page {
  2. background: #F8F9FA;
  3. min-height: 100vh;
  4. padding-bottom: 40rpx;
  5. }
  6. /* 用户信息区域 */
  7. .user-section {
  8. background: linear-gradient(135deg, #4A90C2 0%, #357ABD 100%);
  9. padding: 40rpx 32rpx 32rpx 32rpx;
  10. color: #fff;
  11. }
  12. .user-info {
  13. display: flex;
  14. align-items: center;
  15. margin-bottom: 0;
  16. }
  17. .avatar-btn {
  18. position: relative;
  19. background: transparent;
  20. border: none;
  21. padding: 0;
  22. margin-right: 32rpx;
  23. }
  24. .avatar {
  25. width: 100rpx;
  26. height: 100rpx;
  27. border-radius: 50%;
  28. border: 3rpx solid rgba(255, 255, 255, 0.3);
  29. }
  30. .user-details {
  31. flex: 1;
  32. }
  33. .nickname-input {
  34. font-size: 32rpx;
  35. font-weight: bold;
  36. color: #fff;
  37. background: transparent;
  38. border: none;
  39. margin-bottom: 6rpx;
  40. }
  41. .nickname-input::placeholder {
  42. color: rgba(255, 255, 255, 0.7);
  43. }
  44. .user-id {
  45. font-size: 22rpx;
  46. opacity: 0.8;
  47. }
  48. .login-section {
  49. margin-left: 24rpx;
  50. }
  51. .login-btn {
  52. background: rgba(255, 255, 255, 0.2);
  53. color: #fff;
  54. border: 2rpx solid rgba(255, 255, 255, 0.3);
  55. border-radius: 50rpx;
  56. padding: 16rpx 32rpx;
  57. font-size: 26rpx;
  58. font-weight: bold;
  59. }
  60. /* 会员信息区域 */
  61. .member-section {
  62. margin: 24rpx 32rpx;
  63. }
  64. .member-card {
  65. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  66. border-radius: 20rpx;
  67. padding: 24rpx;
  68. color: #fff;
  69. box-shadow: 0 6rpx 24rpx rgba(102, 126, 234, 0.3);
  70. }
  71. .member-header {
  72. display: flex;
  73. justify-content: space-between;
  74. align-items: center;
  75. margin-bottom: 20rpx;
  76. }
  77. .member-level {
  78. display: flex;
  79. align-items: center;
  80. }
  81. .level-icon {
  82. font-size: 32rpx;
  83. margin-right: 10rpx;
  84. }
  85. .level-name {
  86. font-size: 32rpx;
  87. font-weight: bold;
  88. }
  89. .member-arrow {
  90. font-size: 28rpx;
  91. opacity: 0.8;
  92. }
  93. .member-stats {
  94. display: flex;
  95. justify-content: space-around;
  96. }
  97. .stat-item {
  98. text-align: center;
  99. }
  100. .stat-number {
  101. font-size: 32rpx;
  102. font-weight: bold;
  103. margin-bottom: 6rpx;
  104. }
  105. .stat-label {
  106. font-size: 22rpx;
  107. opacity: 0.8;
  108. }
  109. .member-progress {
  110. background: rgba(255, 255, 255, 0.1);
  111. border-radius: 16rpx;
  112. padding: 20rpx;
  113. }
  114. .progress-text {
  115. font-size: 24rpx;
  116. opacity: 0.9;
  117. margin-bottom: 12rpx;
  118. text-align: center;
  119. }
  120. .progress-bar {
  121. height: 8rpx;
  122. background: rgba(255, 255, 255, 0.2);
  123. border-radius: 4rpx;
  124. overflow: hidden;
  125. }
  126. .progress-fill {
  127. height: 100%;
  128. background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
  129. border-radius: 4rpx;
  130. transition: width 0.3s ease;
  131. }
  132. .member-max {
  133. text-align: center;
  134. padding: 20rpx;
  135. }
  136. .max-text {
  137. font-size: 28rpx;
  138. font-weight: bold;
  139. }
  140. /* 功能菜单区域 */
  141. .menu-section,
  142. .service-section {
  143. margin: 24rpx 32rpx;
  144. }
  145. .section-title {
  146. font-size: 30rpx;
  147. font-weight: bold;
  148. color: #333;
  149. margin-bottom: 20rpx;
  150. }
  151. .menu-grid,
  152. .service-grid {
  153. background: #FFFFFF;
  154. border-radius: 20rpx;
  155. overflow: hidden;
  156. box-shadow: 0 4rpx 20rpx rgba(0,0,0,0.08);
  157. border: 1rpx solid #E5E5EA;
  158. }
  159. .menu-item,
  160. .service-item {
  161. display: flex;
  162. align-items: center;
  163. padding: 28rpx 32rpx;
  164. border-bottom: 2rpx solid #E5E5EA;
  165. transition: background-color 0.3s ease;
  166. }
  167. .menu-item:last-child,
  168. .service-item:last-child {
  169. border-bottom: none;
  170. }
  171. .menu-item:active,
  172. .service-item:active {
  173. background-color: #F8F9FA;
  174. }
  175. .menu-content,
  176. .service-content {
  177. flex: 1;
  178. margin-left: 0;
  179. }
  180. .menu-title,
  181. .service-title {
  182. font-size: 30rpx;
  183. font-weight: bold;
  184. color: #333;
  185. margin-bottom: 6rpx;
  186. }
  187. .menu-desc,
  188. .service-desc {
  189. font-size: 24rpx;
  190. color: #666;
  191. }
  192. .menu-arrow,
  193. .service-arrow {
  194. font-size: 28rpx;
  195. color: #ccc;
  196. font-weight: bold;
  197. }
  198. /* 版本信息 */
  199. .version-info {
  200. text-align: center;
  201. padding: 32rpx 0;
  202. }
  203. .version-text {
  204. font-size: 22rpx;
  205. color: #999;
  206. }