index.html 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <head>
  2. <meta charset="UTF-8">
  3. <script type="text/javascript" src="../js/jquery.min.js" crossorigin="anonymous"></script>
  4. <link rel="stylesheet" href="../css/bootstrap.min.css" crossorigin="anonymous">
  5. <script type="text/javascript" src="../js/bootstrap.min.js" crossorigin="anonymous"></script>
  6. <script src="https://cdn.jsdelivr.net/npm/echarts@4.3.0/dist/echarts.min.js"></script>
  7. <script src="../js/av-min.js"></script>
  8. <script src="../js/aes.js"></script>
  9. <script src="../js/pad-pkcs7.js"></script>
  10. <script src="../js/mode-ecb.js"></script>
  11. <link rel="preconnect" href="https://fonts.gstatic.com">
  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. <!-- <link rel="stylesheet" href="/css/style.css"> -->
  16. <script type="text/javascript" src="../js/score.js"></script>
  17. <style>
  18. #controls {
  19. position: fixed;
  20. bottom: 20px;
  21. right: 20px;
  22. padding: 5px;
  23. border: 5px solid rgba(15, 15, 15, 0.1);
  24. border-radius: 15px;
  25. background-color: rgba(15, 15, 15, 0.1);
  26. backdrop-filter: blur(5px);
  27. z-index: -1;
  28. }
  29. #name {
  30. background-color: rgba(215, 215, 215, 0.7);
  31. border-radius: 5px;
  32. padding-right: 3px;
  33. }
  34. #controls:not(.disabled) {
  35. z-index: 1;
  36. }
  37. .well {
  38. border-top-left-radius: 0;
  39. border-top-right-radius: 0;
  40. border-bottom-left-radius: 30px;
  41. border-bottom-right-radius: 30px;
  42. -webkit-box-shadow: inset 0 3px 3px rgb(0 0 0 / 5%);
  43. box-shadow: inset 0 3px 3px rgb(0 0 0 / 5%);
  44. }
  45. </style>
  46. <title>
  47. 实验中学成绩整理
  48. </title>
  49. </head>
  50. <body>
  51. <a class="btn btn-info" href="/" style="text-shadow: rgb(85, 85, 85) 3px 2px 4px;"><span
  52. class="glyphicon glyphicon-home" aria-hidden="true"></span>&nbsp;返回</a>
  53. <span class="fetch" style="display:none">(暴露优质接口-无安全意识、实在愚蠢;)</span>
  54. <div class="input-group fetch" style="display:none">
  55. <span class="input-group-addon">考试编号</span>
  56. <input id="Id" type="text" class="form-control" autocomplete="off" placeholder="972" value="972">
  57. </div>
  58. <div class="input-group fetch" style="display:none">
  59. <span class="input-group-addon"><a href="/js/e.json" onclick="setWeigh2()" data-toggle="tooltip" data-placement="bottom"
  60. title="仅限2025届高考部">姓名</a>或数字校园号</span>
  61. <input id="Input" type="text" class="form-control" autocomplete="off" placeholder="20222001 或 小明">
  62. <span class="input-group-btn">
  63. <button type="button" class="btn btn-default" onclick="fetchMe($('#Input').val())"
  64. id="fetchBtn">FETCH</button>
  65. </span>
  66. </div>
  67. <a tabindex="0" class="btn btn-warning hidable toggleHide" onclick="toggleHide();"
  68. style="text-shadow: rgb(85, 85, 85) 3px 2px 4px;display:none;">
  69. <span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
  70. </a>
  71. <div class="hidable fetch">
  72. <div class="page-header">
  73. <h1>
  74. 实验中学成绩整理
  75. <small>基于心意答查分页面提供的数据整理汇总考试成绩</small>
  76. </h1>
  77. </div>
  78. <h3>如何获取数据</h3>
  79. <p>尽量使用 Google Chrome 浏览器,不保证其他浏览器操作相同。</p>
  80. <p>1. 进入心意答查分页面;</p>
  81. <p>2. 按下 F12 打开控制台,若无反应,尝试 Fn+F12;</p>
  82. <p>3. 控制台顶栏分页中找到“<b>网络</b>”或“<b>Network</b>”(可能需要从下拉框里面找);</p>
  83. <p>4. 刷新页面(用 F5 刷新),此时应看到控制台中出现一批文件,点击其中的“<b>getStudentReportMEVO</b>”;</p>
  84. <p>5. 在新出现的小页面的顶栏分页中找到“<b>预览</b>”或“<b>Preview</b>”;</p>
  85. <p>6. 此时应看到“{data: {,...”等数据,一定在数据第一行右键(或在其最后一行下方空白处右键),随后“<b>复制物体</b>”或“<b>Copy Object</b>”;</p>
  86. <p>7. 新建文本文档(格式为 txt,不可用 Word 文档),将所复制的内容粘贴并保存,于下方按钮打开。</p>
  87. <p style="font-size: 12px;font-style: italic;">
  88. 注:图表整理均在本地进行,你的成绩不会上传到网络。<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;把所有人的成绩信息完整地公布在接口上,心意答我真服了你!
  89. </p>
  90. <h3>操作指南</h3>
  91. <p>1. 加载多个文件后,使用方向键或右下角控件可在文件间快速切换,方便比较;</p>
  92. <p>2. 点击图例可隐藏部分内容;</p>
  93. <p>3. 一览表中 "0%" 代表最低分,"100%" 代表最高分,以此类推。</p>
  94. <br>
  95. </div>
  96. <img>
  97. <div style="text-align: center;" class="hidable">
  98. <div class="btn-group">
  99. <a tabindex="0" class="btn btn-default" href="tutor/"
  100. style="text-shadow: rgb(185, 185, 185) 3px 2px 4px;display:inline-block;">
  101. <span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span>&nbsp;<b>查看示例截图</b>
  102. </a>
  103. <a id="upbtn" tabindex="0" class="btn btn-info" onclick="document.getElementById('fileInput').click();"
  104. style="text-shadow: rgb(85, 85, 85) 3px 2px 4px;display:inline-block;">
  105. <span id="upicon" class="glyphicon glyphicon-open" aria-hidden="true"></span> <b>打开文件</b><input
  106. style="display: none;" id="fileInput" type="file" onchange="getFiles(event)">
  107. </a>
  108. <a id="upbtn" tabindex="0" class="btn btn-danger"
  109. onclick="var a=aesEncrypt(prompt('我的班级')),b=aesEncrypt(prompt('我的学号'));if(a=='1170185235a2b833f24d4cf0e7d3f1c1'&&b=='b1b384c7b1e81d67482a132f60b3456e')$('.fetch').toggle();else alert('你非我')"
  110. style="text-shadow: rgb(85, 85, 85) 3px 2px 4px;display:inline-block;">
  111. <b class="blurred">?!</b>
  112. </a>
  113. <!-- If you must... -->
  114. </div>
  115. <a tabindex="0" class="btn btn-warning toggleHide fetch" onclick="toggleHide();"
  116. style="text-shadow: rgb(85, 85, 85) 3px 2px 4px;display:inline-block;">
  117. <span class="glyphicon glyphicon-eye-open" aria-hidden="true"></span>
  118. </a>
  119. </div>
  120. <div id="controls" class="disabled" style="text-align: center;">
  121. <div id="name"></div>
  122. <div class="btn-group">
  123. <a id="lbtn" tabindex="0" class="btn btn-default btn-lg disabled" onclick="prevFile();">
  124. <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
  125. </a>
  126. <a id="rbtn" tabindex="0" class="btn btn-default btn-lg disabled" onclick="nextFile();">
  127. <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
  128. </a>
  129. </div>
  130. </div>
  131. <div id="message" class="hidable"></div>
  132. <div id="fileInfo" class="hideble"></div>
  133. <div class="chart">
  134. <ul class="nav nav-tabs">
  135. <li class="active"><a href="#chart" data-toggle="tab">图表</a></li>
  136. <li><a href="#data" data-toggle="tab">数据</a></li>
  137. <!-- <li><a href="#3" data-toggle="tab">iOS</a></li> -->
  138. </ul>
  139. <div class="tab-content well well-sm">
  140. <div class="tab-pane fade in active" id="chart">
  141. <br>
  142. <h4>班内一览表</h4>
  143. <div id="score1" class="chart"></div>
  144. <div id="score2" class="chart"></div>
  145. <div id="order1" class="chart"></div>
  146. <div id="order2" class="chart"></div>
  147. <div id="order3" class="chart"></div>
  148. <div id="order4" class="chart"></div>
  149. </div>
  150. <div class="tab-pane fade" id="data">
  151. <div id="fileOutput"></div>
  152. </div>
  153. <!-- <div class="tab-pane fade" id="3">
  154. </div> -->
  155. </div>
  156. </div>
  157. </body>