pl-driver-plan.scss 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  1. /* 司机运输计划单 · 运输记录/回执正文(三墙绿;顶栏样式见 bx-theme) */
  2. .pl-driver-plan-page {
  3. --pl-driver-primary: #059669;
  4. --pl-driver-brand: #0a9f6d;
  5. padding-bottom: 24px;
  6. background: #f8fafc;
  7. min-height: 100vh;
  8. box-sizing: border-box;
  9. }
  10. .pl-driver-plan-page .filters {
  11. margin: 12px 16px;
  12. padding: 4px 4px 10px;
  13. background: transparent;
  14. box-shadow: none;
  15. box-sizing: border-box;
  16. }
  17. .pl-driver-plan-page .search-input {
  18. display: block;
  19. width: calc(100% - 8px);
  20. height: 36px;
  21. margin: 8px 4px 0;
  22. padding: 0 12px;
  23. border: 1px solid #cbd5e1;
  24. border-radius: 8px;
  25. font-size: 14px;
  26. color: #0f172a;
  27. background: #fff;
  28. box-sizing: border-box;
  29. }
  30. .pl-driver-plan-page .list-body {
  31. padding: 0 16px 24px;
  32. }
  33. .pl-driver-plan-page .record-card {
  34. position: relative;
  35. margin-bottom: 10px;
  36. padding: 16px 14px 14px;
  37. border-radius: 12px;
  38. background: #fff;
  39. border: 1px solid #e2e8f0;
  40. overflow: hidden;
  41. }
  42. .pl-driver-plan-page .index-tag {
  43. position: absolute;
  44. top: 0;
  45. left: 0;
  46. min-width: 24px;
  47. height: 22px;
  48. padding: 0 8px;
  49. display: inline-flex;
  50. align-items: center;
  51. justify-content: center;
  52. border-radius: 12px 0 10px 0;
  53. background: var(--pl-driver-primary);
  54. color: #fff;
  55. font-size: 12px;
  56. font-weight: 700;
  57. line-height: 1;
  58. }
  59. .pl-driver-plan-page .record-top {
  60. display: flex;
  61. align-items: center;
  62. justify-content: space-between;
  63. gap: 8px;
  64. margin-bottom: 8px;
  65. padding-left: 4px;
  66. }
  67. .pl-driver-plan-page .record-top-actions {
  68. flex-shrink: 0;
  69. display: flex;
  70. align-items: center;
  71. gap: 6px;
  72. }
  73. .pl-driver-plan-page .pound-qr-btn {
  74. flex-shrink: 0;
  75. height: 24px;
  76. padding: 0 8px;
  77. display: inline-flex;
  78. align-items: center;
  79. justify-content: center;
  80. border-radius: 6px;
  81. background: #0a9f6d;
  82. color: #fff;
  83. font-size: 11px;
  84. font-weight: 600;
  85. line-height: 1;
  86. white-space: nowrap;
  87. }
  88. .pl-driver-plan-page .card-title {
  89. flex: 1;
  90. min-width: 0;
  91. font-size: 15px;
  92. font-weight: 700;
  93. color: #0f172a;
  94. word-break: break-all;
  95. }
  96. .pl-driver-plan-page .tag {
  97. flex-shrink: 0;
  98. font-size: 11px;
  99. font-weight: 600;
  100. padding: 2px 8px;
  101. border-radius: 999px;
  102. }
  103. .pl-driver-plan-page .tag--success {
  104. background: #ecfdf5;
  105. color: #047857;
  106. }
  107. .pl-driver-plan-page .tag--danger {
  108. background: #fef2f2;
  109. color: #dc2626;
  110. }
  111. .pl-driver-plan-page .tag--muted {
  112. background: #f1f5f9;
  113. color: #64748b;
  114. }
  115. .pl-driver-plan-page .meta {
  116. font-size: 13px;
  117. color: #475569;
  118. line-height: 1.5;
  119. margin-top: 2px;
  120. }
  121. .pl-driver-plan-page .plate-hl {
  122. color: var(--pl-driver-primary);
  123. font-weight: 700;
  124. }
  125. .pl-driver-plan-page .stop-block {
  126. margin-top: 8px;
  127. padding-top: 8px;
  128. border-top: 1px dashed #e2e8f0;
  129. }
  130. .pl-driver-plan-page .stop-block__title {
  131. font-size: 13px;
  132. font-weight: 700;
  133. color: #0f172a;
  134. margin-bottom: 4px;
  135. }
  136. .pl-driver-plan-page .page-loading,
  137. .pl-driver-plan-page .empty-hint {
  138. text-align: center;
  139. color: #94a3b8;
  140. padding: 48px 16px;
  141. font-size: 14px;
  142. }
  143. /* detail */
  144. .pl-driver-plan-detail {
  145. padding-bottom: 100px;
  146. }
  147. .pl-driver-plan-detail .section-card {
  148. margin: 12px 16px;
  149. padding: 12px 14px;
  150. border-radius: 12px;
  151. background: #fff;
  152. border: 1px solid #e2e8f0;
  153. }
  154. .pl-driver-plan-detail .kv-row {
  155. display: flex;
  156. justify-content: space-between;
  157. gap: 12px;
  158. padding: 8px 0;
  159. border-bottom: 1px solid #f1f5f9;
  160. font-size: 14px;
  161. }
  162. .pl-driver-plan-detail .kv-row:last-child {
  163. border-bottom: none;
  164. }
  165. .pl-driver-plan-detail .kv-k {
  166. color: #64748b;
  167. flex-shrink: 0;
  168. }
  169. .pl-driver-plan-detail .kv-v {
  170. color: #0f172a;
  171. text-align: right;
  172. word-break: break-all;
  173. }
  174. .pl-driver-plan-detail .stop-title {
  175. font-size: 15px;
  176. font-weight: 700;
  177. color: #0f172a;
  178. margin-bottom: 8px;
  179. }
  180. .pl-driver-plan-detail .addr-row {
  181. display: flex;
  182. align-items: flex-start;
  183. gap: 8px;
  184. }
  185. .pl-driver-plan-detail .nav-btn {
  186. flex-shrink: 0;
  187. font-size: 12px;
  188. color: #fff;
  189. background: var(--pl-driver-primary);
  190. border-radius: 999px;
  191. padding: 4px 10px;
  192. }
  193. .pl-driver-plan-detail .product-card {
  194. margin-top: 10px;
  195. padding: 10px;
  196. border-radius: 10px;
  197. background: #f8fafc;
  198. border: 1px solid #e2e8f0;
  199. }
  200. .pl-driver-plan-detail .product-name {
  201. font-weight: 700;
  202. color: #0f172a;
  203. margin-bottom: 6px;
  204. }
  205. .pl-driver-plan-detail .actual-box {
  206. margin-top: 12px;
  207. padding: 10px;
  208. border-radius: 10px;
  209. background: #ecfdf5;
  210. }
  211. .pl-driver-plan-detail .actual-label {
  212. font-size: 13px;
  213. font-weight: 700;
  214. color: #047857;
  215. margin-bottom: 6px;
  216. }
  217. .pl-driver-plan-detail .actual-row {
  218. display: flex;
  219. align-items: center;
  220. gap: 8px;
  221. }
  222. .pl-driver-plan-detail .actual-input {
  223. flex: 1;
  224. height: 40px;
  225. padding: 0 12px;
  226. border: 1px solid #a7f3d0;
  227. border-radius: 8px;
  228. background: #fff;
  229. font-size: 16px;
  230. }
  231. .pl-driver-plan-detail .remark-input {
  232. width: 100%;
  233. min-height: 64px;
  234. margin-top: 10px;
  235. padding: 10px 12px;
  236. border: 1px solid #e2e8f0;
  237. border-radius: 8px;
  238. font-size: 14px;
  239. box-sizing: border-box;
  240. }
  241. .pl-driver-plan-detail .attach-label {
  242. margin-top: 12px;
  243. font-size: 13px;
  244. color: #64748b;
  245. }
  246. .pl-driver-plan-detail .attach-row {
  247. display: flex;
  248. flex-wrap: wrap;
  249. gap: 8px;
  250. margin-top: 8px;
  251. }
  252. .pl-driver-plan-detail .attach-thumb {
  253. width: 72px;
  254. height: 72px;
  255. border-radius: 8px;
  256. background: #f1f5f9;
  257. }
  258. .pl-driver-plan-detail .attach-add {
  259. width: 72px;
  260. height: 72px;
  261. border-radius: 8px;
  262. border: 1px dashed #a7f3d0;
  263. display: flex;
  264. align-items: center;
  265. justify-content: center;
  266. color: var(--pl-driver-primary);
  267. font-size: 28px;
  268. }
  269. .pl-driver-plan-detail .page-footer {
  270. position: fixed;
  271. left: 0;
  272. right: 0;
  273. bottom: 0;
  274. padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  275. background: #fff;
  276. border-top: 1px solid #e2e8f0;
  277. display: flex;
  278. gap: 10px;
  279. z-index: 20;
  280. }
  281. .pl-driver-plan-detail .footer-btn {
  282. flex: 1;
  283. height: 44px;
  284. border-radius: 999px;
  285. font-size: 15px;
  286. font-weight: 600;
  287. display: flex;
  288. align-items: center;
  289. justify-content: center;
  290. }
  291. .pl-driver-plan-detail .footer-btn--ghost {
  292. background: #ecfdf5;
  293. color: #047857;
  294. }
  295. .pl-driver-plan-detail .footer-btn--primary {
  296. background: var(--pl-driver-primary);
  297. color: #fff;
  298. }