jiaofeixiangqing.wxss 4.3 KB

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