achievement-exam-sprint-report-template.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8"/>
  5. <title>{{reportTitle}}</title>
  6. <style>
  7. @page {
  8. size: A4;
  9. margin: 0;
  10. }
  11. body {
  12. margin: 0;
  13. padding: 0;
  14. background: #fff;
  15. color: #263241;
  16. font-family: 'MiSans VF', MiSans, ReportFont, sans-serif;
  17. font-size: 14px;
  18. line-height: 1.72;
  19. }
  20. .report-container {
  21. max-width: 1200px;
  22. margin: 0 auto;
  23. background: #fff;
  24. border: 1px solid transparent;
  25. border-radius: 14px;
  26. padding: 32px;
  27. }
  28. .report-title {
  29. margin: 0 0 8px;
  30. color: #233f76;
  31. font-family: 'MiSans VF', MiSans, ReportFont, sans-serif;
  32. font-size: 28px;
  33. font-weight: 700;
  34. text-align: center;
  35. }
  36. .report-subtitle {
  37. margin: 0 0 24px;
  38. color: #68768a;
  39. font-family: 'MiSans VF', MiSans, ReportFont, sans-serif;
  40. text-align: center;
  41. }
  42. .report-header {
  43. display: table;
  44. width: 100%;
  45. table-layout: fixed;
  46. border-bottom: 3px solid #111;
  47. margin-bottom: 28px;
  48. padding-bottom: 10px;
  49. }
  50. .header-logo,
  51. .header-main,
  52. .header-generated-at {
  53. display: table-cell;
  54. vertical-align: top;
  55. }
  56. .header-logo {
  57. width: 33.3333%;
  58. }
  59. .header-logo-image {
  60. display: block;
  61. max-width: 120px;
  62. max-height: 42px;
  63. }
  64. .header-main {
  65. width: 33.3333%;
  66. text-align: center;
  67. color: #68768a;
  68. }
  69. .header-report-type {
  70. font-size: 13px;
  71. line-height: 1.5;
  72. }
  73. .header-student-name {
  74. margin-top: 4px;
  75. font-size: 13px;
  76. line-height: 1.5;
  77. }
  78. .header-generated-at {
  79. width: 33.3333%;
  80. color: #68768a;
  81. font-size: 12px;
  82. line-height: 1.5;
  83. text-align: right;
  84. white-space: nowrap;
  85. }
  86. .result-header {
  87. margin: 0 0 22px;
  88. padding: 22px 24px;
  89. background: #fff7ed;
  90. border: 1px solid #ffe1c2;
  91. border-radius: 14px;
  92. text-align: center;
  93. page-break-inside: avoid;
  94. }
  95. .completion-title {
  96. margin: 0 0 6px;
  97. color: #9a4f00;
  98. font-family: 'MiSans VF', MiSans, ReportFont, sans-serif;
  99. font-size: 22px;
  100. font-weight: 700;
  101. }
  102. .completion-subtitle {
  103. margin: 0;
  104. color: #7b5a2f;
  105. }
  106. .result-grid {
  107. width: 100%;
  108. table-layout: fixed;
  109. border-collapse: separate;
  110. border-spacing: 14px 0;
  111. margin-bottom: 26px;
  112. }
  113. .result-card {
  114. width: 25%;
  115. vertical-align: top;
  116. background: #f8fbff;
  117. border: 1px solid #e2eaf5;
  118. border-radius: 12px;
  119. padding: 14px;
  120. text-align: center;
  121. page-break-inside: avoid;
  122. }
  123. .result-value {
  124. color: #ff7d00;
  125. font-family: 'MiSans VF', MiSans, ReportFont, sans-serif;
  126. font-size: 24px;
  127. font-weight: 700;
  128. line-height: 1.2;
  129. }
  130. .result-label {
  131. margin-top: 6px;
  132. color: #56657a;
  133. font-size: 13px;
  134. }
  135. .section {
  136. margin-top: 24px;
  137. page-break-inside: avoid;
  138. }
  139. .section-title {
  140. margin: 0 0 14px;
  141. border-left: 6px solid #ff7d00;
  142. padding-left: 12px;
  143. color: #233f76;
  144. font-family: 'MiSans VF', MiSans, ReportFont, sans-serif;
  145. font-size: 20px;
  146. font-weight: 700;
  147. }
  148. .comparison-section {
  149. margin-top: 0;
  150. margin-bottom: 50px;
  151. }
  152. .comparison-section .section-title {
  153. margin: 0 0 25px;
  154. }
  155. .card {
  156. background: #fafbfc;
  157. border: 1px solid #eaeef5;
  158. border-radius: 10px;
  159. padding: 25px;
  160. page-break-inside: avoid;
  161. }
  162. .chart-box {
  163. width: 100%;
  164. height: 260px;
  165. margin: 10px 0;
  166. background: #f8fbff;
  167. border-radius: 10px;
  168. }
  169. .data-text {
  170. color: #444;
  171. font-family: 'MiSans VF', MiSans, ReportFont, sans-serif;
  172. font-size: 14px;
  173. line-height: 1.8;
  174. }
  175. .chart-box svg {
  176. display: block;
  177. width: 100%;
  178. height: 100%;
  179. }
  180. .chart-value {
  181. fill: #233f76;
  182. font-family: 'MiSans VF', MiSans, ReportFont, sans-serif;
  183. font-size: 13px;
  184. font-weight: 700;
  185. }
  186. .chart-label {
  187. fill: #56657a;
  188. font-family: 'MiSans VF', MiSans, ReportFont, sans-serif;
  189. font-size: 12px;
  190. }
  191. .chart-tick-label {
  192. fill: #68768a;
  193. font-family: 'MiSans VF', MiSans, ReportFont, sans-serif;
  194. font-size: 11px;
  195. }
  196. .detail-text {
  197. margin: 8px 0;
  198. color: #3d4a5d;
  199. font-family: 'MiSans VF', MiSans, ReportFont, sans-serif;
  200. }
  201. .highlight {
  202. color: #ff7d00;
  203. font-weight: 700;
  204. }
  205. .hit-panel {
  206. background: #f8fbff;
  207. border: 1px solid #e2eaf5;
  208. border-radius: 12px;
  209. padding: 18px;
  210. page-break-inside: avoid;
  211. }
  212. .hit-stats {
  213. width: 100%;
  214. table-layout: fixed;
  215. border-collapse: separate;
  216. border-spacing: 12px 0;
  217. margin-bottom: 14px;
  218. }
  219. .hit-stat {
  220. width: 25%;
  221. background: #fff;
  222. border: 1px solid #e7edf5;
  223. border-radius: 10px;
  224. padding: 12px;
  225. text-align: center;
  226. }
  227. .hit-stat-label {
  228. color: #68768a;
  229. font-size: 12px;
  230. }
  231. .hit-stat-value {
  232. color: #233f76;
  233. font-size: 18px;
  234. font-weight: 700;
  235. }
  236. .word-list {
  237. margin-top: 10px;
  238. }
  239. .word-item {
  240. display: inline-block;
  241. margin: 0 8px 8px 0;
  242. padding: 5px 12px;
  243. border-radius: 999px;
  244. background: #fff1e7;
  245. color: #9a4f00;
  246. font-family: 'MiSans VF', MiSans, ReportFont, sans-serif;
  247. font-weight: 600;
  248. }
  249. .word-empty {
  250. padding: 14px;
  251. border: 1px dashed #c6d2e3;
  252. border-radius: 10px;
  253. color: #68768a;
  254. text-align: center;
  255. }
  256. </style>
  257. </head>
  258. <body>
  259. <div class="report-container">
  260. <header class="report-header">
  261. <div class="header-logo"><img class="header-logo-image" src="{{reportLogoDataUri}}" alt="IATSE"/></div>
  262. <div class="header-main">
  263. <div class="header-report-type">{{headerReportType}}</div>
  264. <div class="header-student-name">{{studentName}}</div>
  265. </div>
  266. <div class="header-generated-at">{{generatedAtText}}</div>
  267. </header>
  268. <h1 class="report-title">{{reportTitle}}</h1>
  269. <p class="report-subtitle">{{reportSubtitle}}</p>
  270. <div class="result-header">
  271. <h2 class="completion-title">{{completionTitle}}</h2>
  272. <p class="completion-subtitle">{{completionSubtitle}}</p>
  273. </div>
  274. <table class="result-grid" role="presentation">
  275. <tr>
  276. <td class="result-card">
  277. <div class="result-value">{{vocabularyGrowthText}}</div>
  278. <div class="result-label">词汇量提升(个)</div>
  279. </td>
  280. <td class="result-card">
  281. <div class="result-value">{{paperKnownWordsGrowthText}}</div>
  282. <div class="result-label">试卷熟词提升(个)</div>
  283. </td>
  284. <td class="result-card">
  285. <div class="result-value">{{unknownWordHitRateText}}</div>
  286. <div class="result-label">试卷掌握度命中率</div>
  287. </td>
  288. <td class="result-card">
  289. <div class="result-value">{{learningEfficiencyText}}</div>
  290. <div class="result-label">学习效率提升</div>
  291. </td>
  292. </tr>
  293. </table>
  294. <div class="section comparison-section">
  295. <h2 class="section-title">模块一:词汇量对比</h2>
  296. <div class="card">
  297. <div class="chart-box">{{vocabularyComparisonChart}}</div>
  298. <div class="data-text">训练前词汇量:<span class="highlight">{{vocabularyBeforeText}}</span><br/>
  299. 训练后词汇量:<span class="highlight">{{vocabularyAfterText}}</span><br/>
  300. 本次提升:<span class="highlight">{{vocabularyGrowthDetailText}}</span><br/>
  301. {{stageVocabularyLabel}}:<span class="highlight">{{stageVocabularyText}}</span><br/>
  302. 掌握率:<span class="highlight">{{studentVocabMasteryBeforeText}} -&gt; {{studentVocabMasteryAfterText}}</span><br/>
  303. 掌握率提升:<span class="highlight">{{studentVocabMasteryImprovementText}}</span></div>
  304. </div>
  305. </div>
  306. <div class="section comparison-section">
  307. <h2 class="section-title">模块二:试卷熟词量对比</h2>
  308. <div class="card">
  309. <div class="chart-box">{{paperKnownWordsComparisonChart}}</div>
  310. <div class="data-text">训练前熟词量:<span class="highlight">{{paperKnownWordsBeforeText}}</span><br/>
  311. 训练后熟词量:<span class="highlight">{{paperKnownWordsAfterText}}</span><br/>
  312. 本次提升:<span class="highlight">{{paperKnownWordsGrowthDetailText}}</span><br/>
  313. 试卷标题:<span class="highlight">{{testPaperTitle}}</span><br/>
  314. 试卷总词量:<span class="highlight">{{testPaperWordCountText}}</span><br/>
  315. 训练前/后生词:<span class="highlight">{{testPaperUnknownWordsBeforeText}} -&gt; {{testPaperUnknownWordsAfterText}}</span><br/>
  316. 试卷熟词率:<span class="highlight">{{testPaperMasteryRateBeforeText}} -&gt; {{testPaperMasteryRateAfterText}}</span><br/>
  317. 试卷熟词率提升:<span class="highlight">{{testPaperMasteryRateImprovementText}}</span></div>
  318. </div>
  319. </div>
  320. <div class="section">
  321. <h2 class="section-title">模块三:实考生词命中状况</h2>
  322. <div class="hit-panel">
  323. <table class="hit-stats" role="presentation">
  324. <tr>
  325. <td class="hit-stat">
  326. <div class="hit-stat-value">{{hitStatusUnknownWordHitRateText}}</div>
  327. <div class="hit-stat-label">试卷掌握度命中率</div>
  328. </td>
  329. <td class="hit-stat">
  330. <div class="hit-stat-value">{{hitStatusLearningEfficiencyText}}</div>
  331. <div class="hit-stat-label">学习效率提升</div>
  332. </td>
  333. <td class="hit-stat">
  334. <div class="hit-stat-value">{{unknownWordsBeforeText}}</div>
  335. <div class="hit-stat-label">训练前生词</div>
  336. </td>
  337. <td class="hit-stat">
  338. <div class="hit-stat-value">{{unknownWordsAfterText}}</div>
  339. <div class="hit-stat-label">训练后生词</div>
  340. </td>
  341. </tr>
  342. </table>
  343. <p class="detail-text">成功减少生词:<span class="highlight">{{reducedUnknownWordsText}}</span></p>
  344. <div class="word-list">{{hitWords}}</div>
  345. </div>
  346. </div>
  347. </div>
  348. {{reportFooterBusiness}}
  349. </body>
  350. </html>