pl-site-plan.scss 5.6 KB

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