refuelRecords.wxss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. /* pages/driver/refuel-records/refuel-records.wxss */
  2. .container {
  3. background-color: #f8f8f8;
  4. min-height: 100vh;
  5. padding: 40rpx 20rpx 140rpx;
  6. font-size: 28rpx;
  7. line-height: 1.5;
  8. }
  9. /* 页面标题 */
  10. .page-title {
  11. font-size: 36rpx;
  12. font-weight: bold;
  13. margin-bottom: 40rpx;
  14. text-align: center;
  15. color: #333;
  16. }
  17. /* 时间选择区域 */
  18. .time-selector {
  19. background-color: white;
  20. border-radius: 20rpx;
  21. padding: 30rpx;
  22. margin-bottom: 40rpx;
  23. box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.05);
  24. display: flex;
  25. justify-content: space-between;
  26. align-items: center;
  27. gap: 30rpx;
  28. }
  29. .date-input {
  30. flex: 1;
  31. padding: 20rpx 24rpx;
  32. border: 2rpx solid #e0e0e0;
  33. border-radius: 10rpx;
  34. font-size: 28rpx;
  35. background-color: #f8f8f8;
  36. color: #333;
  37. }
  38. .query-btn {
  39. padding: 20rpx 40rpx;
  40. background-color: #0D7EE7;
  41. color: white;
  42. border: none;
  43. border-radius: 10rpx;
  44. font-size: 28rpx;
  45. font-weight: bold;
  46. white-space: nowrap;
  47. line-height: 1.2;
  48. }
  49. /* 加油流水列表 */
  50. .record-list {
  51. background-color: white;
  52. border-radius: 20rpx;
  53. overflow: hidden;
  54. box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.05);
  55. }
  56. .record-item {
  57. padding: 30rpx;
  58. border-bottom: 2rpx solid #f0f0f0;
  59. }
  60. .record-item:last-child {
  61. border-bottom: none;
  62. }
  63. /* 第一行:交易时间和订单编号 */
  64. .record-header {
  65. display: flex;
  66. justify-content: space-between;
  67. align-items: center;
  68. margin-bottom: 20rpx;
  69. }
  70. .record-time {
  71. font-size: 28rpx;
  72. color: #666;
  73. }
  74. .order-id {
  75. font-size: 24rpx;
  76. color: #999;
  77. }
  78. /* 第二行:油品信息和单价 */
  79. .product-info {
  80. display: flex;
  81. justify-content: space-between;
  82. align-items: center;
  83. margin-bottom: 20rpx;
  84. }
  85. .product-name {
  86. font-size: 32rpx;
  87. font-weight: bold;
  88. color: #333;
  89. }
  90. .unit-price {
  91. font-size: 28rpx;
  92. color: #666;
  93. }
  94. /* 第三行:升数和支付方式 */
  95. .amount-payment {
  96. display: flex;
  97. justify-content: space-between;
  98. align-items: center;
  99. margin-bottom: 20rpx;
  100. }
  101. .amount {
  102. font-size: 28rpx;
  103. color: #666;
  104. }
  105. .payment-method {
  106. font-size: 28rpx;
  107. color: #666;
  108. }
  109. /* 第四行:应收款和状态 */
  110. .amount-status {
  111. display: flex;
  112. justify-content: space-between;
  113. align-items: center;
  114. margin-bottom: 20rpx;
  115. }
  116. .receivable {
  117. font-size: 32rpx;
  118. font-weight: bold;
  119. color: #0D7EE7;
  120. }
  121. .empty-box {
  122. text-align: center;
  123. margin-top: 200rpx;
  124. color: #999;
  125. }
  126. .empty-text {
  127. font-size: 30rpx;
  128. }
  129. .status {
  130. font-size: 24rpx;
  131. padding: 8rpx 16rpx;
  132. border-radius: 24rpx;
  133. background-color: #e8f5e8;
  134. color: #0D7EE7;
  135. }
  136. /* 第五行:用户信息 */
  137. .user-info {
  138. display: flex;
  139. justify-content: space-between;
  140. align-items: center;
  141. font-size: 28rpx;
  142. color: #666;
  143. }
  144. .card-footer{
  145. display:flex;
  146. justify-content:space-between;
  147. align-items:center;
  148. margin-top:20rpx;
  149. }
  150. .cancel-btn{
  151. background: #fff1f0;
  152. color:#ff4d4f;
  153. border:none;
  154. border-radius: 30rpx;
  155. font-size:24rpx;
  156. padding:8rpx 28rpx;
  157. }
  158. .cancel-btn::after{
  159. border:none;
  160. }