jiaofeixiangqing.wxss 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. .container4 {
  2. display: flex;
  3. flex-direction: column;
  4. height: 100vh;
  5. background-color: #f6f7f9;
  6. position: relative;
  7. }
  8. .custom-nav {
  9. position: fixed;
  10. top: 0;
  11. left: 0;
  12. right: 0;
  13. height: 88rpx;
  14. background-color: rgba(46, 130, 255, 1);
  15. display: flex;
  16. align-items: center;
  17. padding-top: 110rpx;
  18. z-index: 1000;
  19. }
  20. /* 固定返回按钮样式 */
  21. .back-icon {
  22. position: fixed;
  23. top: 100rpx;
  24. left: 30rpx;
  25. z-index: 999;
  26. width: 16px;
  27. height: 16px;
  28. }
  29. .nav-title {
  30. flex: 1;
  31. text-align: center;
  32. font-size: 34rpx;
  33. color: #fff;
  34. }
  35. /* 创建一个固定的顶部区域容器 */
  36. .fixed-top-section {
  37. position: fixed;
  38. top: 198rpx;
  39. left: 0;
  40. right: 0;
  41. z-index: 999;
  42. padding: 20rpx;
  43. background-color: #f6f7f9;
  44. }
  45. /* 缴费总览卡片美化 */
  46. .overview-card {
  47. background-color: #fff;
  48. border-radius: 16rpx;
  49. padding: 24rpx 28rpx;
  50. box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.06);
  51. margin-bottom: 20rpx;
  52. }
  53. /* 行样式 */
  54. .bill-row {
  55. display: flex;
  56. justify-content: space-between;
  57. align-items: center;
  58. padding: 12rpx 0;
  59. position: relative;
  60. }
  61. /* 添加分隔线 */
  62. .bill-row:not(:last-child) {
  63. border-bottom: 1rpx solid #f0f0f0;
  64. }
  65. /* 金额强调项样式 */
  66. .bill-row.highlight-row {
  67. padding: 10rpx 0;
  68. background-color: #fffdfd;
  69. }
  70. /* 标签文字样式 */
  71. .label {
  72. font-size: 26rpx;
  73. color: #666;
  74. font-weight: 400;
  75. }
  76. /* 数值文字样式 */
  77. .value {
  78. font-size: 28rpx;
  79. color: #333;
  80. font-weight: 500;
  81. }
  82. /* 高亮值样式 */
  83. .value.highlight {
  84. color: #ff4d4f;
  85. font-weight: 600;
  86. font-size: 34rpx;
  87. }
  88. /* 账单明细标题栏优化 */
  89. .bill-list-header {
  90. display: flex;
  91. justify-content: space-between;
  92. align-items: center;
  93. padding: 5rpx 10rpx;
  94. margin: 10rpx 0;
  95. }
  96. .bill-list-title {
  97. font-size: 30rpx;
  98. font-weight: 500;
  99. color: #333;
  100. }
  101. .bill-count {
  102. font-size: 24rpx;
  103. color: #666;
  104. background-color: #eef2f7;
  105. padding: 6rpx 16rpx;
  106. border-radius: 20rpx;
  107. }
  108. /* 创建一个滚动内容区域,但考虑顶部固定区域的高度 */
  109. .scrollable-content {
  110. margin-top: 460rpx;
  111. padding: 0 20rpx;
  112. }
  113. /* 账单列表容器 */
  114. .bill-list-container {
  115. height: calc(100vh - 800rpx);
  116. padding-bottom: 60rpx;
  117. padding: 300rpx 0rpx 0rpx 0rpx ;
  118. }
  119. /* 底部空间 */
  120. .bottom-space {
  121. height: 120rpx;
  122. }
  123. /* 账单卡片样式改进 */
  124. .bill-card {
  125. background-color: #fff;
  126. border-radius: 16rpx;
  127. padding: 24rpx;
  128. margin-bottom: 20rpx;
  129. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  130. }
  131. /* 账单卡片头部改进 */
  132. .bill-header {
  133. display: flex;
  134. justify-content: space-between;
  135. align-items: center;
  136. margin-bottom: 16rpx;
  137. }
  138. .meter-reading {
  139. display: flex;
  140. align-items: center;
  141. flex-wrap: wrap;
  142. }
  143. .water-icon {
  144. margin-right: 10rpx;
  145. color: #1890ff;
  146. font-size: 30rpx;
  147. }
  148. .bill-number {
  149. font-weight: 500;
  150. color: #333;
  151. font-size: 28rpx;
  152. }
  153. .due-date {
  154. font-size: 24rpx;
  155. color: #999;
  156. margin-left: 16rpx;
  157. }
  158. /* 支付状态标签 */
  159. .payment-status-tag {
  160. font-size: 22rpx;
  161. padding: 4rpx 16rpx;
  162. border-radius: 20rpx;
  163. }
  164. .unpaid-tag {
  165. color: #ff4d4f;
  166. background-color: #fff1f0;
  167. border: 1rpx solid #ffccc7;
  168. }
  169. .paid-tag {
  170. color: #52c41a;
  171. background-color: #f6ffed;
  172. border: 1rpx solid #b7eb8f;
  173. }
  174. /* 用水信息区域 */
  175. .usage-section {
  176. display: flex;
  177. justify-content: space-between;
  178. background-color: #f9f9f9;
  179. border-radius: 12rpx;
  180. padding: 16rpx;
  181. margin: 16rpx 0;
  182. }
  183. .usage-item {
  184. display: flex;
  185. flex-direction: column;
  186. align-items: center;
  187. flex: 1;
  188. }
  189. .usage-label {
  190. font-size: 24rpx;
  191. color: #999;
  192. margin-bottom: 8rpx;
  193. }
  194. .usage-value {
  195. font-size: 28rpx;
  196. color: #333;
  197. font-weight: 500;
  198. }
  199. .usage-divider {
  200. width: 1rpx;
  201. background-color: #e8e8e8;
  202. margin: 0 20rpx;
  203. }
  204. /* 费用信息区域 */
  205. .fee-section {
  206. padding: 8rpx 0;
  207. }
  208. .fee-row {
  209. display: flex;
  210. justify-content: space-between;
  211. padding: 8rpx 0;
  212. }
  213. .fee-label {
  214. font-size: 26rpx;
  215. color: #666;
  216. }
  217. .fee-value {
  218. font-size: 26rpx;
  219. color: #333;
  220. }
  221. /* 底部金额区域 */
  222. .bill-footer {
  223. display: flex;
  224. justify-content: space-between;
  225. align-items: center;
  226. margin-top: 16rpx;
  227. padding-top: 16rpx;
  228. border-top: 1rpx solid #f0f0f0;
  229. }
  230. .due-label {
  231. font-size: 28rpx;
  232. color: #666;
  233. }
  234. .total-amount {
  235. font-size: 36rpx;
  236. font-weight: 600;
  237. color: #ff4d4f;
  238. }