demo-protocol-view-b.html 41 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177
  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.0" />
  6. <title>方案B:顶部摘要卡+折叠面板 — 采集协议单查看</title>
  7. <style>
  8. /* ═══════════════════════════════════════════
  9. Reset & Base
  10. ═══════════════════════════════════════════ */
  11. *,
  12. *::before,
  13. *::after {
  14. margin: 0;
  15. padding: 0;
  16. box-sizing: border-box;
  17. }
  18. body {
  19. font-family:
  20. -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
  21. 'Microsoft YaHei', sans-serif;
  22. color: #1e293b;
  23. background: #e2e8f0;
  24. display: flex;
  25. align-items: center;
  26. justify-content: center;
  27. min-height: 100vh;
  28. padding: 24px;
  29. line-height: 1.6;
  30. }
  31. /* ═══════════════════════════════════════════
  32. Modal Overlay
  33. ═══════════════════════════════════════════ */
  34. .overlay {
  35. position: fixed;
  36. inset: 0;
  37. background: rgba(15, 23, 42, 0.55);
  38. z-index: 1000;
  39. display: flex;
  40. align-items: center;
  41. justify-content: center;
  42. backdrop-filter: none;
  43. }
  44. /* ═══════════════════════════════════════════
  45. Dialog Shell
  46. ═══════════════════════════════════════════ */
  47. .dialog {
  48. width: 1200px;
  49. max-width: 96vw;
  50. max-height: calc(100vh - 48px);
  51. background: #fff;
  52. border-radius: 16px;
  53. box-shadow:
  54. 0 25px 60px rgba(0, 0, 0, 0.15),
  55. 0 0 0 1px rgba(16, 185, 129, 0.08);
  56. display: flex;
  57. flex-direction: column;
  58. overflow: hidden;
  59. animation: dialogIn 0.28s ease-out;
  60. }
  61. @keyframes dialogIn {
  62. from {
  63. opacity: 0;
  64. transform: translateY(24px) scale(0.97);
  65. }
  66. to {
  67. opacity: 1;
  68. transform: translateY(0) scale(1);
  69. }
  70. }
  71. /* ═══════════════════════════════════════════
  72. Dialog Header
  73. ═══════════════════════════════════════════ */
  74. .dialog-header {
  75. display: flex;
  76. align-items: center;
  77. justify-content: space-between;
  78. padding: 20px 28px;
  79. border-bottom: 1px solid #e2e8f0;
  80. flex-shrink: 0;
  81. }
  82. .dialog-header h3 {
  83. font-size: 18px;
  84. font-weight: 600;
  85. color: #1e293b;
  86. display: flex;
  87. align-items: center;
  88. gap: 10px;
  89. }
  90. .dialog-header h3::before {
  91. content: '';
  92. display: inline-block;
  93. width: 4px;
  94. height: 20px;
  95. background: #10b981;
  96. border-radius: 2px;
  97. }
  98. .dialog-header .subtitle {
  99. font-size: 14px;
  100. font-weight: 400;
  101. color: #64748b;
  102. margin-left: 4px;
  103. }
  104. .close-btn {
  105. width: 36px;
  106. height: 36px;
  107. border: none;
  108. background: #f1f5f9;
  109. border-radius: 10px;
  110. cursor: pointer;
  111. display: flex;
  112. align-items: center;
  113. justify-content: center;
  114. transition: all 0.2s;
  115. color: #64748b;
  116. font-size: 20px;
  117. }
  118. .close-btn:hover {
  119. background: #fee2e2;
  120. color: #ef4444;
  121. }
  122. /* ═══════════════════════════════════════════
  123. Dialog Body (scrollable)
  124. ═══════════════════════════════════════════ */
  125. .dialog-body {
  126. flex: 1;
  127. overflow-y: auto;
  128. padding: 24px 28px;
  129. scrollbar-width: thin;
  130. scrollbar-color: #cbd5e1 transparent;
  131. }
  132. .dialog-body::-webkit-scrollbar {
  133. width: 6px;
  134. }
  135. .dialog-body::-webkit-scrollbar-track {
  136. background: transparent;
  137. }
  138. .dialog-body::-webkit-scrollbar-thumb {
  139. background: #cbd5e1;
  140. border-radius: 3px;
  141. }
  142. /* ═══════════════════════════════════════════
  143. Top Summary Strip (Dashboard Card)
  144. ═══════════════════════════════════════════ */
  145. .summary-strip {
  146. background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 50%, #ecfdf5 100%);
  147. border: 1px solid #d1fae5;
  148. border-radius: 14px;
  149. padding: 20px 24px;
  150. margin-bottom: 24px;
  151. position: relative;
  152. overflow: hidden;
  153. }
  154. .summary-strip::before {
  155. content: '';
  156. position: absolute;
  157. top: -30px;
  158. right: -30px;
  159. width: 120px;
  160. height: 120px;
  161. background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  162. border-radius: 50%;
  163. }
  164. .summary-strip::after {
  165. content: '';
  166. position: absolute;
  167. bottom: -20px;
  168. left: 40%;
  169. width: 80px;
  170. height: 80px;
  171. background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
  172. border-radius: 50%;
  173. }
  174. .summary-grid {
  175. display: grid;
  176. grid-template-columns: repeat(6, 1fr);
  177. gap: 16px;
  178. position: relative;
  179. z-index: 1;
  180. }
  181. .summary-card {
  182. background: #fff;
  183. border-radius: 10px;
  184. padding: 16px 18px;
  185. border: 1px solid #e2e8f0;
  186. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  187. transition: all 0.2s;
  188. display: flex;
  189. flex-direction: column;
  190. gap: 8px;
  191. }
  192. .summary-card:hover {
  193. box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
  194. border-color: #a7f3d0;
  195. transform: translateY(-1px);
  196. }
  197. .summary-card .card-icon {
  198. width: 32px;
  199. height: 32px;
  200. border-radius: 8px;
  201. display: flex;
  202. align-items: center;
  203. justify-content: center;
  204. font-size: 16px;
  205. flex-shrink: 0;
  206. }
  207. .summary-card .card-icon.green {
  208. background: #d1fae5;
  209. color: #059669;
  210. }
  211. .summary-card .card-icon.blue {
  212. background: #dbeafe;
  213. color: #2563eb;
  214. }
  215. .summary-card .card-icon.amber {
  216. background: #fef3c7;
  217. color: #d97706;
  218. }
  219. .summary-card .card-icon.violet {
  220. background: #ede9fe;
  221. color: #7c3aed;
  222. }
  223. .summary-card .card-icon.rose {
  224. background: #ffe4e6;
  225. color: #e11d48;
  226. }
  227. .summary-card .card-icon.cyan {
  228. background: #cffafe;
  229. color: #0891b2;
  230. }
  231. .summary-card .card-label {
  232. font-size: 12px;
  233. color: #94a3b8;
  234. font-weight: 500;
  235. letter-spacing: 0.02em;
  236. }
  237. .summary-card .card-value {
  238. font-size: 16px;
  239. font-weight: 600;
  240. color: #1e293b;
  241. line-height: 1.3;
  242. }
  243. .summary-card .card-value.mono {
  244. font-family: 'SF Mono', 'Cascadia Code', monospace;
  245. font-size: 15px;
  246. }
  247. /* status badge inside summary */
  248. .badge {
  249. display: inline-flex;
  250. align-items: center;
  251. gap: 4px;
  252. padding: 2px 10px;
  253. border-radius: 20px;
  254. font-size: 12px;
  255. font-weight: 600;
  256. line-height: 1.6;
  257. }
  258. .badge-green {
  259. background: #d1fae5;
  260. color: #059669;
  261. }
  262. .badge-amber {
  263. background: #fef3c7;
  264. color: #b45309;
  265. }
  266. .badge-gray {
  267. background: #f1f5f9;
  268. color: #64748b;
  269. }
  270. .badge-blue {
  271. background: #dbeafe;
  272. color: #2563eb;
  273. }
  274. .badge::before {
  275. content: '';
  276. width: 6px;
  277. height: 6px;
  278. border-radius: 50%;
  279. background: currentColor;
  280. flex-shrink: 0;
  281. }
  282. /* ═══════════════════════════════════════════
  283. Collapsible Panels (details/summary)
  284. ═══════════════════════════════════════════ */
  285. .panel {
  286. border: 1px solid #e2e8f0;
  287. border-radius: 12px;
  288. margin-bottom: 14px;
  289. background: #fff;
  290. overflow: hidden;
  291. transition: box-shadow 0.25s;
  292. }
  293. .panel:hover {
  294. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  295. }
  296. /* Hide default marker */
  297. .panel summary {
  298. list-style: none;
  299. cursor: pointer;
  300. user-select: none;
  301. }
  302. .panel summary::-webkit-details-marker {
  303. display: none;
  304. }
  305. .panel-header {
  306. display: flex;
  307. align-items: center;
  308. gap: 12px;
  309. padding: 16px 20px;
  310. border-bottom: 1px solid transparent;
  311. transition: all 0.2s;
  312. }
  313. .panel[open] .panel-header {
  314. border-bottom-color: #e2e8f0;
  315. background: #f8fafc;
  316. }
  317. .panel-header .panel-icon {
  318. width: 34px;
  319. height: 34px;
  320. border-radius: 8px;
  321. display: flex;
  322. align-items: center;
  323. justify-content: center;
  324. font-size: 16px;
  325. flex-shrink: 0;
  326. }
  327. .panel-header .panel-icon.ic-green {
  328. background: #ecfdf5;
  329. color: #10b981;
  330. }
  331. .panel-header .panel-icon.ic-blue {
  332. background: #eff6ff;
  333. color: #3b82f6;
  334. }
  335. .panel-header .panel-icon.ic-amber {
  336. background: #fffbeb;
  337. color: #f59e0b;
  338. }
  339. .panel-header .panel-icon.ic-violet {
  340. background: #f5f3ff;
  341. color: #8b5cf6;
  342. }
  343. .panel-header .panel-icon.ic-rose {
  344. background: #fff1f2;
  345. color: #f43f5e;
  346. }
  347. .panel-header .panel-icon.ic-cyan {
  348. background: #ecfeff;
  349. color: #06b6d4;
  350. }
  351. .panel-header .panel-title {
  352. font-size: 15px;
  353. font-weight: 600;
  354. color: #1e293b;
  355. flex: 1;
  356. }
  357. .panel-header .panel-count {
  358. font-size: 12px;
  359. color: #94a3b8;
  360. font-weight: 400;
  361. margin-left: -4px;
  362. }
  363. .panel-header .chevron {
  364. width: 24px;
  365. height: 24px;
  366. display: flex;
  367. align-items: center;
  368. justify-content: center;
  369. color: #94a3b8;
  370. transition: transform 0.3s ease;
  371. flex-shrink: 0;
  372. }
  373. .panel[open] .panel-header .chevron {
  374. transform: rotate(90deg);
  375. }
  376. .panel-body {
  377. padding: 20px 24px;
  378. animation: panelFadeIn 0.25s ease-out;
  379. }
  380. @keyframes panelFadeIn {
  381. from {
  382. opacity: 0;
  383. transform: translateY(-6px);
  384. }
  385. to {
  386. opacity: 1;
  387. transform: translateY(0);
  388. }
  389. }
  390. /* ═══════════════════════════════════════════
  391. Key-Value Grid
  392. ═══════════════════════════════════════════ */
  393. .kv-grid {
  394. display: grid;
  395. grid-template-columns: repeat(3, 1fr);
  396. gap: 0;
  397. }
  398. .kv-item {
  399. display: flex;
  400. flex-direction: column;
  401. padding: 12px 16px;
  402. border-bottom: 1px solid #f1f5f9;
  403. border-right: 1px solid #f1f5f9;
  404. min-height: 56px;
  405. justify-content: center;
  406. }
  407. .kv-item:nth-child(3n) {
  408. border-right: none;
  409. }
  410. .kv-item .kv-label {
  411. font-size: 12px;
  412. color: #94a3b8;
  413. margin-bottom: 4px;
  414. font-weight: 500;
  415. }
  416. .kv-item .kv-value {
  417. font-size: 14px;
  418. color: #1e293b;
  419. font-weight: 500;
  420. word-break: break-all;
  421. }
  422. .kv-item .kv-value.muted {
  423. color: #64748b;
  424. font-weight: 400;
  425. }
  426. /* Sub-section title */
  427. .sub-title {
  428. font-size: 14px;
  429. font-weight: 600;
  430. color: #1e293b;
  431. padding: 14px 0 10px;
  432. display: flex;
  433. align-items: center;
  434. gap: 8px;
  435. }
  436. .sub-title::before {
  437. content: '';
  438. width: 3px;
  439. height: 14px;
  440. background: #10b981;
  441. border-radius: 2px;
  442. }
  443. .sub-title:first-child {
  444. padding-top: 0;
  445. }
  446. /* ═══════════════════════════════════════════
  447. Attachment Thumbnails
  448. ═══════════════════════════════════════════ */
  449. .attach-row {
  450. display: flex;
  451. gap: 10px;
  452. flex-wrap: wrap;
  453. }
  454. .attach-thumb {
  455. width: 64px;
  456. height: 64px;
  457. border-radius: 8px;
  458. border: 1px solid #e2e8f0;
  459. background: #f8fafc;
  460. display: flex;
  461. align-items: center;
  462. justify-content: center;
  463. font-size: 11px;
  464. color: #94a3b8;
  465. cursor: pointer;
  466. transition: all 0.2s;
  467. position: relative;
  468. }
  469. .attach-thumb:hover {
  470. border-color: #10b981;
  471. box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
  472. }
  473. .attach-thumb svg {
  474. width: 24px;
  475. height: 24px;
  476. stroke: #94a3b8;
  477. }
  478. /* ═══════════════════════════════════════════
  479. Data Table
  480. ═══════════════════════════════════════════ */
  481. .data-table {
  482. width: 100%;
  483. border-collapse: collapse;
  484. font-size: 13px;
  485. }
  486. .data-table thead th {
  487. background: #f8fafc;
  488. color: #64748b;
  489. font-weight: 600;
  490. font-size: 12px;
  491. text-align: left;
  492. padding: 10px 14px;
  493. border-bottom: 1px solid #e2e8f0;
  494. white-space: nowrap;
  495. }
  496. .data-table tbody td {
  497. padding: 12px 14px;
  498. border-bottom: 1px solid #f1f5f9;
  499. color: #1e293b;
  500. }
  501. .data-table tbody tr:last-child td {
  502. border-bottom: none;
  503. }
  504. .data-table tbody tr:hover {
  505. background: #f8fafc;
  506. }
  507. /* ═══════════════════════════════════════════
  508. Payment Cards
  509. ═══════════════════════════════════════════ */
  510. .payment-card {
  511. background: #f8fafc;
  512. border: 1px solid #e2e8f0;
  513. border-radius: 10px;
  514. padding: 18px 20px;
  515. margin-bottom: 12px;
  516. }
  517. .payment-card .pay-title {
  518. font-size: 14px;
  519. font-weight: 600;
  520. color: #1e293b;
  521. margin-bottom: 12px;
  522. }
  523. .payment-row {
  524. display: flex;
  525. gap: 24px;
  526. flex-wrap: wrap;
  527. }
  528. .payment-row .pay-item {
  529. display: flex;
  530. flex-direction: column;
  531. gap: 2px;
  532. }
  533. .payment-row .pay-item .pay-label {
  534. font-size: 12px;
  535. color: #94a3b8;
  536. }
  537. .payment-row .pay-item .pay-val {
  538. font-size: 14px;
  539. font-weight: 500;
  540. color: #1e293b;
  541. }
  542. /* Flow timeline */
  543. .timeline {
  544. position: relative;
  545. padding-left: 24px;
  546. }
  547. .timeline::before {
  548. content: '';
  549. position: absolute;
  550. left: 7px;
  551. top: 6px;
  552. bottom: 6px;
  553. width: 2px;
  554. background: #e2e8f0;
  555. border-radius: 1px;
  556. }
  557. .timeline-item {
  558. position: relative;
  559. padding: 8px 0 8px 16px;
  560. }
  561. .timeline-item::before {
  562. content: '';
  563. position: absolute;
  564. left: -20px;
  565. top: 14px;
  566. width: 10px;
  567. height: 10px;
  568. border-radius: 50%;
  569. background: #fff;
  570. border: 2px solid #10b981;
  571. }
  572. .timeline-item.done::before {
  573. background: #10b981;
  574. }
  575. .timeline-item .tl-time {
  576. font-size: 12px;
  577. color: #94a3b8;
  578. }
  579. .timeline-item .tl-content {
  580. font-size: 13px;
  581. color: #1e293b;
  582. }
  583. .timeline-item .tl-content strong {
  584. font-weight: 600;
  585. }
  586. /* Detail mini cards */
  587. .detail-cards {
  588. display: grid;
  589. grid-template-columns: repeat(2, 1fr);
  590. gap: 12px;
  591. margin-top: 12px;
  592. }
  593. .detail-card {
  594. background: #fff;
  595. border: 1px solid #e2e8f0;
  596. border-radius: 8px;
  597. padding: 14px 16px;
  598. }
  599. .detail-card .dc-title {
  600. font-size: 13px;
  601. font-weight: 600;
  602. color: #1e293b;
  603. margin-bottom: 8px;
  604. }
  605. .detail-card .dc-row {
  606. display: flex;
  607. justify-content: space-between;
  608. font-size: 12px;
  609. padding: 3px 0;
  610. }
  611. .detail-card .dc-row .dc-label {
  612. color: #94a3b8;
  613. }
  614. .detail-card .dc-row .dc-val {
  615. color: #1e293b;
  616. font-weight: 500;
  617. }
  618. /* ═══════════════════════════════════════════
  619. Dialog Footer
  620. ═══════════════════════════════════════════ */
  621. .dialog-footer {
  622. padding: 16px 28px;
  623. border-top: 1px solid #e2e8f0;
  624. display: flex;
  625. justify-content: flex-end;
  626. flex-shrink: 0;
  627. }
  628. .btn-close {
  629. padding: 9px 28px;
  630. border: 1px solid #e2e8f0;
  631. background: #fff;
  632. border-radius: 8px;
  633. font-size: 14px;
  634. color: #64748b;
  635. cursor: pointer;
  636. transition: all 0.2s;
  637. font-weight: 500;
  638. }
  639. .btn-close:hover {
  640. border-color: #10b981;
  641. color: #10b981;
  642. background: #ecfdf5;
  643. }
  644. /* ═══════════════════════════════════════════
  645. Money highlight
  646. ═══════════════════════════════════════════ */
  647. .money {
  648. color: #059669;
  649. font-weight: 600;
  650. font-family: 'SF Mono', 'Cascadia Code', monospace;
  651. }
  652. /* ═══════════════════════════════════════════
  653. Responsive
  654. ═══════════════════════════════════════════ */
  655. @media (max-width: 900px) {
  656. .summary-grid {
  657. grid-template-columns: repeat(3, 1fr);
  658. }
  659. .kv-grid {
  660. grid-template-columns: repeat(2, 1fr);
  661. }
  662. .kv-item:nth-child(3n) {
  663. border-right: 1px solid #f1f5f9;
  664. }
  665. .kv-item:nth-child(2n) {
  666. border-right: none;
  667. }
  668. .detail-cards {
  669. grid-template-columns: 1fr;
  670. }
  671. }
  672. </style>
  673. </head>
  674. <body>
  675. <!-- Modal Overlay -->
  676. <div class="overlay">
  677. <div class="dialog">
  678. <!-- ─── Header ─── -->
  679. <div class="dialog-header">
  680. <h3>查看协议单 <span class="subtitle">P2025-0501-001</span></h3>
  681. <button class="close-btn" title="关闭">✕</button>
  682. </div>
  683. <!-- ─── Body ─── -->
  684. <div class="dialog-body">
  685. <!-- ═══════════ Top Summary Strip ═══════════ -->
  686. <div class="summary-strip">
  687. <div class="summary-grid">
  688. <div class="summary-card">
  689. <div class="card-icon green">📄</div>
  690. <div class="card-label">协议号</div>
  691. <div class="card-value mono">P2025-0501-001</div>
  692. </div>
  693. <div class="summary-card">
  694. <div class="card-icon green">✅</div>
  695. <div class="card-label">协议状态</div>
  696. <div class="card-value"><span class="badge badge-green">生效中</span></div>
  697. </div>
  698. <div class="summary-card">
  699. <div class="card-icon violet">👩</div>
  700. <div class="card-label">母亲姓名</div>
  701. <div class="card-value">王美丽</div>
  702. </div>
  703. <div class="summary-card">
  704. <div class="card-icon blue">📅</div>
  705. <div class="card-label">登记日期</div>
  706. <div class="card-value">2025-05-10</div>
  707. </div>
  708. <div class="summary-card">
  709. <div class="card-icon cyan">🏥</div>
  710. <div class="card-label">采集医院</div>
  711. <div class="card-value" style="font-size: 14px">合肥市第一人民医院</div>
  712. </div>
  713. <div class="summary-card">
  714. <div class="card-icon amber">💰</div>
  715. <div class="card-label">合同金额</div>
  716. <div class="card-value money">¥50,000</div>
  717. </div>
  718. </div>
  719. </div>
  720. <!-- ═══════════ Panel 1: 基本信息 (默认展开) ═══════════ -->
  721. <details class="panel" open>
  722. <summary>
  723. <div class="panel-header">
  724. <div class="panel-icon ic-green">📋</div>
  725. <span class="panel-title">基本信息</span>
  726. <span class="panel-count">8项</span>
  727. <span class="chevron">▶</span>
  728. </div>
  729. </summary>
  730. <div class="panel-body">
  731. <div class="kv-grid">
  732. <div class="kv-item">
  733. <span class="kv-label">协议号</span>
  734. <span class="kv-value" style="font-family: monospace">P2025-0501-001</span>
  735. </div>
  736. <div class="kv-item">
  737. <span class="kv-label">协议状态</span>
  738. <span class="kv-value"><span class="badge badge-green">生效中</span></span>
  739. </div>
  740. <div class="kv-item">
  741. <span class="kv-label">登记日期</span>
  742. <span class="kv-value">2025-05-10</span>
  743. </div>
  744. <div class="kv-item">
  745. <span class="kv-label">采集专员</span>
  746. <span class="kv-value">李明</span>
  747. </div>
  748. <div class="kv-item">
  749. <span class="kv-label">创建时间</span>
  750. <span class="kv-value muted">2025-05-10 14:30:22</span>
  751. </div>
  752. <div class="kv-item">
  753. <span class="kv-label">更新时间</span>
  754. <span class="kv-value muted">2025-05-10 16:45:10</span>
  755. </div>
  756. </div>
  757. <div style="padding: 14px 16px; border-bottom: 1px solid #f1f5f9">
  758. <div style="display: flex; gap: 24px">
  759. <div style="flex: 1">
  760. <div class="kv-label" style="margin-bottom: 8px">协议附件</div>
  761. <div class="attach-row">
  762. <div class="attach-thumb" title="采集协议书.pdf">
  763. <svg
  764. xmlns="http://www.w3.org/2000/svg"
  765. fill="none"
  766. viewBox="0 0 24 24"
  767. stroke-width="1.5"
  768. stroke="currentColor"
  769. >
  770. <path
  771. stroke-linecap="round"
  772. stroke-linejoin="round"
  773. d="M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"
  774. />
  775. </svg>
  776. </div>
  777. <div class="attach-thumb" title="知情同意书.pdf">
  778. <svg
  779. xmlns="http://www.w3.org/2000/svg"
  780. fill="none"
  781. viewBox="0 0 24 24"
  782. stroke-width="1.5"
  783. stroke="currentColor"
  784. >
  785. <path
  786. stroke-linecap="round"
  787. stroke-linejoin="round"
  788. d="M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"
  789. />
  790. </svg>
  791. </div>
  792. <div class="attach-thumb" title="身份证明.jpg">
  793. <svg
  794. xmlns="http://www.w3.org/2000/svg"
  795. fill="none"
  796. viewBox="0 0 24 24"
  797. stroke-width="1.5"
  798. stroke="currentColor"
  799. >
  800. <path
  801. stroke-linecap="round"
  802. stroke-linejoin="round"
  803. d="m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909M3.75 21h16.5A2.25 2.25 0 0 0 22.5 18.75V5.25A2.25 2.25 0 0 0 20.25 3H3.75A2.25 2.25 0 0 0 1.5 5.25v13.5A2.25 2.25 0 0 0 3.75 21Z"
  804. />
  805. </svg>
  806. </div>
  807. </div>
  808. </div>
  809. <div style="flex: 1">
  810. <div class="kv-label" style="margin-bottom: 8px">备注</div>
  811. <div class="kv-value muted">客户要求加急处理,需优先安排采集和检测</div>
  812. </div>
  813. </div>
  814. </div>
  815. </div>
  816. </details>
  817. <!-- ═══════════ Panel 2: 客户信息 ═══════════ -->
  818. <details class="panel">
  819. <summary>
  820. <div class="panel-header">
  821. <div class="panel-icon ic-violet">👥</div>
  822. <span class="panel-title">客户信息</span>
  823. <span class="panel-count">19项</span>
  824. <span class="chevron">▶</span>
  825. </div>
  826. </summary>
  827. <div class="panel-body">
  828. <div class="sub-title">母亲信息</div>
  829. <div class="kv-grid">
  830. <div class="kv-item"
  831. ><span class="kv-label">姓名</span><span class="kv-value">王美丽</span></div
  832. >
  833. <div class="kv-item"
  834. ><span class="kv-label">电话</span><span class="kv-value">138****5678</span></div
  835. >
  836. <div class="kv-item"
  837. ><span class="kv-label">身份证号</span
  838. ><span class="kv-value">3401****1234</span></div
  839. >
  840. <div class="kv-item"
  841. ><span class="kv-label">出生年月</span><span class="kv-value">1992-06</span></div
  842. >
  843. <div class="kv-item"
  844. ><span class="kv-label">民族</span><span class="kv-value">汉族</span></div
  845. >
  846. <div class="kv-item"
  847. ><span class="kv-label">住址</span
  848. ><span class="kv-value muted">安徽省合肥市蜀山区望江西路128号</span></div
  849. >
  850. </div>
  851. <div class="sub-title">父亲信息</div>
  852. <div class="kv-grid">
  853. <div class="kv-item"
  854. ><span class="kv-label">姓名</span><span class="kv-value">张建国</span></div
  855. >
  856. <div class="kv-item"
  857. ><span class="kv-label">电话</span><span class="kv-value">139****8901</span></div
  858. >
  859. <div class="kv-item"
  860. ><span class="kv-label">身份证号</span
  861. ><span class="kv-value">3401****5678</span></div
  862. >
  863. </div>
  864. <div class="sub-title">新生儿信息</div>
  865. <div class="kv-grid">
  866. <div class="kv-item"
  867. ><span class="kv-label">姓名</span><span class="kv-value">张小明</span></div
  868. >
  869. <div class="kv-item"
  870. ><span class="kv-label">分娩时间</span
  871. ><span class="kv-value">2025-05-08 06:30</span></div
  872. >
  873. <div class="kv-item"
  874. ><span class="kv-label">性别</span><span class="kv-value">男</span></div
  875. >
  876. <div class="kv-item"
  877. ><span class="kv-label">分娩方式</span><span class="kv-value">剖宫产</span></div
  878. >
  879. <div class="kv-item"
  880. ><span class="kv-label">胎次</span><span class="kv-value">1</span></div
  881. >
  882. <div class="kv-item"
  883. ><span class="kv-label">体重</span><span class="kv-value">3250g</span></div
  884. >
  885. <div class="kv-item"
  886. ><span class="kv-label">Apgar评分 1min</span><span class="kv-value">9</span></div
  887. >
  888. <div class="kv-item"
  889. ><span class="kv-label">Apgar评分 5min</span><span class="kv-value">10</span></div
  890. >
  891. <div class="kv-item"
  892. ><span class="kv-label">Apgar评分 10min</span
  893. ><span class="kv-value">10</span></div
  894. >
  895. </div>
  896. </div>
  897. </details>
  898. <!-- ═══════════ Panel 3: 采集信息 ═══════════ -->
  899. <details class="panel">
  900. <summary>
  901. <div class="panel-header">
  902. <div class="panel-icon ic-cyan">🧪</div>
  903. <span class="panel-title">采集信息</span>
  904. <span class="panel-count">6项</span>
  905. <span class="chevron">▶</span>
  906. </div>
  907. </summary>
  908. <div class="panel-body">
  909. <div class="kv-grid">
  910. <div class="kv-item"
  911. ><span class="kv-label">采集地区</span><span class="kv-value">华东地区</span></div
  912. >
  913. <div class="kv-item"
  914. ><span class="kv-label">采集医院</span
  915. ><span class="kv-value">合肥市第一人民医院</span></div
  916. >
  917. <div class="kv-item"
  918. ><span class="kv-label">采集医护</span><span class="kv-value">陈护士</span></div
  919. >
  920. <div class="kv-item"
  921. ><span class="kv-label">销售人员</span><span class="kv-value">赵经理</span></div
  922. >
  923. <div class="kv-item"
  924. ><span class="kv-label">样本采集时间</span
  925. ><span class="kv-value muted">2025-05-08 07:15</span></div
  926. >
  927. <div class="kv-item"
  928. ><span class="kv-label">母血采集时间</span
  929. ><span class="kv-value muted">2025-05-08 07:20</span></div
  930. >
  931. </div>
  932. </div>
  933. </details>
  934. <!-- ═══════════ Panel 4: 样本及运输信息 ═══════════ -->
  935. <details class="panel">
  936. <summary>
  937. <div class="panel-header">
  938. <div class="panel-icon ic-blue">📦</div>
  939. <span class="panel-title">样本及运输信息</span>
  940. <span class="panel-count">2条</span>
  941. <span class="chevron">▶</span>
  942. </div>
  943. </summary>
  944. <div class="panel-body">
  945. <table class="data-table">
  946. <thead>
  947. <tr>
  948. <th>样本编号</th>
  949. <th>样本类型</th>
  950. <th>样本状态</th>
  951. <th>运输方式</th>
  952. <th>快递单号</th>
  953. <th>发出时间</th>
  954. <th>接收时间</th>
  955. <th>存储温度</th>
  956. </tr>
  957. </thead>
  958. <tbody>
  959. <tr>
  960. <td style="font-family: monospace">S20250508-001</td>
  961. <td>脐带血</td>
  962. <td><span class="badge badge-green">已入库</span></td>
  963. <td>顺丰冷链</td>
  964. <td style="font-family: monospace">SF1234567890</td>
  965. <td>2025-05-08 09:30</td>
  966. <td>2025-05-09 10:15</td>
  967. <td>-196℃ 液氮</td>
  968. </tr>
  969. <tr>
  970. <td style="font-family: monospace">S20250508-002</td>
  971. <td>母血</td>
  972. <td><span class="badge badge-green">已入库</span></td>
  973. <td>顺丰冷链</td>
  974. <td style="font-family: monospace">SF1234567891</td>
  975. <td>2025-05-08 09:30</td>
  976. <td>2025-05-09 10:15</td>
  977. <td>-20℃ 冰箱</td>
  978. </tr>
  979. </tbody>
  980. </table>
  981. </div>
  982. </details>
  983. <!-- ═══════════ Panel 5: 缴费信息 ═══════════ -->
  984. <details class="panel">
  985. <summary>
  986. <div class="panel-header">
  987. <div class="panel-icon ic-amber">💳</div>
  988. <span class="panel-title">缴费信息</span>
  989. <span class="panel-count">3笔</span>
  990. <span class="chevron">▶</span>
  991. </div>
  992. </summary>
  993. <div class="panel-body">
  994. <!-- Payment summary -->
  995. <div class="payment-card">
  996. <div class="pay-title">缴费概览</div>
  997. <div class="payment-row">
  998. <div class="pay-item">
  999. <span class="pay-label">合同金额</span>
  1000. <span class="pay-val money">¥50,000.00</span>
  1001. </div>
  1002. <div class="pay-item">
  1003. <span class="pay-label">已缴金额</span>
  1004. <span class="pay-val money">¥30,000.00</span>
  1005. </div>
  1006. <div class="pay-item">
  1007. <span class="pay-label">待缴金额</span>
  1008. <span class="pay-val" style="color: #f59e0b; font-weight: 600">¥20,000.00</span>
  1009. </div>
  1010. <div class="pay-item">
  1011. <span class="pay-label">缴费状态</span>
  1012. <span class="pay-val"><span class="badge badge-amber">部分缴费</span></span>
  1013. </div>
  1014. </div>
  1015. </div>
  1016. <!-- Detail cards -->
  1017. <div class="detail-cards">
  1018. <div class="detail-card">
  1019. <div class="dc-title"
  1020. >第1期 ·
  1021. <span class="badge badge-green" style="font-size: 11px">已缴</span></div
  1022. >
  1023. <div class="dc-row"
  1024. ><span class="dc-label">缴费金额</span
  1025. ><span class="dc-val money">¥20,000.00</span></div
  1026. >
  1027. <div class="dc-row"
  1028. ><span class="dc-label">缴费方式</span><span class="dc-val">银行转账</span></div
  1029. >
  1030. <div class="dc-row"
  1031. ><span class="dc-label">缴费日期</span
  1032. ><span class="dc-val">2025-05-10</span></div
  1033. >
  1034. <div class="dc-row"
  1035. ><span class="dc-label">经办人</span><span class="dc-val">李明</span></div
  1036. >
  1037. </div>
  1038. <div class="detail-card">
  1039. <div class="dc-title"
  1040. >第2期 ·
  1041. <span class="badge badge-green" style="font-size: 11px">已缴</span></div
  1042. >
  1043. <div class="dc-row"
  1044. ><span class="dc-label">缴费金额</span
  1045. ><span class="dc-val money">¥10,000.00</span></div
  1046. >
  1047. <div class="dc-row"
  1048. ><span class="dc-label">缴费方式</span><span class="dc-val">微信支付</span></div
  1049. >
  1050. <div class="dc-row"
  1051. ><span class="dc-label">缴费日期</span
  1052. ><span class="dc-val">2025-05-12</span></div
  1053. >
  1054. <div class="dc-row"
  1055. ><span class="dc-label">经办人</span><span class="dc-val">李明</span></div
  1056. >
  1057. </div>
  1058. </div>
  1059. <!-- Payment flow timeline -->
  1060. <div style="margin-top: 16px">
  1061. <div class="sub-title" style="margin-bottom: 12px">缴费进度</div>
  1062. <div class="timeline">
  1063. <div class="timeline-item done">
  1064. <div class="tl-time">2025-05-10 14:30</div>
  1065. <div class="tl-content">第1期缴费到账 <strong>¥20,000</strong></div>
  1066. </div>
  1067. <div class="timeline-item done">
  1068. <div class="tl-time">2025-05-12 10:20</div>
  1069. <div class="tl-content">第2期缴费到账 <strong>¥10,000</strong></div>
  1070. </div>
  1071. <div class="timeline-item">
  1072. <div class="tl-time">预计 2025-06-10</div>
  1073. <div class="tl-content">第3期待缴 <strong>¥20,000</strong></div>
  1074. </div>
  1075. </div>
  1076. </div>
  1077. </div>
  1078. </details>
  1079. <!-- ═══════════ Panel 6: 审核记录 ═══════════ -->
  1080. <details class="panel">
  1081. <summary>
  1082. <div class="panel-header">
  1083. <div class="panel-icon ic-rose">📝</div>
  1084. <span class="panel-title">审核记录</span>
  1085. <span class="panel-count">3条</span>
  1086. <span class="chevron">▶</span>
  1087. </div>
  1088. </summary>
  1089. <div class="panel-body">
  1090. <table class="data-table">
  1091. <thead>
  1092. <tr>
  1093. <th>审核节点</th>
  1094. <th>审核人</th>
  1095. <th>审核结果</th>
  1096. <th>审核意见</th>
  1097. <th>审核时间</th>
  1098. </tr>
  1099. </thead>
  1100. <tbody>
  1101. <tr>
  1102. <td>协议登记审核</td>
  1103. <td>张主管</td>
  1104. <td><span class="badge badge-green">通过</span></td>
  1105. <td style="color: #64748b">资料齐全,予以通过</td>
  1106. <td>2025-05-10 15:00:00</td>
  1107. </tr>
  1108. <tr>
  1109. <td>采集复核</td>
  1110. <td>王主任</td>
  1111. <td><span class="badge badge-green">通过</span></td>
  1112. <td style="color: #64748b">样本合格,流程规范</td>
  1113. <td>2025-05-09 11:30:00</td>
  1114. </tr>
  1115. <tr>
  1116. <td>缴费确认</td>
  1117. <td>财务部 刘会计</td>
  1118. <td><span class="badge badge-amber">部分完成</span></td>
  1119. <td style="color: #64748b">已收到前两期款项,待尾款</td>
  1120. <td>2025-05-12 11:00:00</td>
  1121. </tr>
  1122. </tbody>
  1123. </table>
  1124. </div>
  1125. </details> </div
  1126. ><!-- /dialog-body -->
  1127. <!-- ─── Footer ─── -->
  1128. <div class="dialog-footer">
  1129. <button class="btn-close">关闭</button>
  1130. </div> </div
  1131. ><!-- /dialog --> </div
  1132. ><!-- /overlay -->
  1133. </body>
  1134. </html>