mine.wxss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. .menu-list {
  54. background: #ffffff;
  55. border-radius: 24rpx;
  56. overflow: hidden;
  57. box-shadow: 0 16rpx 40rpx rgba(37, 52, 94, 0.08);
  58. margin-bottom: 32rpx;
  59. }
  60. .menu-item {
  61. display: flex;
  62. justify-content: space-between;
  63. align-items: center;
  64. padding: 32rpx;
  65. border-bottom: 1rpx solid #f5f6fb;
  66. }
  67. .menu-item:last-child {
  68. border-bottom: none;
  69. }
  70. .menu-left {
  71. display: flex;
  72. align-items: center;
  73. }
  74. .menu-icon {
  75. font-size: 36rpx;
  76. margin-right: 20rpx;
  77. }
  78. .menu-label {
  79. font-size: 28rpx;
  80. color: #222222;
  81. }
  82. .menu-arrow {
  83. font-size: 40rpx;
  84. color: #9ca2b5;
  85. font-weight: 300;
  86. }
  87. /* 退出登录按钮 */
  88. .logout-section {
  89. margin-top: 20rpx;
  90. }
  91. .logout-btn {
  92. width: 100%;
  93. background: #5d55e8;
  94. color: #ffffff;
  95. border-radius: 16rpx;
  96. padding: 28rpx 0;
  97. text-align: center;
  98. font-size: 30rpx;
  99. font-weight: 600;
  100. box-shadow: 0 12rpx 24rpx rgba(93, 85, 232, 0.3);
  101. border: none;
  102. line-height: 1;
  103. }
  104. .logout-btn::after {
  105. border: none;
  106. }
  107. .logout-btn:active {
  108. opacity: 0.8;
  109. }
  110. .bottom-safe-area {
  111. height: 80rpx;
  112. }