mine.wxss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. .page-mine {
  2. display: flex;
  3. flex-direction: column;
  4. background: #f5f6fb;
  5. min-height: 100vh;
  6. padding: 30rpx;
  7. box-sizing: border-box;
  8. }
  9. /* User Card */
  10. .user-card {
  11. background: #ffffff;
  12. border-radius: 20rpx;
  13. padding: 40rpx;
  14. display: flex;
  15. align-items: center;
  16. box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.05);
  17. margin-bottom: 30rpx;
  18. }
  19. .avatar-container {
  20. width: 120rpx;
  21. height: 120rpx;
  22. border-radius: 50%;
  23. overflow: hidden;
  24. background-color: #eee;
  25. flex-shrink: 0;
  26. }
  27. .avatar {
  28. width: 100%;
  29. height: 100%;
  30. }
  31. .user-info {
  32. margin-left: 30rpx;
  33. flex: 1;
  34. }
  35. .username {
  36. font-size: 36rpx;
  37. font-weight: bold;
  38. color: #333;
  39. }
  40. /* Section Cards */
  41. .section-card {
  42. background: #ffffff;
  43. border-radius: 20rpx;
  44. overflow: hidden;
  45. box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.05);
  46. margin-bottom: 30rpx;
  47. }
  48. .card-header {
  49. background: #3F51F7; /* Main Blue */
  50. padding: 20rpx 30rpx;
  51. display: flex;
  52. align-items: center;
  53. }
  54. .header-icon-box {
  55. width: 40rpx;
  56. height: 40rpx;
  57. display: flex;
  58. align-items: center;
  59. justify-content: center;
  60. margin-right: 15rpx;
  61. }
  62. .header-icon-text {
  63. font-size: 32rpx;
  64. color: #fff;
  65. }
  66. .header-title {
  67. color: #ffffff;
  68. font-size: 32rpx;
  69. font-weight: bold;
  70. }
  71. .card-content {
  72. padding: 30rpx;
  73. background: #fff;
  74. }
  75. /* Points Content */
  76. .points-content {
  77. display: flex;
  78. justify-content: space-between;
  79. align-items: center;
  80. }
  81. .points-value {
  82. font-size: 32rpx;
  83. color: #333;
  84. font-weight: 500;
  85. }
  86. .points-actions {
  87. display: flex;
  88. gap: 20rpx;
  89. }
  90. .mini-btn {
  91. background: #3F51F7;
  92. color: #fff;
  93. font-size: 24rpx;
  94. padding: 10rpx 30rpx;
  95. border-radius: 30rpx;
  96. line-height: 2;
  97. margin: 0;
  98. border: none;
  99. }
  100. .mini-btn::after {
  101. border: none;
  102. }
  103. /* Transaction Content */
  104. .transaction-content {
  105. display: flex;
  106. justify-content: center;
  107. padding: 60rpx 30rpx;
  108. }
  109. .empty-text {
  110. color: #999;
  111. font-size: 28rpx;
  112. }
  113. /* Bottom Action */
  114. .action-area {
  115. margin-top: 40rpx;
  116. }
  117. .main-btn {
  118. background: #3F51F7;
  119. color: #fff;
  120. font-size: 32rpx;
  121. border-radius: 50rpx;
  122. padding: 10rpx 0;
  123. width: 100%;
  124. box-shadow: 0 4rpx 10rpx rgba(63, 81, 247, 0.3);
  125. line-height: 2.5;
  126. }
  127. .main-btn:active {
  128. opacity: 0.9;
  129. }