errorPushSettingForStudent.php 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7. <title>Document</title>
  8. <script src="http://zsyas2.zhixinhuixue.com/js/jquery-2.2.2.min.js"></script>
  9. <script src="http://zsyas2.zhixinhuixue.com/js/layer/layer.js"></script>
  10. <link href="/css/productset/report.css?1f3c9eb7ca528042749e" rel="stylesheet" />
  11. </head>
  12. <body>
  13. <style>
  14. .fl{
  15. float: left;
  16. }
  17. .fr{
  18. float: right;
  19. }
  20. .clearfix:after{
  21. content: '';
  22. display: block;
  23. clear: both;
  24. }
  25. .changeSubjectNav{
  26. position: fixed;
  27. width: 100%;
  28. box-sizing: border-box;
  29. top: 0;
  30. left: 0;
  31. z-index: 1000;
  32. display: flex;
  33. justify-content: space-between;
  34. align-items: center;
  35. padding: 10px 10px;
  36. background: #ddd;
  37. }
  38. .changeSubjectNav .productSettingBtn a{
  39. display: block;
  40. width: 120px;
  41. height: 30px;
  42. background: #01B677;
  43. text-align: center;
  44. line-height: 30px;
  45. color: #fff;
  46. font-size: 16px;
  47. text-decoration: none;
  48. cursor: text;
  49. }
  50. /*切换选择*/
  51. .tab-con{
  52. position: relative;
  53. height: 30px;
  54. width: 200px;
  55. background: #F2F2F2;
  56. border: 1px solid #01B677;
  57. border-radius: 15px;
  58. box-sizing: border-box;
  59. }
  60. .has-sel{
  61. background: #01B677;
  62. color: #fff;
  63. width: 50%;
  64. height: 30px;
  65. border-top-left-radius: 15px;
  66. border-bottom-left-radius: 15px;
  67. text-align: center;
  68. line-height: 30px;
  69. }
  70. .sel-opt{
  71. width: 50%;
  72. position: relative;
  73. color: #01B677;
  74. line-height: 30px;
  75. text-indent: 6px;
  76. cursor: pointer;
  77. }
  78. .sel-opt:after{
  79. content: '';
  80. border-left: 6px solid transparent;
  81. border-right: 6px solid transparent;
  82. border-top: 8px solid #01B677;
  83. position: absolute;
  84. right: 12px;
  85. top: 12px;
  86. }
  87. // .sel-opt select{
  88. // width: 100%;
  89. // height: 30px;
  90. // background: #F2F2F2;
  91. // color: #01B677;
  92. // text-indent: 6px;
  93. // font-size: inherit;
  94. // border-top-right-radius: 15px;
  95. // border-bottom-right-radius: 15px;
  96. // cursor: pointer;
  97. // }
  98. // .sel-opt select option{
  99. // position: relative;
  100. // }
  101. .points{
  102. position: absolute;
  103. top: -2px;
  104. right: 0;
  105. width: 10px;
  106. height: 10px;
  107. background: #F01516;
  108. border-radius: 50%;
  109. }
  110. .sel-cons{
  111. border: 1px solid #01B677;
  112. width: 50%;
  113. position: absolute;
  114. right: 0;
  115. top: 30px;
  116. text-indent: 10px;
  117. display: none;
  118. }
  119. .sc-lis2{
  120. line-height: 30px;
  121. cursor: pointer;
  122. }
  123. .sc-lis2 span{
  124. position: relative;
  125. }
  126. .sc-lis2 .points{
  127. top: 2px;
  128. right: -16px;
  129. }
  130. .subject-change{
  131. margin:8px 11px 0 0;display: block
  132. }
  133. .subject-change-no{
  134. margin:8px 11px 0 0;display: none
  135. }
  136. </style>
  137. <?php include(Yii::app()->basePath.'/views/layouts/view_productset_navigation.php');?>
  138. <script type="text/javascript">
  139. $(document).ready(function() {
  140. $(".sel-opt,.sel-cons").mouseover(function () {
  141. $(".sel-cons").show();
  142. }).mouseout(function () {
  143. $(".sel-cons").hide();
  144. });
  145. $(".sc-lis2").click(function () {
  146. var sub_id = $(this).attr('val');
  147. var data = {
  148. subjectId: sub_id
  149. };
  150. $.post("<?php echo Yii::app()->createUrl('print/setSubjectId')?>", data, function (flags) {
  151. if (flags) {
  152. location.href = "<?php echo $this->createUrl('productset/index');?>";
  153. } else {
  154. alert('网络异常');
  155. }
  156. });
  157. $('.has-sel').text($(this).text());
  158. $(".sel-cons").hide();
  159. });
  160. });
  161. </script>
  162. <div class="hgc_settingBox">
  163. <div class="step">
  164. <div class="moduleTitle">
  165. <i class="number">1</i>
  166. <strong>错题推送规则</strong>
  167. </div>
  168. <ul class="hTable" id="errorPushList">
  169. </ul>
  170. </div>
  171. <div class="step">
  172. <div class="moduleTitle">
  173. <i class="number">2</i>
  174. <strong>错题本排版</strong>
  175. </div>
  176. <ul class="hTable" id="errorTypeSetting">
  177. <li class="row title">
  178. <div class="cell">
  179. <div class="cellItem">一级栏目</div>
  180. </div>
  181. <div class="cell">
  182. <div class="cellItem">二级栏目</div>
  183. </div>
  184. <div class="cell">
  185. <div class="cellItem">设置</div>
  186. </div>
  187. </li>
  188. <li class="row">
  189. <div class="cell colSpan4">
  190. <div class="cellItem">成长轨迹</div>
  191. </div>
  192. <div class="cell">
  193. <div class="cellItem">
  194. 显示【激励话语】
  195. </div>
  196. <div class="cellItem">
  197. 显示【排名变化图】
  198. </div>
  199. <div class="cellItem">
  200. 显示【成绩变化图】
  201. </div>
  202. <div class="cellItem">
  203. 显示【考试难度小贴士】
  204. </div>
  205. </div>
  206. <div class="cell">
  207. <div class="cellItem">
  208. <div class="h_switch" data-name="hasEncourage"></div>
  209. </div>
  210. <div class="cellItem">
  211. <div class="h_switch" data-name="hasRankingChange"></div>
  212. </div>
  213. <div class="cellItem">
  214. <div class="h_switch" data-name="hasAchievementChange"></div>
  215. </div>
  216. <div class="cellItem">
  217. <div class="h_switch" data-name="examinationDifficulty"></div>
  218. </div>
  219. </div>
  220. </li>
  221. <li class="row">
  222. <div class="cell colSpan2">
  223. <div class="cellItem">知识点掌握分析</div>
  224. </div>
  225. <div class="cell">
  226. <div class="cellItem">显示【得分前五知识点】</div>
  227. <div class="cellItem">显示【失分前五知识点】</div>
  228. </div>
  229. <div class="cell">
  230. <div class="cellItem">
  231. <div class="h_switch" data-name="hasGoodKnowledge"></div>
  232. </div>
  233. <div class="cellItem">
  234. <div class="h_switch" data-name="hasLoseKnowledge"></div>
  235. </div>
  236. </div>
  237. </li>
  238. <li class="row">
  239. <div class="cell">
  240. <div class="cellItem">得分明细表</div>
  241. </div>
  242. <div class="cell">
  243. <div class="cellItem">显示【得分明细表】</div>
  244. </div>
  245. <div class="cell">
  246. <div class="cellItem">
  247. <div class="h_switch" data-name="hasScoreDetail"></div>
  248. </div>
  249. </div>
  250. </li>
  251. <li class="row">
  252. <div class="cell colSpan4">
  253. <div class="cellItem">错题整理</div>
  254. </div>
  255. <div class="cell">
  256. <div class="cellItem">显示【错题原笔记】</div>
  257. <div class="cellItem">显示【考点视频二维码】</div>
  258. <div class="cellItem">显示【考点高考分值表】</div>
  259. <div class="cellItem">显示【同学优解】</div>
  260. </div>
  261. <div class="cell">
  262. <div class="cellItem">
  263. <div class="h_switch" data-name="hasErrorOriginNote"></div>
  264. </div>
  265. <div class="cellItem">
  266. <div class="h_switch" data-name="testVideo"></div>
  267. </div>
  268. <div class="cellItem">
  269. <div class="h_switch" data-name="scoreOfCollege"></div>
  270. </div>
  271. <div class="cellItem">
  272. <div class="h_switch" data-name="classmateOptimization"></div>
  273. </div>
  274. </div>
  275. </li>
  276. <li class="row">
  277. <div class="cell">
  278. <div class="cellItem">共性问题</div>
  279. </div>
  280. <div class="cell">
  281. <div class="cellItem">显示【共性问题】</div>
  282. </div>
  283. <div class="cell">
  284. <div class="cellItem">
  285. <div class="h_switch" data-name="commonProblems"></div>
  286. </div>
  287. </div>
  288. </li>
  289. <li class="row">
  290. <div class="cell">
  291. <div class="cellItem">答案解析</div>
  292. </div>
  293. <div class="cell">
  294. <div class="cellItem">【答案解析】排版方式</div>
  295. </div>
  296. <div class="cell">
  297. <div class="cellItem">
  298. 答案和解析显示在最后一页
  299. <!-- <select data-name="hasDividePage" id="hasDividePage">
  300. <option value="true"></option>
  301. </select> -->
  302. </div>
  303. </div>
  304. </li>
  305. </ul>
  306. </div>
  307. <div class="btns">
  308. <div class="h-btn" id="saveSetting">保存设置</div>
  309. </div>
  310. <script>
  311. var currentVersionName = 'error'
  312. </script>
  313. </div>
  314. <script src="/js/productset/report.js?1f3c9eb7ca528042749e"></script>
  315. </body>
  316. </html>