jiaofeixiangqing.wxss 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  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: 120rpx;
  24. left: 25rpx;
  25. z-index: 999;
  26. width: 40rpx;
  27. height: 40rpx;
  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: 24rpx 24rpx 0rpx 24rpx;
  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: 0rpx 24rpx 0rpx 24rpx;
  94. margin: 10rpx 0;
  95. }
  96. .bill-list-title {
  97. font-size: 32rpx;
  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: 400rpx;
  111. padding: 0 24rpx;
  112. }
  113. /* 账单列表容器 */
  114. .bill-list-container {
  115. height: calc(100vh - 800rpx);
  116. padding-bottom: 60rpx;
  117. padding: 310rpx 0rpx 0rpx 0rpx;
  118. z-index: 999;
  119. }
  120. /* 底部空间 */
  121. .bottom-space {
  122. height: 120rpx;
  123. }
  124. /* 账单卡片样式改进 */
  125. .bill-card {
  126. background-color: #fff;
  127. border-radius: 16rpx;
  128. padding: 24rpx;
  129. margin-bottom: 20rpx;
  130. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  131. }
  132. /* 账单卡片头部改进 */
  133. .bill-header {
  134. display: flex;
  135. justify-content: space-between;
  136. align-items: center;
  137. margin-bottom: 16rpx;
  138. }
  139. .meter-reading {
  140. display: flex;
  141. align-items: center;
  142. flex-wrap: wrap;
  143. }
  144. .water-icon {
  145. margin-right: 10rpx;
  146. color: #1890ff;
  147. font-size: 30rpx;
  148. }
  149. .bill-number {
  150. font-weight: 500;
  151. color: #333;
  152. font-size: 28rpx;
  153. }
  154. .due-date {
  155. font-size: 24rpx;
  156. color: #999;
  157. margin-left: 16rpx;
  158. }
  159. /* 支付状态标签 */
  160. .payment-status-tag {
  161. font-size: 22rpx;
  162. width: 90rpx;
  163. padding: 4rpx 24rpx;
  164. border-radius: 20rpx;
  165. }
  166. .unpaid-tag {
  167. color: #ff4d4f;
  168. background-color: #fff1f0;
  169. border: 1rpx solid #ffccc7;
  170. }
  171. .paid-tag {
  172. color: #52c41a;
  173. background-color: #f6ffed;
  174. border: 1rpx solid #b7eb8f;
  175. }
  176. /* 用水信息区域 */
  177. .usage-section {
  178. display: flex;
  179. justify-content: space-between;
  180. background-color: #f9f9f9;
  181. border-radius: 12rpx;
  182. padding: 16rpx;
  183. margin: 16rpx 0;
  184. }
  185. .usage-item {
  186. display: flex;
  187. flex-direction: column;
  188. align-items: center;
  189. flex: 1;
  190. }
  191. .usage-label {
  192. font-size: 24rpx;
  193. color: #999;
  194. margin-bottom: 8rpx;
  195. }
  196. .usage-value {
  197. font-size: 28rpx;
  198. color: #333;
  199. font-weight: 500;
  200. }
  201. .usage-divider {
  202. width: 1rpx;
  203. background-color: #e8e8e8;
  204. margin: 0 20rpx;
  205. }
  206. /* 费用信息区域 */
  207. .fee-section {
  208. padding: 8rpx 0;
  209. }
  210. .fee-row {
  211. display: flex;
  212. justify-content: space-between;
  213. padding: 8rpx 0;
  214. }
  215. .fee-label {
  216. font-size: 26rpx;
  217. color: #666;
  218. }
  219. .fee-value {
  220. font-size: 26rpx;
  221. color: #333;
  222. }
  223. /* 底部金额区域 */
  224. .bill-footer {
  225. display: flex;
  226. justify-content: space-between;
  227. align-items: center;
  228. margin-top: 16rpx;
  229. padding-top: 16rpx;
  230. border-top: 1rpx solid #f0f0f0;
  231. }
  232. .due-label {
  233. font-size: 28rpx;
  234. color: #666;
  235. }
  236. .total-amount {
  237. font-size: 36rpx;
  238. font-weight: 600;
  239. color: #ff4d4f;
  240. }