jiaofeiList.wxss 6.2 KB

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