index.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. <head>
  2. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  3. <title>实验中学成绩整理</title>
  4. <script type="text/javascript" src="/js/jquery.min.js" crossorigin="anonymous"></script>
  5. <link rel="stylesheet" href="/css/bootstrap.min.css" crossorigin="anonymous">
  6. <script type="text/javascript" src="/js/bootstrap.min.js" crossorigin="anonymous"></script>
  7. <script async src="/js/saver.min.js"></script>
  8. <script async src="/js/echarts-5.4.1.min.js"></script>
  9. <script src="/js/aes.js"></script>
  10. <script src="/js/pad-pkcs7.js"></script>
  11. <script src="/js/mode-ecb.js"></script>
  12. <link href="https://fonts.loli.net/css2?family=Anonymous+Pro:ital,wght@0,400;0,700;1,400;1,700
  13. &family=Noto+Serif+SC:wght@300;400;500;600;700&display=swap" rel="stylesheet">
  14. <link rel="stylesheet" href="/css/style.css">
  15. <script type="text/javascript" src="/js/score.js"></script>
  16. <style>
  17. body {
  18. transition-duration: 300ms;
  19. }
  20. #controls {
  21. position: fixed;
  22. bottom: 20px;
  23. right: 20px;
  24. padding: 5px;
  25. border: 5px solid rgba(15, 15, 15, 0.1);
  26. border-radius: 15px;
  27. background-color: rgba(15, 15, 15, 0.1);
  28. backdrop-filter: blur(5px);
  29. z-index: -1;
  30. }
  31. #name {
  32. background-color: rgba(215, 215, 215, 0.7);
  33. border-radius: 5px;
  34. padding-right: 3px;
  35. }
  36. #controls:not(.disabled) {
  37. z-index: 1;
  38. }
  39. .well {
  40. border-top-left-radius: 0;
  41. border-top-right-radius: 0;
  42. border-bottom-left-radius: 30px;
  43. border-bottom-right-radius: 30px;
  44. -webkit-box-shadow: inset 0 3px 3px rgb(0 0 0 / 5%);
  45. box-shadow: inset 0 3px 3px rgb(0 0 0 / 5%);
  46. }
  47. .btn.btn-how {
  48. border-bottom: none;
  49. border-bottom-left-radius: 0;
  50. border-bottom-right-radius: 0;
  51. }
  52. img {
  53. transition-duration: 300ms;
  54. border: 3px dotted grey;
  55. width: 100%;
  56. }
  57. .minus {
  58. transition-duration: 300ms;
  59. color: rgb(217, 83, 79);
  60. font-weight: 800;
  61. font-family: 'Consolas';
  62. background-color: rgba(215, 215, 215, 0.7);
  63. position: absolute;
  64. border-radius: 4px;
  65. padding: 2px;
  66. }
  67. .minus.full {
  68. color: rgb(92, 184, 92);
  69. }
  70. .sp {
  71. outline: 1px solid rgba(15, 15, 15, 0.7);
  72. background-color: rgba(215, 215, 215, 0.7);
  73. position: absolute;
  74. border-radius: 1px;
  75. }
  76. .sp.cor {
  77. background-color: rgba(92, 184, 92, 0.7);
  78. }
  79. .sp.err {
  80. background-color: rgba(217, 83, 79, 0.7);
  81. }
  82. .avgSc {
  83. background-color: rgba(199, 217, 79, 0.3);
  84. font-family: 'Courier New', Courier;
  85. }
  86. .fullSc {
  87. background-color: rgba(199, 217, 79, 0.3);
  88. font-family: 'Courier New', Courier;
  89. }
  90. .mySc {
  91. color: white;
  92. background-color: rgba(6, 65, 106, 0.505);
  93. font-family: 'Courier New', Courier;
  94. }
  95. .list-unstyled>li {
  96. background-color: rgba(217, 83, 79, 0.2);
  97. }
  98. .list-unstyled>li.fullScore {
  99. background-color: rgba(199, 217, 79, 0.3);
  100. }
  101. .sc {
  102. position: relative;
  103. }
  104. </style>
  105. </head>
  106. <body>
  107. <a class="btn btn-info" href="https://43.143.233.184/"><span class="glyphicon glyphicon-home"
  108. aria-hidden="true"></span>&nbsp;返回</a>
  109. <a tabindex="0" class="btn btn-warning hidable toggleHide"
  110. onclick="$('.hidable').show(1000);$('.toggleHide').toggle(1000)" style="display:none;">
  111. <span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
  112. </a>
  113. <div class="hidable fetch">
  114. <div class="page-header">
  115. <h1>
  116. 实验中学成绩整理
  117. <small>基于心意答数据整理汇总考试成绩</small>
  118. </h1>
  119. </div>
  120. <h3>如何获取数据</h3>
  121. <p>点击 <span class="text-danger">?!</span> 按钮即可获取,如有疑问请咨询我。</p>
  122. <a onclick="$('.getData').toggle(500)">原始方法</a>
  123. <div class="getData" style="display: none;">
  124. <p>尽量使用 Google Chrome 浏览器,不保证其他浏览器操作相同。</p>
  125. <p>1. 进入心意答查分页面;</p>
  126. <p>2. 按下 F12 打开控制台,若无反应,尝试 Fn+F12;</p>
  127. <p>3. 控制台顶栏分页中找到“<b>网络</b>”或“<b>Network</b>”(可能需要从下拉框里面找);</p>
  128. <p>4. 刷新页面(用 F5 刷新),此时应看到控制台中出现一批文件,点击其中的“<b>getStudentReportMEVO</b>”;</p>
  129. <p>5. 在新出现的小页面的顶栏分页中找到“<b>预览</b>”或“<b>Preview</b>”;</p>
  130. <p>6. 此时应看到“{data: {,...”等数据,一定在数据第一行右键(或在其最后一行下方空白处右键),随后“<b>复制物体</b>”或“<b>Copy Object</b>”;</p>
  131. <p>7. 新建文本文档(格式为 txt,不可用 Word 文档),将所复制的内容粘贴并保存,于下方按钮打开。</p>
  132. <p style="font-size: 12px;font-style: italic;">
  133. 注:图表整理均在本地进行,你的成绩不会上传到网络(上传与否,已经不重要了)。<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;把所有人的成绩信息完整地公布在接口上,心意答我真服了你!
  134. </p>
  135. <a tabindex="0" class="btn btn-default fetch" href="tutor/">
  136. <span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span>&nbsp;<b>查看示例截图</b>
  137. </a>
  138. </div>
  139. <h3>操作指南</h3>
  140. <p>1. 加载多个文件后,使用方向键或右下角控件可在文件间快速切换,方便比较;</p>
  141. <p>2. 点击图例可隐藏部分内容;</p>
  142. <p>3. 鼠标悬浮于右下角控件可让图片半透明,方便查看小分。</p>
  143. </div>
  144. <div class="fetch" style="display:none">(高质量接口)</div>
  145. <div class="input-group fetch" style="display:none">
  146. <span class="input-group-addon">考试编号<a data-toggle="tooltip" data-placement="bottom"
  147. title="心意答点击考试标题后,切换考试的列表里可见" aria-hidden="true">*</a></span>
  148. <input id="Id" type="text" class="form-control" autocomplete="off">
  149. </div>
  150. <div class="input-group fetch" style="display:none">
  151. <span class="input-group-addon">姓名<a href="/js/e.json" onclick="setWeigh2()" data-toggle="tooltip"
  152. data-placement="bottom" title="仅限2025届高考部">*</a>或数字校园号</span>
  153. <input id="Input" type="text" class="form-control" autocomplete="off" placeholder="20222001 或 小明">
  154. <span class="input-group-btn">
  155. <button type="button" class="btn btn-success" onclick="fetchMe($('#Input').val())" id="fetchBtn"><span
  156. class="glyphicon glyphicon-hand-right" aria-hidden="true"></span> FETCH</button>
  157. </span>
  158. </div>
  159. <div style="text-align: center;" class="hidable">
  160. <div class="btn-group">
  161. <a id="upbtn" tabindex="0" class="btn btn-info" onclick="document.getElementById('fileInput').click();">
  162. <span id="upicon" class="glyphicon glyphicon-open" aria-hidden="true"></span> <b>打开文件</b><input
  163. style="display: none;" id="fileInput" type="file" onchange="getFiles(event)">
  164. </a>
  165. <a id="upbtn" tabindex="0" class="btn btn-danger" onclick="check()">
  166. <b>?!</b>
  167. </a>
  168. <!-- If you must... -->
  169. </div>
  170. <a tabindex="0" class="btn btn-warning toggleHide fetch"
  171. onclick="$('.hidable').hide(1000);$('.toggleHide').toggle(1000)">
  172. <span class="glyphicon glyphicon-eye-open" aria-hidden="true"></span>
  173. </a>
  174. </div>
  175. <div id="controls" class="disabled" style="text-align: center;" onmouseenter="$('img').css('opacity','0.1')"
  176. onmouseleave="$('img').css('opacity','1')">
  177. <div id="name"></div>
  178. <div class="btn-group">
  179. <a id="lbtn" tabindex="0" class="btn btn-default disabled" onclick="prevFile();">
  180. <span class="glyphicon glyphicon-arrow-left" aria-hidden="true"></span>
  181. </a>
  182. <a id="rbtn" tabindex="0" class="btn btn-default disabled" onclick="nextFile();">
  183. <span class="glyphicon glyphicon-arrow-right" aria-hidden="true"></span>
  184. </a>
  185. </div>
  186. </div>
  187. <div id="message" class="hidable"></div>
  188. <div id="fileInfo" class="hideble"></div>
  189. <div class="chart">
  190. <ul class="nav nav-tabs">
  191. <li class="active"><a href="#chart" data-toggle="tab" onclick="resizeChart()">图表</a></li>
  192. <li><a href="#data" data-toggle="tab">数据</a></li>
  193. <li><a href="#single" data-toggle="tab" onclick="getSe(curSe,1,1)">答题卡</a></li>
  194. <li><a href="#detail" data-toggle="tab" onclick="getSec(curSe,1,1)">小分</a></li>
  195. <li><a href="#other" data-toggle="tab">谁问你了</a></li>
  196. </ul>
  197. <div class="tab-content well well-sm">
  198. <div class="tab-pane fade in active" id="chart">
  199. <br>
  200. <button id="resizeBtn" class="btn btn-default" onclick="resizeChart()"
  201. style="display: none;">图表没显示?暴力重置一下</button>
  202. <div id="comp" class="chart"></div>
  203. <h4>班内一览表</h4>
  204. <div id="score1" class="chart"></div>
  205. <div id="score2" class="chart"></div>
  206. <h4>排名</h4>
  207. <div id="order2" class="chart"></div>
  208. <div id="order4" class="chart"></div>
  209. <div id="order1" class="chart"></div>
  210. <div id="order3" class="chart"></div>
  211. <br><br>
  212. </div>
  213. <div class="tab-pane fade" id="data">
  214. <div id="fileOutput"></div>
  215. <div style="text-align:center">
  216. <a id="downbtn" tabindex="0" class="btn btn-default" onclick="down()">
  217. <span id="upicon" class="glyphicon glyphicon-save" aria-hidden="true"></span> <b>导出源文件</b><input
  218. style="display: none;">
  219. </a>
  220. <a id="downbtn" tabindex="0" class="btn btn-default" onclick="$('.active.in').wordExport('data')">
  221. <span id="upicon" class="glyphicon glyphicon-save" aria-hidden="true"></span> <b>导出
  222. Word</b><input style="display: none;">
  223. </a>
  224. </div>
  225. </div>
  226. <div class="tab-pane fade" id="single" style="min-height: 1000px;">
  227. </div>
  228. <div class="tab-pane fade" id="detail" style="min-height: 1000px;">
  229. </div>
  230. <div class="tab-pane fade" id="other">
  231. <p>Nobody asked</p>
  232. <p>原为实验中学 74 桌出品,我仅做搬运修改。</p>
  233. <p><a href="how">有关如何破解接口(备忘)</a></p>
  234. <p><a href="/js/score.js">压缩前代码</a></p>
  235. <p>如恶意使用接口,后果自负、、</p>
  236. <br><br><br>
  237. <!-- <p>你是否还想看看别人考的怎么样?</p>
  238. <p>想看别人考的怎么样,首先你得安装并启用<a href="https://greasyfork.org/zh-CN/scripts/456705-wangshaui-simulator"
  239. target="_blank">这个脚本</a>。</p>
  240. <p>假如你安装脚本都费劲,那无论如何你得先装上 Chrome 浏览器,我已经帮你把 Tampermonkey 搞来了,你只需要<a href="tutor/tamper.crx">下载</a>,Chrome
  241. 大概率会自动安装,你再<a href="https://greasyfork.org/zh-CN/scripts/456705-wangshaui-simulator"
  242. target="_blank">从这里</a>就能直接安装脚本了。</p>
  243. <p>随后进入心意答界面。多刷新几次,你会发现你来到了后台,然后你得进入学情分析页。</p>
  244. <p>这时按
  245. <kbd>F12</kbd> 打开 DevTools 界面,从顶栏分页找到 Network,再刷新一次。
  246. </p>
  247. <p>此时应出现一堆文件的列表,从里面找到以 'app.9739...'
  248. 开头的那个文件,右键选择 Block request URL 屏蔽它。</p>
  249. <p>不要关闭 DevTools,再次刷新,你就能看到别人考的怎么样了。假如你还想从不同老师的视角看,可以点击顶端的
  250. changeId 按钮,至于老师的 id 是多少,你可以上数字校园邮箱里面翻一翻。</p>
  251. <img async src="tutor/5.png"> -->
  252. </div>
  253. </div>
  254. </div>
  255. </body>