pl-plan-pair-stack-simple.html 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1" />
  6. <title>装/送 · 无色中性</title>
  7. <style>
  8. body {
  9. margin: 0;
  10. padding: 32px 24px;
  11. font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  12. font-size: 14px;
  13. color: #1e293b;
  14. background: #f8fafc;
  15. }
  16. h1 { margin: 0 0 6px; font-size: 18px; }
  17. p { margin: 0 0 16px; color: #64748b; font-size: 13px; line-height: 1.5; }
  18. .box {
  19. max-width: 520px;
  20. background: #fff;
  21. border: 1px solid #e2e8f0;
  22. border-radius: 10px;
  23. padding: 16px;
  24. }
  25. table { width: 100%; border-collapse: collapse; font-size: 13px; }
  26. th {
  27. padding: 8px;
  28. font-size: 12px;
  29. color: #64748b;
  30. font-weight: 600;
  31. text-align: center;
  32. border-bottom: 1px solid #e2e8f0;
  33. background: #f8fafc;
  34. }
  35. th.l { text-align: left; }
  36. td {
  37. padding: 8px;
  38. border-bottom: 1px solid #e2e8f0;
  39. vertical-align: middle;
  40. text-align: center;
  41. }
  42. td.l { text-align: left; }
  43. .pair { display: flex; flex-direction: column; width: 100%; }
  44. .line { padding: 1px 0; line-height: 1.4; color: #1e293b; }
  45. .line + .line {
  46. margin-top: 6px;
  47. padding-top: 6px;
  48. border-top: 1px dashed #e2e8f0;
  49. }
  50. .addr { font-weight: 600; }
  51. .time { margin-top: 2px; font-size: 12px; color: #64748b; font-weight: 400; }
  52. .num { font-variant-numeric: tabular-nums; font-weight: 600; }
  53. </style>
  54. </head>
  55. <body>
  56. <h1>无色中性</h1>
  57. <p>不写「装」「送」,也不用绿/蓝字色。上下两行中间用虚线分隔(上=装、下=送)。</p>
  58. <div class="box">
  59. <table>
  60. <thead>
  61. <tr>
  62. <th class="l">地址</th>
  63. <th>计划数量</th>
  64. <th>单价</th>
  65. </tr>
  66. </thead>
  67. <tbody>
  68. <tr>
  69. <td class="l">
  70. <div class="pair">
  71. <div class="line">
  72. <div class="addr">宜昌西陵化工园 A12</div>
  73. <div class="time">09-16 08:30</div>
  74. </div>
  75. <div class="line">
  76. <div class="addr">武汉东西湖物流大道 88</div>
  77. <div class="time">09-16 16:00</div>
  78. </div>
  79. </div>
  80. </td>
  81. <td>
  82. <div class="pair">
  83. <div class="line"><span class="num">0.01</span></div>
  84. <div class="line"><span class="num">0.01</span></div>
  85. </div>
  86. </td>
  87. <td>
  88. <div class="pair">
  89. <div class="line"><span class="num">10</span></div>
  90. <div class="line"><span class="num" style="color:#64748b;font-weight:500">—</span></div>
  91. </div>
  92. </td>
  93. </tr>
  94. </tbody>
  95. </table>
  96. </div>
  97. </body>
  98. </html>