zhangdanlist.wxss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. .container {
  2. display: flex;
  3. flex-direction: column;
  4. background-color: #f5f5f5;
  5. min-height: 100vh;
  6. padding-bottom: 30rpx;
  7. }
  8. .header {
  9. position: relative;
  10. width: 100%;
  11. height: 300rpx;
  12. }
  13. .header .background {
  14. position: absolute;
  15. top: 0;
  16. left: 0;
  17. width: 100%;
  18. height: 100%;
  19. background-color: #4285f4;
  20. }
  21. .back-icon {
  22. position: absolute;
  23. left: 30rpx;
  24. top: 80rpx;
  25. font-size: 40rpx;
  26. color: white;
  27. z-index: 10;
  28. }
  29. .header-title {
  30. text-align: center;
  31. font-size: 36rpx;
  32. margin-bottom: 20rpx;
  33. }
  34. /* .custom-nav {
  35. position: absolute;
  36. top: 0;
  37. left: 0;
  38. width: 100%;
  39. z-index: 5;
  40. } */
  41. .user-info-container {
  42. position: relative;
  43. margin-top: -100rpx;
  44. padding: 0 30rpx;
  45. top: -20rpx;
  46. width: 100%;
  47. box-sizing: border-box;
  48. }
  49. .user-info {
  50. background-color: transparent;
  51. color: white;
  52. padding: 20rpx 20rpx;
  53. width: 100%;
  54. }
  55. .user-name {
  56. font-size: 40rpx;
  57. font-weight: bold;
  58. margin-bottom: 20rpx;
  59. }
  60. .user-id, .user-address {
  61. display: flex;
  62. align-items: center;
  63. font-size: 28rpx;
  64. margin-bottom: 10rpx;
  65. color: rgba(255, 255, 255, 0.9);
  66. }
  67. .id-icon, .address-icon {
  68. width: 30rpx;
  69. height: 30rpx;
  70. margin-right: 10rpx;
  71. }
  72. .bill-list-container {
  73. flex: 1;
  74. padding: 20rpx;
  75. margin-top: 30rpx;
  76. }
  77. .bill-date-section {
  78. font-size: 32rpx;
  79. font-weight: bold;
  80. padding: 20rpx 10rpx;
  81. color: #333;
  82. }
  83. .bill-card {
  84. background-color: white;
  85. border-radius: 12rpx;
  86. padding: 30rpx;
  87. margin-bottom: 20rpx;
  88. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
  89. }
  90. .bill-info {
  91. display: flex;
  92. align-items: center;
  93. }
  94. .bill-icon {
  95. margin-right: 20rpx;
  96. }
  97. .bill-icon image {
  98. width: 60rpx;
  99. height: 60rpx;
  100. }
  101. .bill-details {
  102. flex: 1;
  103. }
  104. .bill-number {
  105. font-size: 30rpx;
  106. font-weight: bold;
  107. margin-bottom: 10rpx;
  108. }
  109. .bill-usage, .bill-payment-time {
  110. font-size: 26rpx;
  111. color: #666;
  112. margin-top: 6rpx;
  113. }
  114. .bill-amount-status {
  115. text-align: right;
  116. }
  117. .bill-amount {
  118. font-size: 36rpx;
  119. font-weight: bold;
  120. }
  121. .bill-status {
  122. font-size: 26rpx;
  123. margin-top: 10rpx;
  124. }
  125. .paid {
  126. color: #333;
  127. }
  128. .unpaid {
  129. color: #ff4d4f;
  130. }
  131. .bill-action {
  132. margin-top: 20rpx;
  133. display: flex;
  134. justify-content: flex-end;
  135. }
  136. .pay-btn {
  137. background-color: #ff4d4f;
  138. color: white;
  139. font-size: 28rpx;
  140. padding: 10rpx 40rpx;
  141. border-radius: 30rpx;
  142. line-height: 1.5;
  143. }
  144. .detail-btn {
  145. background-color: #f0f0f0;
  146. color: #333;
  147. font-size: 28rpx;
  148. padding: 10rpx 40rpx;
  149. border-radius: 30rpx;
  150. line-height: 1.5;
  151. }
  152. .list-end {
  153. text-align: center;
  154. color: #999;
  155. font-size: 26rpx;
  156. padding: 30rpx 0;
  157. }
  158. .empty-list {
  159. text-align: center;
  160. color: #999;
  161. font-size: 28rpx;
  162. padding: 100rpx 0;
  163. }