index.html 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <head>
  2. <meta charset="UTF-8">
  3. <link rel="stylesheet" href="../css/bootstrap.min.css" crossorigin="anonymous">
  4. <script src="https://cdn.jsdelivr.net/npm/echarts@4.3.0/dist/echarts.min.js"></script>
  5. <script src="https://apps.bdimg.com/libs/jquery/1.10.2/jquery.min.js"></script>
  6. <script src="../js/av-min.js"></script>
  7. <script src="../js/aes.js"></script>
  8. <script src="../js/pad-pkcs7.js"></script>
  9. <script src="../js/mode-ecb.js"></script>
  10. <link rel="preconnect" href="https://fonts.gstatic.com">
  11. <link href="https://fonts.loli.net/css2?family=Anonymous+Pro:ital,wght@0,400;0,700;1,400;1,700
  12. &family=Noto+Serif+SC:wght@300;400;500;600;700&display=swap" rel="stylesheet">
  13. <link rel="stylesheet" href="../css/style.css">
  14. <!-- <link rel="stylesheet" href="/css/style.css"> -->
  15. <script type="text/javascript" src="../js/score.js"></script>
  16. <style>
  17. #controls {
  18. position: fixed;
  19. bottom: 20px;
  20. right: 20px;
  21. padding: 5px;
  22. border: 5px solid rgba(15, 15, 15, 0.1);
  23. border-radius: 15px;
  24. background-color: rgba(15, 15, 15, 0.1);
  25. backdrop-filter: blur(5px);
  26. z-index: -1;
  27. }
  28. #name {
  29. background-color: rgba(215, 215, 215, 0.7);
  30. border-radius: 5px;
  31. padding-right: 3px;
  32. }
  33. #controls:not(.disabled) {
  34. z-index: 1;
  35. }
  36. </style>
  37. <title>
  38. 实验中学成绩整理
  39. </title>
  40. </head>
  41. <body>
  42. <a class="btn btn-info" href="/" style="text-shadow: rgb(85, 85, 85) 3px 2px 4px;"><span
  43. class="glyphicon glyphicon-home" aria-hidden="true"></span>&nbsp;返回</a>
  44. <a tabindex="0" class="btn btn-warning hidable toggleHide" onclick="toggleHide();"
  45. style="text-shadow: rgb(85, 85, 85) 3px 2px 4px;display:none;">
  46. <span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
  47. </a>
  48. <div class="hidable">
  49. <h1>
  50. 实验中学成绩整理
  51. </h1>
  52. <p style="font-size:16px">基于心意答查分页面提供的数据整理汇总考试成绩</p>
  53. <h2>如何获取数据</h2>
  54. <p>尽量使用 Google Chrome 浏览器,不保证其他浏览器操作相同。</p>
  55. <p>1. 进入心意答查分页面;</p>
  56. <p>2. 按下 F12 打开控制台,若无反应,尝试 Fn+F12;</p>
  57. <p>3. 控制台顶栏分页中找到“<b>网络</b>”或“<b>Network</b>”(可能需要从下拉框里面找);</p>
  58. <p>4. 刷新页面(用 F5 刷新),此时应看到控制台中出现一批文件,点击其中的“<b>getStudentReportMEVO</b>”;</p>
  59. <p>5. 在新出现的小页面的顶栏分页中找到“<b>预览</b>”或“<b>Preview</b>”;</p>
  60. <p>6. 此时应看到“{data: {,...”等数据,一定在数据第一行右键(或在其最后一行下方空白处右键),随后“<b>复制物体</b>”或“<b>Copy Object</b>”;</p>
  61. <p>7. 新建文本文档(格式为 txt,不可用 Word 文档),将所复制的内容粘贴并保存,于下方按钮打开。</p>
  62. <p style="font-size: 12px;font-style: italic;">
  63. 注:图表整理均在本地进行,你的成绩不会上传到网络。<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<del>你获取的数据在心意答上未经加密并可直接访问,本质上对学生都是公开的,</del>(现在加密了,好在<a
  64. href="../crypty/">加密算法</a>不算复杂,不过各位且用且珍惜吧);但恶意使用这些数据造成的后果自负。
  65. </p>
  66. <h4>操作指南</h4>
  67. <p>1. 加载多个文件后,使用方向键、数字键或右下角控件可在文件间快速切换,方便比较;</p>
  68. <p>2. 点击图例可隐藏部分内容;</p>
  69. <p>3. 一览表中 "0%" 代表最低分,"100%" 代表最高分,以此类推。</p>
  70. <br>
  71. </div>
  72. <div style="text-align: center;" class="hidable">
  73. <a tabindex="0" class="btn btn-default" href="tutor/"
  74. style="text-shadow: rgb(185, 185, 185) 3px 2px 4px;display:inline-block;">
  75. <span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span>&nbsp;<b>查看示例截图</b>
  76. </a>
  77. <a id="upbtn" tabindex="0" class="btn btn-info" onclick="document.getElementById('fileInput').click();"
  78. style="text-shadow: rgb(85, 85, 85) 3px 2px 4px;display:inline-block;">
  79. <span id="upicon" class="glyphicon glyphicon-open" aria-hidden="true"></span> <b>打开文件</b><input
  80. style="display: none;" id="fileInput" type="file" onchange="getFiles(event)">
  81. </a>
  82. <a id="resetbtn" tabindex="0" class="btn btn-primary disabled" onclick="reset();"
  83. style="text-shadow: rgb(85, 85, 85) 3px 2px 4px;display:inline-block;">
  84. <span class="glyphicon glyphicon-refresh" aria-hidden="true"></span> <b>重置</b>
  85. </a>
  86. <a tabindex="0" class="btn btn-warning toggleHide" onclick="toggleHide();"
  87. style="text-shadow: rgb(85, 85, 85) 3px 2px 4px;display:inline-block;">
  88. <span class="glyphicon glyphicon-eye-open" aria-hidden="true"></span>
  89. </a>
  90. </div>
  91. <div id="controls" class="disabled" style="text-align: center;">
  92. <div id="name"></div>
  93. <a id="lbtn" tabindex="0" class="btn btn-default btn-lg disabled" onclick="prevFile();">
  94. <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
  95. </a>
  96. <a id="rbtn" tabindex="0" class="btn btn-default btn-lg disabled" onclick="nextFile();">
  97. <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
  98. </a>
  99. </div>
  100. <div id="message" class="hidable"></div>
  101. <div id="fileInfo" class="hideble"></div>
  102. <div id="score1" class="chart" style="display: none"></div>
  103. <div id="score2" class="chart" style="display: none"></div>
  104. <div id="fileOutput"></div>
  105. <div id="order1" class="chart" style="display: none"></div>
  106. <div id="order2" class="chart" style="display: none"></div>
  107. <div id="order3" class="chart" style="display: none"></div>
  108. <div id="order4" class="chart" style="display: none"></div>
  109. </body>