2026-10-12-market-protocol-source-tabs-demo.html 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766
  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>市场协议单 · 来源双 Tab Demo</title>
  7. <style>
  8. :root {
  9. --brand: #0a9f6d;
  10. --brand-dark: #087f57;
  11. --brand-soft: #e9f9f2;
  12. --canvas: #f4f8f6;
  13. --surface: #fff;
  14. --text: #18332a;
  15. --muted: #6b7f77;
  16. --line: #dce9e4;
  17. --danger: #d14343;
  18. --warning: #d98516;
  19. --shadow: 0 10px 30px rgba(25, 65, 49, 0.12);
  20. }
  21. * {
  22. box-sizing: border-box;
  23. }
  24. html,
  25. body {
  26. min-height: 100%;
  27. margin: 0;
  28. color: var(--text);
  29. font-family:
  30. -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
  31. 'Microsoft YaHei', sans-serif;
  32. background: #eaf1ed;
  33. }
  34. button,
  35. input {
  36. font: inherit;
  37. }
  38. button {
  39. cursor: pointer;
  40. }
  41. .demo-stage {
  42. min-height: 100vh;
  43. display: grid;
  44. grid-template-columns: minmax(270px, 330px) 390px;
  45. align-items: center;
  46. justify-content: center;
  47. gap: 36px;
  48. padding: 30px;
  49. }
  50. .demo-controls {
  51. padding: 26px;
  52. border: 1px solid rgba(10, 159, 109, 0.12);
  53. border-radius: 24px;
  54. background: rgba(255, 255, 255, 0.94);
  55. box-shadow: var(--shadow);
  56. }
  57. .eyebrow {
  58. margin: 0 0 8px;
  59. color: var(--brand);
  60. font-size: 12px;
  61. font-weight: 800;
  62. letter-spacing: 0.12em;
  63. text-transform: uppercase;
  64. }
  65. .demo-controls h2 {
  66. margin: 0;
  67. font-size: 22px;
  68. line-height: 1.3;
  69. }
  70. .intro {
  71. margin: 10px 0 20px;
  72. color: var(--muted);
  73. font-size: 14px;
  74. line-height: 1.75;
  75. }
  76. .control-label {
  77. display: block;
  78. margin: 16px 0 8px;
  79. color: #506259;
  80. font-size: 12px;
  81. font-weight: 750;
  82. }
  83. .segmented {
  84. display: grid;
  85. grid-template-columns: repeat(2, 1fr);
  86. gap: 4px;
  87. padding: 4px;
  88. border-radius: 14px;
  89. background: #edf3f0;
  90. }
  91. .segmented button {
  92. min-height: 44px;
  93. border: 0;
  94. border-radius: 11px;
  95. color: #52635b;
  96. background: transparent;
  97. font-size: 14px;
  98. font-weight: 700;
  99. }
  100. .segmented button.is-active {
  101. color: #fff;
  102. background: var(--brand);
  103. box-shadow: 0 5px 14px rgba(10, 159, 109, 0.2);
  104. }
  105. .bullet-list {
  106. margin: 16px 0 0;
  107. padding: 14px 14px 14px 32px;
  108. border-left: 3px solid var(--brand);
  109. border-radius: 10px;
  110. background: var(--brand-soft);
  111. color: #4c6258;
  112. font-size: 13px;
  113. line-height: 1.7;
  114. }
  115. .demo-note {
  116. margin: 12px 0 0;
  117. color: #8a9891;
  118. font-size: 12px;
  119. line-height: 1.6;
  120. }
  121. .phone {
  122. position: relative;
  123. width: 390px;
  124. height: min(844px, calc(100vh - 36px));
  125. min-height: 650px;
  126. overflow: hidden;
  127. border: 8px solid #203129;
  128. border-radius: 34px;
  129. background: var(--canvas);
  130. box-shadow: 0 28px 70px rgba(19, 47, 36, 0.3);
  131. }
  132. .phone::before {
  133. content: '';
  134. position: absolute;
  135. z-index: 40;
  136. top: 8px;
  137. left: 50%;
  138. width: 104px;
  139. height: 23px;
  140. border-radius: 0 0 14px 14px;
  141. background: #203129;
  142. transform: translateX(-50%);
  143. }
  144. .phone-scroll {
  145. height: 100%;
  146. overflow: auto;
  147. padding-bottom: 88px;
  148. }
  149. .sticky-top {
  150. position: sticky;
  151. z-index: 20;
  152. top: 0;
  153. background: #fff;
  154. border-bottom: 1px solid var(--line);
  155. }
  156. .mobile-nav {
  157. display: grid;
  158. grid-template-columns: 52px 1fr 52px;
  159. align-items: end;
  160. height: 66px;
  161. padding: 0 8px 10px;
  162. }
  163. .mobile-nav h1 {
  164. margin: 0;
  165. font-size: 17px;
  166. text-align: center;
  167. white-space: nowrap;
  168. overflow: hidden;
  169. text-overflow: ellipsis;
  170. }
  171. .nav-back {
  172. display: grid;
  173. place-items: center;
  174. width: 44px;
  175. height: 44px;
  176. margin: 0 auto;
  177. border: 0;
  178. border-radius: 50%;
  179. background: transparent;
  180. color: var(--text);
  181. font-size: 28px;
  182. line-height: 1;
  183. }
  184. /* Web panel-pill-tabs 的移动端缩比:轨道胶囊 + 激活实心绿 */
  185. .source-tabs {
  186. padding: 8px 12px 0;
  187. }
  188. .source-tabs__track {
  189. display: grid;
  190. grid-template-columns: 1fr 1fr;
  191. gap: 4px;
  192. padding: 4px;
  193. border-radius: 999px;
  194. background: #edf3f0;
  195. }
  196. .source-tabs__btn {
  197. min-height: 40px;
  198. border: 0;
  199. border-radius: 999px;
  200. color: #52635b;
  201. background: transparent;
  202. font-size: 14px;
  203. font-weight: 700;
  204. transition:
  205. background 0.18s ease,
  206. color 0.18s ease,
  207. box-shadow 0.18s ease;
  208. }
  209. .source-tabs__btn.is-active {
  210. color: #fff;
  211. background: var(--brand);
  212. box-shadow: 0 4px 12px rgba(10, 159, 109, 0.22);
  213. }
  214. .source-tabs__btn small {
  215. display: inline-block;
  216. margin-left: 4px;
  217. min-width: 18px;
  218. padding: 0 6px;
  219. border-radius: 999px;
  220. background: rgba(255, 255, 255, 0.22);
  221. color: inherit;
  222. font-size: 11px;
  223. font-weight: 700;
  224. line-height: 18px;
  225. text-align: center;
  226. }
  227. .source-tabs__btn:not(.is-active) small {
  228. background: rgba(10, 159, 109, 0.12);
  229. color: var(--brand-dark);
  230. }
  231. .search-wrap {
  232. padding: 8px 12px 10px;
  233. }
  234. .search-box {
  235. display: flex;
  236. align-items: center;
  237. gap: 8px;
  238. min-height: 40px;
  239. padding: 0 14px;
  240. border-radius: 999px;
  241. background: #f3f7f5;
  242. color: var(--muted);
  243. font-size: 13px;
  244. }
  245. .search-box input {
  246. width: 100%;
  247. border: 0;
  248. outline: 0;
  249. background: transparent;
  250. color: var(--text);
  251. }
  252. .list {
  253. display: grid;
  254. gap: 12px;
  255. padding: 12px;
  256. }
  257. .biz-card {
  258. padding: 14px;
  259. border: 1px solid var(--line);
  260. border-radius: 16px;
  261. background: var(--surface);
  262. box-shadow: 0 6px 20px rgb(8 127 87 / 7%);
  263. }
  264. .card-head {
  265. display: flex;
  266. align-items: center;
  267. gap: 10px;
  268. padding-bottom: 12px;
  269. border-bottom: 1px solid #eef4f1;
  270. }
  271. .index-dot {
  272. display: grid;
  273. place-items: center;
  274. width: 30px;
  275. height: 30px;
  276. flex: 0 0 30px;
  277. border-radius: 50%;
  278. background: var(--brand-soft);
  279. color: var(--brand-dark);
  280. font-size: 13px;
  281. font-weight: 700;
  282. }
  283. .card-title {
  284. min-width: 0;
  285. flex: 1;
  286. display: flex;
  287. flex-direction: column;
  288. gap: 3px;
  289. }
  290. .card-title strong {
  291. overflow: hidden;
  292. font-size: 16px;
  293. text-overflow: ellipsis;
  294. white-space: nowrap;
  295. }
  296. .card-title small {
  297. overflow: hidden;
  298. color: var(--muted);
  299. font-size: 12px;
  300. text-overflow: ellipsis;
  301. white-space: nowrap;
  302. }
  303. .tag {
  304. display: inline-flex;
  305. align-items: center;
  306. max-width: 112px;
  307. padding: 2px 8px;
  308. border-radius: 999px;
  309. background: var(--brand-soft);
  310. color: var(--brand-dark);
  311. font-size: 12px;
  312. font-weight: 700;
  313. white-space: nowrap;
  314. overflow: hidden;
  315. text-overflow: ellipsis;
  316. }
  317. .tag.is-warning {
  318. background: #fff6e8;
  319. color: var(--warning);
  320. }
  321. .tag.is-info {
  322. background: #eef2f0;
  323. color: #4d6a5d;
  324. }
  325. .field-grid {
  326. display: grid;
  327. grid-template-columns: repeat(2, minmax(0, 1fr));
  328. gap: 12px 16px;
  329. padding: 14px 0;
  330. }
  331. .field {
  332. display: flex;
  333. min-width: 0;
  334. flex-direction: column;
  335. gap: 4px;
  336. color: var(--muted);
  337. font-size: 12px;
  338. }
  339. .field.is-wide {
  340. grid-column: 1 / -1;
  341. }
  342. .field b {
  343. color: var(--text);
  344. font-weight: 500;
  345. overflow-wrap: anywhere;
  346. }
  347. .card-actions {
  348. display: flex;
  349. flex-wrap: wrap;
  350. justify-content: flex-end;
  351. gap: 8px;
  352. }
  353. .card-actions button {
  354. min-height: 32px;
  355. padding: 0 12px;
  356. border: 1px solid var(--line);
  357. border-radius: 999px;
  358. background: #fff;
  359. color: var(--text);
  360. font-size: 12px;
  361. font-weight: 650;
  362. }
  363. .card-actions button.is-primary {
  364. border-color: var(--brand);
  365. background: var(--brand);
  366. color: #fff;
  367. }
  368. .card-actions button.is-danger {
  369. border-color: #f3c1c1;
  370. color: var(--danger);
  371. }
  372. .empty {
  373. padding: 48px 20px;
  374. color: var(--muted);
  375. text-align: center;
  376. font-size: 14px;
  377. }
  378. .fab {
  379. position: absolute;
  380. z-index: 30;
  381. right: 18px;
  382. bottom: 22px;
  383. display: grid;
  384. place-items: center;
  385. width: 52px;
  386. height: 52px;
  387. border: 0;
  388. border-radius: 50%;
  389. background: var(--brand);
  390. color: #fff;
  391. font-size: 28px;
  392. box-shadow: 0 10px 24px rgba(10, 159, 109, 0.35);
  393. }
  394. .toast {
  395. position: absolute;
  396. z-index: 50;
  397. left: 50%;
  398. bottom: 88px;
  399. transform: translateX(-50%);
  400. padding: 10px 14px;
  401. border-radius: 999px;
  402. background: rgba(24, 51, 42, 0.92);
  403. color: #fff;
  404. font-size: 13px;
  405. opacity: 0;
  406. pointer-events: none;
  407. transition: opacity 0.2s ease;
  408. white-space: nowrap;
  409. }
  410. .toast.is-show {
  411. opacity: 1;
  412. }
  413. @media (max-width: 860px) {
  414. .demo-stage {
  415. grid-template-columns: 1fr;
  416. justify-items: center;
  417. padding: 18px;
  418. }
  419. .demo-controls {
  420. width: min(390px, 100%);
  421. }
  422. }
  423. </style>
  424. </head>
  425. <body>
  426. <div class="demo-stage">
  427. <aside class="demo-controls">
  428. <p class="eyebrow">Mobile Preview</p>
  429. <h2>协议单来源双 Tab</h2>
  430. <p class="intro">
  431. 对齐 Web「采集协议单」:顶部固定两个胶囊 Tab,切换后仅展示对应来源单据。细胞存储副标题展示样本编码;科研捐赠副标题展示捐赠编号。
  432. </p>
  433. <label class="control-label">角色</label>
  434. <div class="segmented" id="roleSwitch">
  435. <button type="button" data-role="specialist" class="is-active">市场专员</button>
  436. <button type="button" data-role="manager">地区经理</button>
  437. </div>
  438. <ul class="bullet-list">
  439. <li>两个 Tab:细胞存储 / 科研捐赠(无「全部」)</li>
  440. <li>切换 Tab 时列表与搜索词独立重置(示意)</li>
  441. <li>卡片字段沿用现有市场端列表密度</li>
  442. </ul>
  443. <p class="demo-note">静态 HTML Demo,用于确认交互与视觉后再落代码。</p>
  444. </aside>
  445. <div class="phone" id="phone">
  446. <div class="phone-scroll">
  447. <div class="sticky-top">
  448. <div class="mobile-nav">
  449. <button type="button" class="nav-back" aria-label="返回">‹</button>
  450. <h1 id="pageTitle">市场专员 · 协议单</h1>
  451. <span></span>
  452. </div>
  453. <div class="source-tabs">
  454. <div class="source-tabs__track" role="tablist" aria-label="协议来源">
  455. <button
  456. type="button"
  457. class="source-tabs__btn is-active"
  458. role="tab"
  459. aria-selected="true"
  460. data-source="cell_storage"
  461. >
  462. 细胞存储 <small id="countCell">0</small>
  463. </button>
  464. <button
  465. type="button"
  466. class="source-tabs__btn"
  467. role="tab"
  468. aria-selected="false"
  469. data-source="research_donation"
  470. >
  471. 科研捐赠 <small id="countDonation">0</small>
  472. </button>
  473. </div>
  474. </div>
  475. <div class="search-wrap">
  476. <label class="search-box">
  477. <span>⌕</span>
  478. <input id="keyword" type="search" placeholder="搜索母亲姓名 / 样本编码" />
  479. </label>
  480. </div>
  481. </div>
  482. <div class="list" id="list"></div>
  483. </div>
  484. <button type="button" class="fab" id="fab" aria-label="新增协议单">+</button>
  485. <div class="toast" id="toast"></div>
  486. </div>
  487. </div>
  488. <script>
  489. const DEMO = {
  490. cell_storage: [
  491. {
  492. id: 'c1',
  493. motherName: '李安然',
  494. sampleCode: 'ZK260411018',
  495. status: '生效中',
  496. registerDate: '2026-10-11',
  497. motherPhone: '138****8018',
  498. sampleTypeName: '脐带血',
  499. hospitalName: '安徽省妇幼保健院',
  500. salesUserName: '王敏',
  501. sampleCollectTime: '2026-10-11 09:20'
  502. },
  503. {
  504. id: 'c2',
  505. motherName: '周雨桐',
  506. sampleCode: 'ZK260411022',
  507. status: '待生效',
  508. registerDate: '2026-10-10',
  509. motherPhone: '139****6622',
  510. sampleTypeName: '脐带血 + 脐带',
  511. hospitalName: '合肥市妇幼保健院',
  512. salesUserName: '王敏',
  513. sampleCollectTime: '2026-10-10 14:05'
  514. },
  515. {
  516. id: 'c3',
  517. motherName: '陈思琪',
  518. sampleCode: 'ZK260409007',
  519. status: '生效中',
  520. registerDate: '2026-10-09',
  521. motherPhone: '136****9007',
  522. sampleTypeName: '胎盘',
  523. hospitalName: '安医大一附院',
  524. salesUserName: '刘畅',
  525. sampleCollectTime: '2026-10-09 11:40'
  526. }
  527. ],
  528. research_donation: [
  529. {
  530. id: 'd1',
  531. motherName: '韩晓雯',
  532. donationNo: 'JZ20261011003',
  533. status: '生效中',
  534. donationDate: '2026-10-11',
  535. motherPhone: '137****3303',
  536. sampleTypeName: '脐带血',
  537. hospitalName: '安徽省立医院',
  538. salesUserName: '王敏',
  539. sampleCollectTime: '2026-10-11 16:10'
  540. },
  541. {
  542. id: 'd2',
  543. motherName: '许若涵',
  544. donationNo: 'JZ20261008011',
  545. status: '已作废',
  546. donationDate: '2026-10-08',
  547. motherPhone: '158****8811',
  548. sampleTypeName: '脐带',
  549. hospitalName: '合肥市妇幼保健院',
  550. salesUserName: '刘畅',
  551. sampleCollectTime: '2026-10-08 08:50'
  552. }
  553. ]
  554. }
  555. const state = {
  556. role: 'specialist',
  557. source: 'cell_storage',
  558. keyword: ''
  559. }
  560. const roleTitles = { specialist: '市场专员', manager: '地区经理' }
  561. const listEl = document.getElementById('list')
  562. const toastEl = document.getElementById('toast')
  563. const keywordEl = document.getElementById('keyword')
  564. let toastTimer = null
  565. function esc(value) {
  566. return String(value ?? '')
  567. .replace(/&/g, '&amp;')
  568. .replace(/</g, '&lt;')
  569. .replace(/>/g, '&gt;')
  570. .replace(/"/g, '&quot;')
  571. }
  572. function showToast(message) {
  573. toastEl.textContent = message
  574. toastEl.classList.add('is-show')
  575. window.clearTimeout(toastTimer)
  576. toastTimer = window.setTimeout(() => toastEl.classList.remove('is-show'), 1600)
  577. }
  578. function statusTone(status) {
  579. if (/作废|拒绝/.test(status)) return 'is-warning'
  580. if (/待/.test(status)) return 'is-info'
  581. return ''
  582. }
  583. function filteredRows() {
  584. const rows = DEMO[state.source] || []
  585. const keyword = state.keyword.trim().toLowerCase()
  586. if (!keyword) return rows
  587. return rows.filter((row) => JSON.stringify(row).toLowerCase().includes(keyword))
  588. }
  589. function field(label, value, wide) {
  590. return `<div class="field${wide ? ' is-wide' : ''}"><span>${esc(label)}</span><b>${value}</b></div>`
  591. }
  592. function renderCard(row, index) {
  593. const isCell = state.source === 'cell_storage'
  594. const subtitle = isCell
  595. ? `细胞存储 · ${row.sampleCode || '—'}`
  596. : `科研捐赠 · ${row.donationNo || '—'}`
  597. const dateLabel = isCell ? '登记日期' : '捐赠日期'
  598. const dateValue = isCell ? row.registerDate : row.donationDate
  599. const actions = `
  600. <button type="button" class="is-primary" data-action="view">查看</button>
  601. <button type="button" data-action="edit">编辑</button>
  602. ${state.role === 'manager' ? '<button type="button" data-action="audit">审核</button>' : ''}
  603. <button type="button" class="is-danger" data-action="delete">删除</button>
  604. `
  605. return `
  606. <article class="biz-card" data-id="${esc(row.id)}">
  607. <div class="card-head">
  608. <span class="index-dot">${index + 1}</span>
  609. <div class="card-title">
  610. <strong>${esc(row.motherName)}</strong>
  611. <small>${esc(subtitle)}</small>
  612. </div>
  613. <span class="tag ${statusTone(row.status)}">${esc(row.status)}</span>
  614. </div>
  615. <div class="field-grid">
  616. ${field('状态', `<span class="tag ${statusTone(row.status)}">${esc(row.status)}</span>`)}
  617. ${field(dateLabel, esc(dateValue))}
  618. ${field('母亲姓名', esc(row.motherName))}
  619. ${field('母亲电话', esc(row.motherPhone))}
  620. ${field(isCell ? '样本编码' : '捐赠编号', esc(isCell ? row.sampleCode : row.donationNo), true)}
  621. ${field('样本类型', esc(row.sampleTypeName), true)}
  622. ${field('采集医院', esc(row.hospitalName), true)}
  623. ${field('市场专员', esc(row.salesUserName))}
  624. ${field('样本采集时间', esc(row.sampleCollectTime), true)}
  625. </div>
  626. <div class="card-actions">${actions}</div>
  627. </article>
  628. `
  629. }
  630. function updatePlaceholders() {
  631. keywordEl.placeholder =
  632. state.source === 'cell_storage'
  633. ? '搜索母亲姓名 / 样本编码'
  634. : '搜索母亲姓名 / 捐赠编号 / 样本编码'
  635. }
  636. function render() {
  637. document.getElementById('pageTitle').textContent = `${roleTitles[state.role]} · 协议单`
  638. document.getElementById('countCell').textContent = String(DEMO.cell_storage.length)
  639. document.getElementById('countDonation').textContent = String(DEMO.research_donation.length)
  640. document.querySelectorAll('.source-tabs__btn').forEach((btn) => {
  641. const active = btn.dataset.source === state.source
  642. btn.classList.toggle('is-active', active)
  643. btn.setAttribute('aria-selected', active ? 'true' : 'false')
  644. })
  645. updatePlaceholders()
  646. const rows = filteredRows()
  647. listEl.innerHTML = rows.length
  648. ? rows.map((row, index) => renderCard(row, index)).join('')
  649. : '<div class="empty">该来源下暂无协议单</div>'
  650. }
  651. document.getElementById('roleSwitch').addEventListener('click', (event) => {
  652. const btn = event.target.closest('button[data-role]')
  653. if (!btn) return
  654. state.role = btn.dataset.role
  655. document.querySelectorAll('#roleSwitch button').forEach((item) => {
  656. item.classList.toggle('is-active', item === btn)
  657. })
  658. render()
  659. })
  660. document.querySelector('.source-tabs__track').addEventListener('click', (event) => {
  661. const btn = event.target.closest('button[data-source]')
  662. if (!btn || btn.dataset.source === state.source) return
  663. state.source = btn.dataset.source
  664. state.keyword = ''
  665. keywordEl.value = ''
  666. render()
  667. showToast(state.source === 'cell_storage' ? '已切换到细胞存储' : '已切换到科研捐赠')
  668. })
  669. keywordEl.addEventListener('input', () => {
  670. state.keyword = keywordEl.value
  671. render()
  672. })
  673. listEl.addEventListener('click', (event) => {
  674. const btn = event.target.closest('button[data-action]')
  675. if (!btn) return
  676. const card = btn.closest('.biz-card')
  677. showToast(`${btn.textContent} · ${card?.querySelector('strong')?.textContent || ''}`)
  678. })
  679. document.getElementById('fab').addEventListener('click', () => {
  680. showToast(
  681. state.source === 'cell_storage' ? '新增细胞存储协议单' : '新增科研捐赠协议单'
  682. )
  683. })
  684. render()
  685. </script>
  686. </body>
  687. </html>