jiaofeiList.wxss 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396
  1. .container {
  2. display: flex;
  3. flex-direction: column;
  4. background-color: #f5f5f5;
  5. min-height: 100vh;
  6. padding-bottom: 30rpx;
  7. padding: 0;
  8. box-sizing: border-box;
  9. width: 100%;
  10. }
  11. .header {
  12. position: fixed;
  13. top: 0;
  14. left: 0;
  15. width: 100%;
  16. height: 300rpx;
  17. z-index: 5;
  18. }
  19. .header .background {
  20. position: absolute;
  21. top: 0;
  22. left: 0;
  23. width: 100%;
  24. height: 100%;
  25. background: linear-gradient(180deg, rgba(46, 130, 255, 1) 0%, rgba(46, 130, 255, 1) 84.9%, rgba(46, 130, 255, 0) 100%);
  26. }
  27. /* 固定返回按钮样式 */
  28. .back-icon {
  29. position: fixed;
  30. top: 120rpx;
  31. left: 30rpx;
  32. z-index: 999;
  33. width: 16px;
  34. height: 16px;
  35. }
  36. .header-title {
  37. text-align: center;
  38. font-size: 36rpx;
  39. margin-bottom: 20rpx;
  40. }
  41. .user-info-container {
  42. position: fixed;
  43. top: 200rpx;
  44. left: 0;
  45. width: 100%;
  46. padding: 0 30rpx;
  47. box-sizing: border-box;
  48. z-index: 10;
  49. }
  50. .user-info {
  51. background-color: transparent;
  52. color: white;
  53. padding: 20rpx 20rpx;
  54. width: 100%;
  55. }
  56. .user-name {
  57. font-size: 40rpx;
  58. font-weight: bold;
  59. margin-bottom: 20rpx;
  60. }
  61. .user-id, .user-address {
  62. display: flex;
  63. align-items: center;
  64. font-size: 28rpx;
  65. margin-bottom: 10rpx;
  66. color: rgba(255, 255, 255, 0.9);
  67. }
  68. .id-icon, .address-icon {
  69. width: 30rpx;
  70. height: 30rpx;
  71. margin-right: 10rpx;
  72. }
  73. .bill-list-container {
  74. flex: 1;
  75. padding: 20rpx;
  76. margin-top: 30rpx;
  77. }
  78. .bill-date-section {
  79. font-size: 32rpx;
  80. font-weight: bold;
  81. padding: 20rpx 10rpx;
  82. color: #333;
  83. }
  84. .address-info {
  85. display: flex;
  86. align-items: center;
  87. margin-bottom: 30rpx;
  88. padding: 20rpx 0;
  89. }
  90. .address-icon image {
  91. width: 40rpx;
  92. height: 40rpx;
  93. margin-right: 10rpx;
  94. }
  95. .address-text {
  96. font-size: 28rpx;
  97. color: #333;
  98. }
  99. /* 修改搜索容器样式 */
  100. .search-container {
  101. position: fixed;
  102. top: 395rpx; /* 调整位置到用户信息下方 */
  103. left: 0;
  104. width: 37%;
  105. padding: 0 30rpx;
  106. box-sizing: border-box;
  107. z-index: 20; /* 确保在背景之上 */
  108. }
  109. /* 修改搜索按钮样式 */
  110. .search-button {
  111. padding: 15rpx 30rpx;
  112. display: flex;
  113. justify-content: center;
  114. align-items: center;
  115. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
  116. border-radius: 16rpx;
  117. background: rgba(255, 255, 255, 0.3);
  118. }
  119. .search-button text {
  120. font-size: 28rpx;
  121. color: rgba(255, 255, 255, 1);
  122. margin-left: 12rpx;
  123. }
  124. .search-icon {
  125. width: 30rpx;
  126. height: 30rpx;
  127. }
  128. /* 调整账单列表容器位置 */
  129. .bill-list-wrapper {
  130. position: fixed;
  131. top: 480rpx; /* 调整位置,为搜索按钮留出空间 */
  132. left: 0;
  133. width: 100%;
  134. height: calc(100vh - 450rpx);
  135. z-index: 15;
  136. overflow: hidden;
  137. }
  138. /* 调整账单列表样式 */
  139. .bill-list {
  140. width: 100%;
  141. height: 100%;
  142. padding: 0 30rpx;
  143. box-sizing: border-box;
  144. margin-top: 0;
  145. padding-bottom: 50rpx;
  146. }
  147. .bill-card {
  148. width: 100%;
  149. border-radius: 12rpx;
  150. overflow: hidden;
  151. margin-bottom: 30rpx;
  152. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
  153. }
  154. .paid-date {
  155. background-color: #f5f5f5;
  156. }
  157. .invoice-btn {
  158. color: #1989fa;
  159. font-size: 26rpx;
  160. }
  161. /* 调整账单信息布局 */
  162. .bill-info {
  163. background-color: #fff;
  164. padding: 30rpx 30rpx 30rpx 30rpx;
  165. display: flex;
  166. justify-content: space-between;
  167. }
  168. /* 水滴图标区域 */
  169. .bill-icon {
  170. display: flex;
  171. align-items: center;
  172. justify-content: center;
  173. margin-right: 15rpx;
  174. margin-top: -50rpx;
  175. }
  176. .water-icon {
  177. width: 45rpx;
  178. height: 45rpx;
  179. }
  180. /* 账单信息左侧区域 */
  181. .bill-info-left {
  182. flex: 1;
  183. }
  184. /* 账单信息右侧区域 */
  185. .bill-info-right {
  186. text-align: right;
  187. display: flex;
  188. flex-direction: column;
  189. justify-content: center;
  190. }
  191. /* 移除之前的水滴图标样式 */
  192. .bill-number {
  193. font-size: 32rpx;
  194. color: rgba(46, 48, 56, 1);
  195. margin-bottom: 10rpx;
  196. font-weight: 600;
  197. }
  198. .bill-amount {
  199. font-size: 36rpx;
  200. font-weight: bold;
  201. color: rgba(46, 48, 56, 1);
  202. margin-bottom: 10rpx;
  203. }
  204. .bill-usage {
  205. font-size: 30rpx;
  206. color: rgba(100, 108, 128, 1);
  207. margin-bottom: 10rpx;
  208. }
  209. .bill-payment-time {
  210. font-size: 26rpx;
  211. color: rgba(100, 108, 128, 1);
  212. margin-bottom: 10rpx;
  213. }
  214. .bill-status {
  215. font-size: 26rpx;
  216. text-align: right;
  217. }
  218. .paid {
  219. color: #07c160;
  220. }
  221. .unpaid {
  222. color: #ff4d4f;
  223. }
  224. .no-more {
  225. text-align: center;
  226. color: #999;
  227. font-size: 26rpx;
  228. padding: 30rpx 0;
  229. }
  230. .no-data {
  231. text-align: center;
  232. color: #999;
  233. font-size: 26rpx;
  234. padding: 250rpx 0;
  235. }
  236. .bill-action {
  237. margin-top: 20rpx;
  238. display: flex;
  239. justify-content: flex-end;
  240. }
  241. .pay-btn {
  242. background-color: #ff4d4f;
  243. color: white;
  244. font-size: 28rpx;
  245. padding: 10rpx 40rpx;
  246. border-radius: 30rpx;
  247. line-height: 1.5;
  248. }
  249. .detail-btn {
  250. background-color: #f0f0f0;
  251. color: #333;
  252. font-size: 28rpx;
  253. padding: 10rpx 40rpx;
  254. border-radius: 30rpx;
  255. line-height: 1.5;
  256. }
  257. .list-end {
  258. text-align: center;
  259. color: #999;
  260. font-size: 26rpx;
  261. padding: 30rpx 0;
  262. }
  263. .empty-list {
  264. text-align: center;
  265. color: #999;
  266. font-size: 28rpx;
  267. padding: 100rpx 0;
  268. }
  269. /* 未缴费金额标红 */
  270. .unpaid-amount {
  271. color: #ff4d4f;
  272. }
  273. /* 删除原有的年份选择器样式,替换为以下样式 */
  274. .picker-mask {
  275. position: fixed;
  276. top: 0;
  277. left: 0;
  278. right: 0;
  279. bottom: 0;
  280. background: rgba(0, 0, 0, 0.5);
  281. z-index: 999;
  282. }
  283. .picker-container-modal {
  284. position: fixed;
  285. bottom: -100%;
  286. left: 0;
  287. width: 100%;
  288. background: #fff;
  289. transition: all 0.3s ease-in-out;
  290. z-index: 1000;
  291. }
  292. .picker-container-modal.show {
  293. bottom: 0;
  294. }
  295. .picker-header {
  296. display: flex;
  297. justify-content: space-between;
  298. align-items: center;
  299. padding: 20rpx 30rpx;
  300. border-bottom: 1rpx solid #eee;
  301. }
  302. .picker-cancel, .picker-confirm {
  303. font-size: 32rpx;
  304. padding: 10rpx;
  305. }
  306. .picker-cancel {
  307. color: #999;
  308. }
  309. .picker-confirm {
  310. color: #2E82FF;
  311. }
  312. .picker-title {
  313. font-size: 32rpx;
  314. color: #333;
  315. }
  316. /* 修改年份选择器样式 */
  317. .year-picker {
  318. width: 100%;
  319. height: 400rpx;
  320. }
  321. .picker-item {
  322. line-height: 100rpx;
  323. text-align: center;
  324. font-size: 36rpx;
  325. color: #999;
  326. display: flex;
  327. align-items: center;
  328. justify-content: center;
  329. height: 100rpx;
  330. }
  331. /* 修改选中项样式 */
  332. .picker-view-indicator {
  333. height: 100rpx;
  334. }
  335. /* 添加选中项的样式 */
  336. .picker-view-column view.picker-item {
  337. display: flex;
  338. align-items: center;
  339. justify-content: center;
  340. }