result-card.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616
  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>Darwin Skill - 我的Skill进化报告</title>
  7. <link rel="preconnect" href="https://fonts.googleapis.com">
  8. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  9. <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Noto+Sans+SC:wght@400;500;700;900&display=swap" rel="stylesheet">
  10. <style>
  11. *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  12. body {
  13. display: flex;
  14. justify-content: center;
  15. align-items: flex-start;
  16. min-height: 100vh;
  17. background: #FAFAF5;
  18. font-family: 'Noto Sans SC', 'Inter', sans-serif;
  19. padding: 0;
  20. }
  21. .card {
  22. width: 900px;
  23. min-height: 600px;
  24. position: relative;
  25. display: flex;
  26. flex-direction: column;
  27. background: #FAFAF5;
  28. color: #1A1A1A;
  29. }
  30. /* ===== 1. 顶部品牌条 ===== */
  31. .brand-bar {
  32. background: #1A1A1A;
  33. padding: 24px 48px;
  34. display: flex;
  35. justify-content: space-between;
  36. align-items: center;
  37. }
  38. .brand-name {
  39. font-size: 22px;
  40. font-weight: 800;
  41. color: #fff;
  42. letter-spacing: 0.02em;
  43. font-family: 'Inter', 'Noto Sans SC', sans-serif;
  44. }
  45. .brand-name .dot { color: #E8590C; }
  46. .brand-date {
  47. font-size: 15px;
  48. font-weight: 500;
  49. color: #888;
  50. font-family: 'Inter', sans-serif;
  51. }
  52. /* ===== 2. 核心成就区 ===== */
  53. .hero-section {
  54. padding: 40px 48px 36px;
  55. display: flex;
  56. align-items: center;
  57. gap: 48px;
  58. background: linear-gradient(180deg, #FAFAF5 0%, #F5F0E8 100%);
  59. position: relative;
  60. }
  61. /* SVG圆环 */
  62. .ring-container {
  63. flex-shrink: 0;
  64. width: 280px;
  65. height: 280px;
  66. position: relative;
  67. }
  68. .ring-bg {
  69. fill: none;
  70. stroke: #E8E0D4;
  71. stroke-width: 16;
  72. stroke-dasharray: 8 8;
  73. }
  74. .ring-progress {
  75. fill: none;
  76. stroke: url(#orangeGradient);
  77. stroke-width: 18;
  78. stroke-linecap: round;
  79. stroke-dasharray: 534;
  80. stroke-dashoffset: 69;
  81. transform: rotate(-90deg);
  82. transform-origin: center;
  83. filter: drop-shadow(0 2px 8px rgba(232,89,12,0.3));
  84. }
  85. .ring-center {
  86. position: absolute;
  87. top: 50%;
  88. left: 50%;
  89. transform: translate(-50%, -50%);
  90. text-align: center;
  91. }
  92. .ring-score {
  93. font-size: 88px;
  94. font-weight: 900;
  95. color: #1A1A1A;
  96. line-height: 1;
  97. font-family: 'Inter', sans-serif;
  98. letter-spacing: -0.04em;
  99. }
  100. .ring-max {
  101. font-size: 24px;
  102. font-weight: 600;
  103. color: #B0A898;
  104. font-family: 'Inter', sans-serif;
  105. margin-left: 2px;
  106. }
  107. .ring-label {
  108. font-size: 14px;
  109. font-weight: 600;
  110. color: #999;
  111. margin-top: 4px;
  112. letter-spacing: 0.08em;
  113. }
  114. /* 右侧文字区 */
  115. .hero-text {
  116. flex: 1;
  117. display: flex;
  118. flex-direction: column;
  119. gap: 16px;
  120. }
  121. .hero-title {
  122. font-size: 32px;
  123. font-weight: 900;
  124. line-height: 1.25;
  125. color: #1A1A1A;
  126. }
  127. .hero-skill-name {
  128. color: #E8590C;
  129. }
  130. .hero-journey {
  131. font-size: 18px;
  132. font-weight: 500;
  133. color: #666;
  134. line-height: 1.5;
  135. }
  136. .hero-journey strong {
  137. color: #1A1A1A;
  138. font-weight: 700;
  139. }
  140. .delta-badge {
  141. display: inline-flex;
  142. align-items: center;
  143. gap: 8px;
  144. background: #E8590C;
  145. color: #fff;
  146. padding: 10px 28px;
  147. border-radius: 12px;
  148. font-size: 42px;
  149. font-weight: 900;
  150. font-family: 'Inter', sans-serif;
  151. letter-spacing: -0.02em;
  152. width: fit-content;
  153. box-shadow: 0 4px 16px rgba(232,89,12,0.3);
  154. }
  155. .delta-badge-label {
  156. font-size: 16px;
  157. font-weight: 700;
  158. opacity: 0.9;
  159. font-family: 'Noto Sans SC', sans-serif;
  160. letter-spacing: 0;
  161. }
  162. /* ===== 3. 最大突破区 ===== */
  163. .breakthrough-section {
  164. padding: 0 48px;
  165. display: flex;
  166. gap: 20px;
  167. }
  168. .breakthrough-card {
  169. flex: 1;
  170. border-radius: 16px;
  171. padding: 28px 28px 24px;
  172. position: relative;
  173. overflow: hidden;
  174. }
  175. .breakthrough-card.primary {
  176. background: linear-gradient(135deg, #E8590C 0%, #FF8A4C 100%);
  177. color: #fff;
  178. flex: 1.2;
  179. }
  180. .breakthrough-card.secondary {
  181. background: #F0EAE0;
  182. color: #1A1A1A;
  183. border: 2px solid #E0D8CC;
  184. }
  185. .breakthrough-label {
  186. font-size: 13px;
  187. font-weight: 700;
  188. letter-spacing: 0.1em;
  189. margin-bottom: 12px;
  190. text-transform: uppercase;
  191. }
  192. .breakthrough-card.primary .breakthrough-label {
  193. color: rgba(255,255,255,0.75);
  194. }
  195. .breakthrough-card.secondary .breakthrough-label {
  196. color: #999;
  197. }
  198. .breakthrough-dim {
  199. font-size: 24px;
  200. font-weight: 900;
  201. margin-bottom: 6px;
  202. }
  203. .breakthrough-score-row {
  204. display: flex;
  205. align-items: baseline;
  206. gap: 12px;
  207. margin-bottom: 12px;
  208. }
  209. .breakthrough-from {
  210. font-size: 36px;
  211. font-weight: 400;
  212. opacity: 0.5;
  213. font-family: 'Inter', sans-serif;
  214. text-decoration: line-through;
  215. text-decoration-thickness: 2px;
  216. }
  217. .breakthrough-arrow {
  218. font-size: 20px;
  219. opacity: 0.5;
  220. }
  221. .breakthrough-to {
  222. font-size: 52px;
  223. font-weight: 900;
  224. font-family: 'Inter', sans-serif;
  225. line-height: 1;
  226. }
  227. .breakthrough-card.secondary .breakthrough-to {
  228. color: #E8590C;
  229. }
  230. .breakthrough-pct {
  231. font-size: 18px;
  232. font-weight: 700;
  233. font-family: 'Inter', sans-serif;
  234. }
  235. .breakthrough-card.primary .breakthrough-pct {
  236. color: rgba(255,255,255,0.85);
  237. }
  238. .breakthrough-card.secondary .breakthrough-pct {
  239. color: #2B8A3E;
  240. }
  241. .breakthrough-story {
  242. font-size: 15px;
  243. font-weight: 500;
  244. line-height: 1.5;
  245. margin-top: 8px;
  246. }
  247. .breakthrough-card.primary .breakthrough-story {
  248. color: rgba(255,255,255,0.9);
  249. }
  250. .breakthrough-card.secondary .breakthrough-story {
  251. color: #666;
  252. }
  253. /* ===== 4. 全维度速览 ===== */
  254. .dims-section {
  255. padding: 32px 48px 0;
  256. }
  257. .dims-header {
  258. font-size: 15px;
  259. font-weight: 700;
  260. color: #999;
  261. letter-spacing: 0.08em;
  262. margin-bottom: 18px;
  263. }
  264. .dims-grid {
  265. display: grid;
  266. grid-template-columns: repeat(4, 1fr);
  267. gap: 12px;
  268. }
  269. .dim-cell {
  270. background: #F0EBE3;
  271. border-radius: 12px;
  272. padding: 16px 14px;
  273. display: flex;
  274. flex-direction: column;
  275. align-items: center;
  276. gap: 6px;
  277. position: relative;
  278. transition: background 0.2s;
  279. }
  280. .dim-cell.hot {
  281. background: #FFF0E6;
  282. border: 2px solid rgba(232,89,12,0.2);
  283. }
  284. .dim-cell.warm {
  285. background: #F5EEE4;
  286. }
  287. .dim-name {
  288. font-size: 13px;
  289. font-weight: 700;
  290. color: #888;
  291. text-align: center;
  292. white-space: nowrap;
  293. }
  294. .dim-score-row {
  295. display: flex;
  296. align-items: baseline;
  297. gap: 6px;
  298. }
  299. .dim-score {
  300. font-size: 32px;
  301. font-weight: 900;
  302. font-family: 'Inter', sans-serif;
  303. color: #1A1A1A;
  304. line-height: 1;
  305. }
  306. .dim-cell.hot .dim-score {
  307. color: #E8590C;
  308. }
  309. .dim-old-score {
  310. font-size: 15px;
  311. font-weight: 500;
  312. color: #BBB;
  313. font-family: 'Inter', sans-serif;
  314. text-decoration: line-through;
  315. text-decoration-color: #CCC;
  316. }
  317. .dim-arrow {
  318. display: inline-flex;
  319. align-items: center;
  320. justify-content: center;
  321. font-size: 11px;
  322. font-weight: 800;
  323. font-family: 'Inter', sans-serif;
  324. padding: 2px 8px;
  325. border-radius: 6px;
  326. line-height: 1;
  327. }
  328. .dim-arrow.up-big {
  329. background: #E8590C;
  330. color: #fff;
  331. }
  332. .dim-arrow.up-mid {
  333. background: rgba(232,89,12,0.15);
  334. color: #E8590C;
  335. }
  336. .dim-arrow.up-small {
  337. background: rgba(43,138,62,0.1);
  338. color: #2B8A3E;
  339. }
  340. /* ===== 5. 改进摘要 ===== */
  341. .summary-section {
  342. padding: 28px 48px 0;
  343. }
  344. .summary-header {
  345. font-size: 15px;
  346. font-weight: 700;
  347. color: #999;
  348. letter-spacing: 0.08em;
  349. margin-bottom: 14px;
  350. }
  351. .summary-items {
  352. display: flex;
  353. flex-direction: column;
  354. gap: 8px;
  355. }
  356. .summary-item {
  357. font-size: 15px;
  358. font-weight: 500;
  359. color: #555;
  360. line-height: 1.6;
  361. padding-left: 20px;
  362. position: relative;
  363. }
  364. .summary-item::before {
  365. content: '';
  366. position: absolute;
  367. left: 0;
  368. top: 9px;
  369. width: 8px;
  370. height: 8px;
  371. background: #E8590C;
  372. border-radius: 50%;
  373. }
  374. /* ===== 6. 底部品牌区 ===== */
  375. .footer {
  376. margin-top: auto;
  377. background: #1A1A1A;
  378. padding: 28px 48px;
  379. display: flex;
  380. justify-content: space-between;
  381. align-items: center;
  382. }
  383. .footer-left {
  384. display: flex;
  385. flex-direction: column;
  386. gap: 6px;
  387. }
  388. .footer-brand {
  389. font-size: 20px;
  390. font-weight: 800;
  391. color: #fff;
  392. font-family: 'Inter', 'Noto Sans SC', sans-serif;
  393. }
  394. .footer-brand .dot { color: #E8590C; }
  395. .footer-slogan {
  396. font-size: 14px;
  397. color: #777;
  398. font-weight: 500;
  399. }
  400. .footer-right {
  401. text-align: right;
  402. display: flex;
  403. flex-direction: column;
  404. gap: 4px;
  405. }
  406. .footer-url {
  407. font-size: 14px;
  408. color: #aaa;
  409. font-family: 'Inter', monospace;
  410. font-weight: 600;
  411. }
  412. .footer-by {
  413. font-size: 13px;
  414. color: #666;
  415. }
  416. /* 装饰性纹理 */
  417. .card::before {
  418. content: '';
  419. position: absolute;
  420. top: 0;
  421. right: 0;
  422. width: 400px;
  423. height: 400px;
  424. background: radial-gradient(circle at top right, rgba(232,89,12,0.04) 0%, transparent 70%);
  425. pointer-events: none;
  426. z-index: 0;
  427. }
  428. .card > * {
  429. position: relative;
  430. z-index: 1;
  431. }
  432. </style>
  433. </head>
  434. <body>
  435. <div class="card">
  436. <!-- 1. 顶部品牌条 -->
  437. <div class="brand-bar">
  438. <div class="brand-name">Darwin<span class="dot">.</span>skill</div>
  439. <div class="brand-date" data-field="date">2026.04.14</div>
  440. </div>
  441. <!-- 2. 核心成就区 -->
  442. <div class="hero-section">
  443. <div class="ring-container">
  444. <svg viewBox="0 0 200 200" width="280" height="280">
  445. <defs>
  446. <linearGradient id="orangeGradient" x1="0%" y1="0%" x2="100%" y2="100%">
  447. <stop offset="0%" stop-color="#E8590C"/>
  448. <stop offset="100%" stop-color="#FF8A4C"/>
  449. </linearGradient>
  450. </defs>
  451. <!-- 背景虚线环 -->
  452. <circle cx="100" cy="100" r="85" class="ring-bg"/>
  453. <!-- 进度弧 -->
  454. <circle cx="100" cy="100" r="85" class="ring-progress"/>
  455. </svg>
  456. <div class="ring-center">
  457. <div>
  458. <span class="ring-score" data-field="score-after">87</span><span class="ring-max">/100</span>
  459. </div>
  460. <div class="ring-label">质量总分</div>
  461. </div>
  462. </div>
  463. <div class="hero-text">
  464. <div class="hero-title">
  465. 我的Skill进化报告<br>
  466. <span class="hero-skill-name" data-field="skill-name">审校降AI味</span>
  467. </div>
  468. <div class="hero-journey">
  469. 从 <strong data-field="score-before">72</strong> 分进化到 <strong>87</strong> 分<br>
  470. <span style="color:#999;font-size:14px;" data-field="skill-id">huashu-proofreading</span>
  471. </div>
  472. <div class="delta-badge">
  473. <span data-field="score-delta">+15</span>
  474. <span class="delta-badge-label">分</span>
  475. </div>
  476. </div>
  477. </div>
  478. <!-- 3. 最大突破区 -->
  479. <div class="breakthrough-section">
  480. <div class="breakthrough-card primary">
  481. <div class="breakthrough-label">最大突破</div>
  482. <div class="breakthrough-dim" data-field="top1-name">指令精度</div>
  483. <div class="breakthrough-score-row">
  484. <span class="breakthrough-from" data-field="top1-from">5</span>
  485. <span class="breakthrough-arrow">&rarr;</span>
  486. <span class="breakthrough-to" data-field="top1-to">9</span>
  487. </div>
  488. <div class="breakthrough-pct" data-field="top1-pct">+80%</div>
  489. <div class="breakthrough-story" data-field="top1-story">从模糊指令到精确可执行,指令精度翻了将近一倍</div>
  490. </div>
  491. <div class="breakthrough-card secondary">
  492. <div class="breakthrough-label">第二突破</div>
  493. <div class="breakthrough-dim" data-field="top2-name">工作流清晰度</div>
  494. <div class="breakthrough-score-row">
  495. <span class="breakthrough-from" data-field="top2-from">5</span>
  496. <span class="breakthrough-arrow">&rarr;</span>
  497. <span class="breakthrough-to" data-field="top2-to">8</span>
  498. </div>
  499. <div class="breakthrough-pct" data-field="top2-pct">+60%</div>
  500. <div class="breakthrough-story" data-field="top2-story">线性可执行步骤,每步都有明确检查点</div>
  501. </div>
  502. </div>
  503. <!-- 4. 全维度速览 -->
  504. <div class="dims-section">
  505. <div class="dims-header">八维度全景</div>
  506. <div class="dims-grid">
  507. <div class="dim-cell warm">
  508. <div class="dim-name">元数据</div>
  509. <div class="dim-score-row">
  510. <span class="dim-old-score">6</span>
  511. <span class="dim-score">8</span>
  512. </div>
  513. <span class="dim-arrow up-mid">+2</span>
  514. </div>
  515. <div class="dim-cell hot">
  516. <div class="dim-name">工作流</div>
  517. <div class="dim-score-row">
  518. <span class="dim-old-score">5</span>
  519. <span class="dim-score">8</span>
  520. </div>
  521. <span class="dim-arrow up-big">+3</span>
  522. </div>
  523. <div class="dim-cell hot">
  524. <div class="dim-name">边界覆盖</div>
  525. <div class="dim-score-row">
  526. <span class="dim-old-score">4</span>
  527. <span class="dim-score">7</span>
  528. </div>
  529. <span class="dim-arrow up-big">+3</span>
  530. </div>
  531. <div class="dim-cell">
  532. <div class="dim-name">检查点</div>
  533. <div class="dim-score-row">
  534. <span class="dim-old-score">6</span>
  535. <span class="dim-score">7</span>
  536. </div>
  537. <span class="dim-arrow up-small">+1</span>
  538. </div>
  539. <div class="dim-cell hot">
  540. <div class="dim-name">指令精度</div>
  541. <div class="dim-score-row">
  542. <span class="dim-old-score">5</span>
  543. <span class="dim-score">9</span>
  544. </div>
  545. <span class="dim-arrow up-big">+4</span>
  546. </div>
  547. <div class="dim-cell">
  548. <div class="dim-name">资源整合</div>
  549. <div class="dim-score-row">
  550. <span class="dim-old-score">7</span>
  551. <span class="dim-score">8</span>
  552. </div>
  553. <span class="dim-arrow up-small">+1</span>
  554. </div>
  555. <div class="dim-cell warm">
  556. <div class="dim-name">整体架构</div>
  557. <div class="dim-score-row">
  558. <span class="dim-old-score">6</span>
  559. <span class="dim-score">8</span>
  560. </div>
  561. <span class="dim-arrow up-mid">+2</span>
  562. </div>
  563. <div class="dim-cell hot">
  564. <div class="dim-name">实测表现</div>
  565. <div class="dim-score-row">
  566. <span class="dim-old-score">5</span>
  567. <span class="dim-score">8</span>
  568. </div>
  569. <span class="dim-arrow up-big">+3</span>
  570. </div>
  571. </div>
  572. </div>
  573. <!-- 5. 改进摘要 -->
  574. <div class="summary-section">
  575. <div class="summary-header">关键改进</div>
  576. <div class="summary-items">
  577. <div class="summary-item" data-field="improve-1">补充异常处理fallback路径,边界覆盖从4飙升到7</div>
  578. <div class="summary-item" data-field="improve-2">工作流重组为线性可执行步骤,每步可验证</div>
  579. <div class="summary-item" data-field="improve-3">测试prompt覆盖率从60%提升到95%,实测表现大幅进化</div>
  580. </div>
  581. </div>
  582. <!-- 6. 底部品牌区 -->
  583. <div class="footer">
  584. <div class="footer-left">
  585. <div class="footer-brand">Darwin<span class="dot">.</span>skill</div>
  586. <div class="footer-slogan">像训练模型一样进化你的Skills</div>
  587. </div>
  588. <div class="footer-right">
  589. <div class="footer-url">github.com/alchaincyf/darwin-skill</div>
  590. <div class="footer-by">by 花叔</div>
  591. </div>
  592. </div>
  593. </div>
  594. </body>
  595. </html>