index.html 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. </style>
  38. <title>
  39. 实验中学成绩整理
  40. </title>
  41. </head>
  42. <body>
  43. <a class="btn btn-info" href="/" style="text-shadow: rgb(85, 85, 85) 3px 2px 4px;"><span
  44. class="glyphicon glyphicon-home" aria-hidden="true"></span>&nbsp;返回</a>
  45. <a tabindex="0" class="btn btn-warning hidable toggleHide" onclick="toggleHide();"
  46. style="text-shadow: rgb(85, 85, 85) 3px 2px 4px;display:none;">
  47. <span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
  48. </a>
  49. <div class="hidable">
  50. <div class="page-header">
  51. <h1>
  52. 实验中学成绩整理
  53. <small>基于心意答查分页面提供的数据整理汇总考试成绩</small>
  54. </h1>
  55. </div>
  56. <h3>如何获取数据</h3>
  57. <p>尽量使用 Google Chrome 浏览器,不保证其他浏览器操作相同。</p>
  58. <p>1. 进入心意答查分页面;</p>
  59. <p>2. 按下 F12 打开控制台,若无反应,尝试 Fn+F12;</p>
  60. <p>3. 控制台顶栏分页中找到“<b>网络</b>”或“<b>Network</b>”(可能需要从下拉框里面找);</p>
  61. <p>4. 刷新页面(用 F5 刷新),此时应看到控制台中出现一批文件,点击其中的“<b>getStudentReportMEVO</b>”;</p>
  62. <p>5. 在新出现的小页面的顶栏分页中找到“<b>预览</b>”或“<b>Preview</b>”;</p>
  63. <p>6. 此时应看到“{data: {,...”等数据,一定在数据第一行右键(或在其最后一行下方空白处右键),随后“<b>复制物体</b>”或“<b>Copy Object</b>”;</p>
  64. <p>7. 新建文本文档(格式为 txt,不可用 Word 文档),将所复制的内容粘贴并保存,于下方按钮打开。</p>
  65. <p style="font-size: 12px;font-style: italic;">
  66. 注:图表整理均在本地进行,你的成绩不会上传到网络。<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<del>你获取的数据在心意答上未经加密并可直接访问,本质上对学生都是公开的,</del>(现在加密了,好在<a
  67. href="../crypty/">加密算法</a>不算复杂,不过各位且用且珍惜吧);但恶意使用这些数据造成的后果自负。
  68. </p>
  69. <h3>操作指南</h3>
  70. <p>1. 加载多个文件后,使用方向键、数字键或右下角控件可在文件间快速切换,方便比较;</p>
  71. <p>2. 点击图例可隐藏部分内容;</p>
  72. <p>3. 一览表中 "0%" 代表最低分,"100%" 代表最高分,以此类推。</p>
  73. <br>
  74. </div>
  75. <div style="text-align: center;" class="hidable">
  76. <a tabindex="0" class="btn btn-default" href="tutor/"
  77. style="text-shadow: rgb(185, 185, 185) 3px 2px 4px;display:inline-block;">
  78. <span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span>&nbsp;<b>查看示例截图</b>
  79. </a>
  80. <a id="upbtn" tabindex="0" class="btn btn-info" onclick="document.getElementById('fileInput').click();"
  81. style="text-shadow: rgb(85, 85, 85) 3px 2px 4px;display:inline-block;">
  82. <span id="upicon" class="glyphicon glyphicon-open" aria-hidden="true"></span> <b>打开文件</b><input
  83. style="display: none;" id="fileInput" type="file" onchange="getFiles(event)">
  84. </a>
  85. <a id="resetbtn" tabindex="0" class="btn btn-primary disabled" onclick="reset();"
  86. style="text-shadow: rgb(85, 85, 85) 3px 2px 4px;display:inline-block;">
  87. <span class="glyphicon glyphicon-refresh" aria-hidden="true"></span> <b>重置</b>
  88. </a>
  89. <a tabindex="0" class="btn btn-warning toggleHide" onclick="toggleHide();"
  90. style="text-shadow: rgb(85, 85, 85) 3px 2px 4px;display:inline-block;">
  91. <span class="glyphicon glyphicon-eye-open" aria-hidden="true"></span>
  92. </a>
  93. </div>
  94. <div id="controls" class="disabled" style="text-align: center;">
  95. <div id="name"></div>
  96. <div class="btn-group">
  97. <a id="lbtn" tabindex="0" class="btn btn-default btn-lg disabled" onclick="prevFile();">
  98. <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
  99. </a>
  100. <a id="rbtn" tabindex="0" class="btn btn-default btn-lg disabled" onclick="nextFile();">
  101. <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
  102. </a>
  103. </div>
  104. </div>
  105. <div id="message" class="hidable"></div>
  106. <div id="fileInfo" class="hideble"></div>
  107. <div class="chart">
  108. <ul class="nav nav-tabs">
  109. <li class="active"><a href="#chart" data-toggle="tab">图表</a></li>
  110. <li><a href="#data" data-toggle="tab">数据</a></li>
  111. <li><a href="#3" data-toggle="tab">iOS</a></li>
  112. </ul>
  113. <div class="tab-content">
  114. <div class="tab-pane fade in active" id="chart">
  115. <h4>班内一览表</h4>
  116. <div id="score1" class="chart"></div>
  117. <div id="score2" class="chart"></div>
  118. <div id="order1" class="chart"></div>
  119. <div id="order2" class="chart"></div>
  120. <div id="order3" class="chart"></div>
  121. <div id="order4" class="chart"></div>
  122. </div>
  123. <div class="tab-pane fade" id="data">
  124. <div id="fileOutput"></div>
  125. </div>
  126. <div class="tab-pane fade" id="3">
  127. </div>
  128. </div>
  129. </div>
  130. </body>