jiaofeiList.wxss 6.1 KB

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