index.php 65 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/html">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>产品设置</title>
  6. <link rel="stylesheet" href="/css/productset/base.css">
  7. <link rel="stylesheet" href="/css/productset/product-setting.css">
  8. </head>
  9. <body>
  10. <style>
  11. .fl{
  12. float: left;
  13. }
  14. .fr{
  15. float: right;
  16. }
  17. .clearfix:after{
  18. content: '';
  19. display: block;
  20. clear: both;
  21. }
  22. .changeSubjectNav{
  23. width: 100%;
  24. box-sizing: border-box;
  25. top: 0;
  26. left: 0;
  27. z-index: 1000;
  28. display: flex;
  29. justify-content: space-between;
  30. align-items: center;
  31. padding: 10px 10px;
  32. background: #ddd;
  33. }
  34. .changeSubjectNav .productSettingBtn a{
  35. display: block;
  36. width: 120px;
  37. height: 30px;
  38. background: #01B677;
  39. text-align: center;
  40. line-height: 30px;
  41. color: #fff;
  42. font-size: 16px;
  43. text-decoration: none;
  44. cursor: text;
  45. }
  46. /*切换选择*/
  47. .tab-con{
  48. position: relative;
  49. height: 30px;
  50. width: 200px;
  51. background: #F2F2F2;
  52. border: 1px solid #01B677;
  53. border-radius: 15px;
  54. }
  55. .has-sel{
  56. background: #01B677;
  57. color: #fff;
  58. width: 50%;
  59. height: 30px;
  60. border-top-left-radius: 15px;
  61. border-bottom-left-radius: 15px;
  62. text-align: center;
  63. line-height: 30px;
  64. }
  65. .sel-opt{
  66. width: 50%;
  67. position: relative;
  68. color: #01B677;
  69. line-height: 30px;
  70. text-indent: 6px;
  71. cursor: pointer;
  72. }
  73. .sel-opt:after{
  74. content: '';
  75. border-left: 6px solid transparent;
  76. border-right: 6px solid transparent;
  77. border-top: 8px solid #01B677;
  78. position: absolute;
  79. right: 12px;
  80. top: 12px;
  81. }
  82. // .sel-opt select{
  83. // width: 100%;
  84. // height: 30px;
  85. // background: #F2F2F2;
  86. // color: #01B677;
  87. // text-indent: 6px;
  88. // font-size: inherit;
  89. // border-top-right-radius: 15px;
  90. // border-bottom-right-radius: 15px;
  91. // cursor: pointer;
  92. // }
  93. // .sel-opt select option{
  94. // position: relative;
  95. // }
  96. .points{
  97. position: absolute;
  98. top: -2px;
  99. right: 0;
  100. width: 10px;
  101. height: 10px;
  102. background: #F01516;
  103. border-radius: 50%;
  104. }
  105. .sel-cons{
  106. border: 1px solid #01B677;
  107. width: 50%;
  108. position: absolute;
  109. right: 0;
  110. top: 30px;
  111. text-indent: 10px;
  112. display: none;
  113. }
  114. .sc-lis2{
  115. line-height: 30px;
  116. cursor: pointer;
  117. }
  118. .sc-lis2 span{
  119. position: relative;
  120. }
  121. .sc-lis2 .points{
  122. top: 2px;
  123. right: -16px;
  124. }
  125. .subject-change{
  126. margin:8px 11px 0 0;display: block
  127. }
  128. .subject-change-no{
  129. margin:8px 11px 0 0;display: none
  130. }
  131. </style>
  132. <?php include(Yii::app()->basePath.'/views/layouts/view_productset_navigation.php');?>
  133. <div class="loading">
  134. <div class="loading-box">
  135. <img src="/images/productset/loading.png" alt="">
  136. <p>加载中...</p>
  137. </div>
  138. </div>
  139. <div class="clearfix product-tit"><?php echo $subject_name?>产品设置</div>
  140. <div class="clearfix product-box">
  141. <!-- 左侧菜单开始 -->
  142. <div class="fl product-menu">
  143. <dl>
  144. <dt ps-type="1">错题本</dt>
  145. <?php foreach ($product_list[1] as $plk=>$plv):?>
  146. <dd>
  147. <a is-default="<?php echo $plv['is_default']?>" ps-id="<?php echo $plv['product_type'].'_'.$plv['ps_id']?>" href="<?php echo $this->createUrl("productset/oldSet?psId={$plv['ps_id']}");?>" class="<?php if ($plv['ps_id']==$curr_ps) echo 'active'?>"><?php echo $plv['name']?></a>
  148. </dd>
  149. <?php endforeach;?>
  150. </dl>
  151. <?php if($subject_id==3):?>
  152. <dl>
  153. <dt ps-type="2">个性化学习方案</dt>
  154. <?php foreach ($product_list[2] as $plk=>$plv):?>
  155. <dd>
  156. <a is-default="<?php echo $plv['is_default']?>" ps-id="<?php echo $plv['product_type'].'_'.$plv['ps_id']?>" href="<?php echo $this->createUrl("productset/oldSet?psId={$plv['ps_id']}");?>" class="<?php if ($plv['ps_id']==$curr_ps) echo 'active'?>"><?php echo $plv['name']?></a>
  157. </dd>
  158. <?php endforeach;?>
  159. </dl>
  160. <dl>
  161. <dt ps-type="3">个性化学习宝</dt>
  162. <?php foreach ($product_list[3] as $plk=>$plv):?>
  163. <dd>
  164. <a is-default="<?php echo $plv['is_default']?>" ps-id="<?php echo $plv['product_type'].'_'.$plv['ps_id']?>" href="<?php echo $this->createUrl("productset/oldSet?psId={$plv['ps_id']}");?>" class="<?php if ($plv['ps_id']==$curr_ps) echo 'active'?>"><?php echo $plv['name']?></a>
  165. </dd>
  166. <?php endforeach;?>
  167. </dl>
  168. <?php endif;?>
  169. <?php if($subject_id==8):?>
  170. <dl>
  171. <dt ps-type="6">个性化学习宝设置</dt>
  172. <?php
  173. if(isset($customConfig['english_3'])):
  174. ?>
  175. <?php foreach ($customConfig['english_3'] as $plk=>$plv):?>
  176. <dd>
  177. <a is-default="<?php echo $plv['is_default']?>" ps-id="<?php echo $plv['product_type'].'_'.$plv['ps_id']?>" href="<?php echo $this->createUrl("productset/index?psId={$plv['ps_id']}");?>" class="<?php if ($plv['ps_id']==$curr_ps) echo 'active'?>"><?php echo $plv['name']?></a>
  178. </dd>
  179. <?php endforeach;endif;?>
  180. </dl>
  181. <dl>
  182. <dt ps-type="7">晨读词汇</dt>
  183. <?php
  184. if(isset($customConfig['english_4'])):
  185. ?>
  186. <?php foreach ($customConfig['english_4'] as $plk=>$plv):?>
  187. <dd>
  188. <a is-default="<?php echo $plv['is_default']?>" ps-id="<?php echo $plv['product_type'].'_'.$plv['ps_id']?>" href="<?php echo $this->createUrl("productset/oldSet?psId={$plv['ps_id']}");?>" class="<?php if ($plv['ps_id']==$curr_ps) echo 'active'?>"><?php echo $plv['name']?></a>
  189. </dd>
  190. <?php endforeach;endif;?>
  191. </dl>
  192. <?php endif;?>
  193. </div>
  194. <!-- 左侧菜单结束 -->
  195. <!-- 错题本设置内容开始 -->
  196. <div class="fl product-setting" style="display: block;" >
  197. <form action="" id="set-data" name="set-data">
  198. <input type="hidden" name="ps_id" value="<?php echo $set_info['ps_id']?>">
  199. <input type="hidden" name="ps_type" value="<?php echo $set_info['product_type']?>" id="ps_type">
  200. <input type="hidden" name="subject_id" value="<?php echo $subject_id?>">
  201. <?php if($subject_id==3): ?>
  202. <div class="setting-title clearfix">
  203. <span class="fl">设置内容</span>
  204. <em class="fr preview">预览</em>
  205. </div>
  206. <p class="words-gray">系统会根据您的设置生成产品,点击“预览”查看效果</p>
  207. <?php if($set_info['product_type']=='1' || $set_info['product_type']=='2' || $set_info['product_type']=='3'):?>
  208. <div class="show-content clearfix" index-id="1">
  209. <input type="hidden" name="show_map" value="<?php echo $set_info['show_map']?>">
  210. <div class="fl">显示成长轨迹<em index-id="1">?</em></div>
  211. <div class="fr show-btn"><span class="<?php if ($set_info['show_map']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  212. </div>
  213. <div class="show-content clearfix" index-id="2">
  214. <input type="hidden" name="show_kp" value="<?php echo $set_info['show_kp']?>">
  215. <div class="fl">显示知识点掌握分析<em index-id="2">?</em></div>
  216. <div class="fr show-btn"><span class="<?php if ($set_info['show_kp']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  217. </div>
  218. <?php endif;?>
  219. <?php if($set_info['product_type']=='1' || $set_info['product_type']=='3'):?>
  220. <div class="show-content clearfix" index-id="3">
  221. <input type="hidden" name="show_wrg_origin" value="<?php echo $set_info['show_wrg_origin']?>">
  222. <div class="fl">显示错题原型<em index-id="3">?</em></div>
  223. <div class="fr show-btn"><span class="<?php if ($set_info['show_wrg_origin']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  224. </div>
  225. <div class="show-content clearfix" index-id="4">
  226. <input type="hidden" name="show_wrg_analyze" value="<?php echo $set_info['show_wrg_analyze']?>">
  227. <div class="fl">显示错因分析<em index-id="4">?</em></div>
  228. <div class="fr show-btn"><span class="<?php if ($set_info['show_wrg_analyze']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  229. </div>
  230. <div class="show-content clearfix" index-id="5">
  231. <input type="hidden" name="show_guide" value="<?php echo $set_info['show_guide']?>">
  232. <div class="fl">显示名师指导<em index-id="5">?</em></div>
  233. <div class="fr show-btn"><span class="<?php if ($set_info['show_guide']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  234. </div>
  235. <div class="show-content clearfix" index-id="17">
  236. <input type="hidden" name="show_classmate_optimization" value="<?php echo $set_info['show_classmate_optimization']?>">
  237. <div class="fl">显示同学优解<em index-id="17">?</em></div>
  238. <div class="fr show-btn"><span class="<?php if ($set_info['show_classmate_optimization']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  239. </div>
  240. <?php endif;?>
  241. <?php if($set_info['product_type']=='3'):?>
  242. <div class="show-content clearfix" index-id="12">
  243. <input type="hidden" name="show_wrg_answer" value="<?php echo $set_info['show_wrg_answer']?>">
  244. <div class="fl">错题答案显示在错题下方<em index-id="12">?</em></div>
  245. <div class="fr show-btn"><span class="<?php if ($set_info['show_wrg_answer']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  246. </div>
  247. <!-- <p style="color: #aaaaaa">(仅适用于三步个性化学习宝)</p>-->
  248. <?php endif;?>
  249. <?php if($set_info['product_type']=='2' || $set_info['product_type']=='3'):?>
  250. <div class="show-content clearfix" index-id="13">
  251. <input type="hidden" name="push_question_upgrade" value="<?php echo $set_info['push_question_upgrade']?>">
  252. <div class="fl">推送题升级<em index-id="13">?</em></div>
  253. <div class="fr show-btn"><span class="<?php if ($set_info['push_question_upgrade']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  254. </div>
  255. <!-- <p style="color: #aaaaaa">(仅适用于三步个性化学习宝)</p>-->
  256. <?php endif;?>
  257. <?php if($set_info['product_type']=='2'):?>
  258. <div class="show-content clearfix">
  259. <input type="hidden" name="show_isp_wrong_answer" value="<?php echo $set_info['show_isp_wrong_answer']?>">
  260. <div class="fl">错题答案解析</div>
  261. <div class="fr show-btn"><span class="<?php if ($set_info['show_isp_wrong_answer']=='1'){echo 'on' ;} else{echo 'off';}?>"></span></div>
  262. </div>
  263. <!-- <p style="color: #aaaaaa">(仅适用于三步个性化学习宝)</p>-->
  264. <?php endif;?>
  265. <?php if($set_info['product_type']=='2' || $set_info['product_type']=='3'):?>
  266. <div class="show-content" index-id="6">
  267. <div class="clearfix">
  268. <div class="fl">版本选择</div>
  269. <!-- <div class="fr words-gray">请选择需要减少题量的学生</div>-->
  270. </div>
  271. <div class="set-top-kps clearfix">
  272. <div class="clearfix">
  273. <label class="">
  274. <input name="show_level" type="radio" value="0" <?php if($set_info['show_level'] == 0) echo 'checked'?>/>
  275. 个性化版(相同错题推送不同提分题)<em index-id="6">?</em>
  276. </label>
  277. </div>
  278. <div class="clearfix">
  279. <label class="">
  280. <input name="show_level" type="radio" value="1" <?php if($set_info['show_level'] == 1) echo 'checked'?>/>
  281. 分层版(相同错题推送相同提分题)<em index-id="6">?</em>
  282. </label>
  283. </div>
  284. <div class="clearfix">
  285. <label class="">
  286. <input name="show_level" type="radio" value="2" <?php if($set_info['show_level'] == 2) echo 'checked'?>/>
  287. 题组训练个性化学习宝(以薄弱知识点推题)<em index-id="11">?</em>
  288. </label>
  289. </div>
  290. </div>
  291. <!-- <p class="words-red">(目前只支持学困生使用)</p>-->
  292. </div>
  293. <div class="show-content level-rule <?php echo ($set_info['show_level'] == 1)?'':'div-hide';?>" index-id="16">
  294. <div class="clearfix">
  295. <div class="fl">分层规则</div>
  296. <!-- <div class="fr words-gray">请选择需要减少题量的学生</div>-->
  297. </div>
  298. <div class="set-top-kps clearfix">
  299. <div class="clearfix">
  300. <label class="">
  301. <input name="level_rule" type="radio" value="0" <?php if($set_info['level_rule'] == 0) echo 'checked'?>/>
  302. 第1题相同层次学生推送相同,第2题个性化
  303. </label>
  304. </div>
  305. <div class="clearfix">
  306. <label class="">
  307. <input name="level_rule" type="radio" value="1" <?php if($set_info['level_rule'] == 1) echo 'checked'?>/>
  308. 第1题全班学生推送相同,第2题个性化
  309. </label>
  310. </div>
  311. </div>
  312. <!-- <p class="words-red">(目前只支持学困生使用)</p>-->
  313. </div>
  314. <!-- <div class="show-content clearfix" index-id="6">-->
  315. <!-- <input type="hidden" name="show_level" value="--><?php //echo $set_info['show_level']?><!--">-->
  316. <!-- <div class="fl">提分题分层<em index-id="6">?</em></div>-->
  317. <!-- <div class="fr show-btn"><span class="--><?php //if ($set_info['show_level']=='1'){echo 'on' ;} else{echo 'off';}?><!--"></span></div>-->
  318. <!-- </div>-->
  319. <!---->
  320. <!-- <div class="show-content clearfix" index-id="11">-->
  321. <!-- <input type="hidden" name="show_top" value="--><?php //echo $set_info['show_top']?><!--">-->
  322. <!-- <div class="fl">题组训练个性化学习宝<em index-id="11">?</em></div>-->
  323. <!-- <div class="fr show-btn"><span class="--><?php //if ($set_info['show_top']=='1'){echo 'on' ;} else{echo 'off';}?><!--"></span></div>-->
  324. <!-- </div>-->
  325. <!-- <p style="color: #aaaaaa">(仅适用于尖子生和优秀生)</p>-->
  326. <?php endif;?>
  327. <?php if(in_array($set_info['product_type'],array(2,3))):?>
  328. <?php
  329. if(isset($set_info['show_top'])){
  330. $set_info['show_top'] = explode('|',$set_info['show_top']);
  331. }else{
  332. $set_info['show_top'] = array();
  333. }
  334. if(isset($set_info['top_kps'])){
  335. $set_info['top_kps'] = explode('|',$set_info['top_kps']);
  336. $_top_kps = array();
  337. foreach (array(1,2,3,4) as $v){
  338. if(isset($set_info['top_kps'][$v - 1])){
  339. $_top_kps[$v] = $set_info['top_kps'][$v - 1];
  340. }else{
  341. $_top_kps[$v] = 5;
  342. }
  343. }
  344. $set_info['top_kps'] = $_top_kps;
  345. }else{
  346. $set_info['top_kps'] = array(5,5,5,5);
  347. }
  348. ?>
  349. <div class="show-content <?php echo ($set_info['show_level'] == 2)?'':'div-hide';?>" index-id="10" id="showTopKps">
  350. <div class="clearfix">
  351. <div class="fl">题组训练个性化学习宝<em index-id="10">?</em></div>
  352. <!-- <div class="fr words-gray">请选择需要减少题量的学生</div>-->
  353. </div>
  354. <div class="set-top-kps clearfix">
  355. <input type="hidden" value="<?php echo implode('|',$set_info['top_kps']);?>" name="old_top_kps">
  356. <?php
  357. $topicGroup = array(
  358. array(
  359. 'name' => '尖子生:',
  360. 'level' => 1,
  361. ),
  362. array(
  363. 'name' => '优秀生:',
  364. 'level' => 2,
  365. ),
  366. array(
  367. 'name' => '中档生:',
  368. 'level' => 3,
  369. ),
  370. array(
  371. 'name' => '学困生:',
  372. 'level' => 4,
  373. ),
  374. );
  375. ?>
  376. <?php foreach ($topicGroup as $key => $value):?>
  377. <div class="clearfix">
  378. <label class="fl">
  379. <input class="show_top_input" type="checkbox" name="show_top[]" value="<?php echo $value['level'];?>" <?php if(in_array($value['level'],$set_info['show_top'])) echo 'checked'?> />
  380. <?php echo $value['name'];?>
  381. </label>
  382. <?php foreach (array(3,4,5) as $v):?>
  383. <label class="fl"><input name="top_kps_<?php echo $value['level'];?>" type="radio" value="<?php echo $v;?>" <?php if(isset($set_info['top_kps'][$value['level']]) && $set_info['top_kps'][$value['level']] == $v) echo 'checked'?> <?php if(!in_array($value['level'],$set_info['show_top'])) echo 'disabled'?>/><?php echo $v;?>个</label>
  384. <?php endforeach;?>
  385. </div>
  386. <?php endforeach;?>
  387. </div>
  388. <!-- <p class="words-red">(目前只支持学困生使用)</p>-->
  389. </div>
  390. <?php endif;?>
  391. <?php if(in_array($set_info['product_type'],array(1,2,3))):?>
  392. <div class="show-content <?php echo ( in_array($set_info['show_level'],array(0,1)) || $set_info['product_type'] == 1)?'':'div-hide';?>" index-id="7" id="showTz">
  393. <div class="clearfix">
  394. <div class="fl">拓展训练题<em index-id="7">?</em></div>
  395. <div class="fr words-gray">请从下方选择需要使用的学生</div>
  396. </div>
  397. <div class="set-user clearfix">
  398. <label class="fl"><input type="checkbox" name="st_tuozhan[]" value="1" <?php if(in_array(1,explode('|',$set_info['st_tuozhan']))) echo 'checked'?> />尖子生使用</label>
  399. <label class="fl"><input type="checkbox" name="st_tuozhan[]" value="2" <?php if(in_array(2,explode('|',$set_info['st_tuozhan']))) echo 'checked'?> />优秀生使用</label>
  400. <label class="fl"><input type="checkbox" name="st_tuozhan[]" value="3" <?php if(in_array(3,explode('|',$set_info['st_tuozhan']))) echo 'checked'?> />中档生使用</label>
  401. <label class="fl"><input type="checkbox" name="st_tuozhan[]" value="4" <?php if(in_array(4,explode('|',$set_info['st_tuozhan']))) echo 'checked'?>/>学困生使用</label>
  402. </div>
  403. </div>
  404. <?php endif;?>
  405. <div class="show-content <?php echo ( in_array($set_info['show_level'],array(0,1)) || $set_info['product_type'] == 1)?'':'div-hide';?>" index-id="8" id="wrongNum">
  406. <?php
  407. $st_wrong = explode('|',$set_info['st_wrong']);
  408. $select_option = array(0,3,4,5,6,7,8);
  409. ?>
  410. <div class="clearfix">
  411. <div class="fl">错题数量<em index-id="8">?</em></div>
  412. <div class="fr words-gray">请选择需要过滤难题的学生</div>
  413. </div>
  414. <div class="set-user clearfix">
  415. <div>
  416. <label class="">尖子生</label>
  417. <select name="st_wrong[]" >
  418. <?php foreach ($select_option as $item):?>
  419. <?php if($item == 0):?>
  420. <option <?php echo (isset($st_wrong[0]) && $st_wrong[0] == $item)?'selected="selected"':"";?> value="<?php echo $item;?>">全部做错的题</option>
  421. <?php else:?>
  422. <option <?php echo (isset($st_wrong[0]) && $st_wrong[0] == $item)?'selected="selected"':"";?> value="<?php echo $item;?>">最多<?php echo $item;?>道</option>
  423. <?php endif;?>
  424. <?php endforeach;?>
  425. </select>
  426. </div>
  427. <div>
  428. <label class="">优秀生</label>
  429. <select name="st_wrong[]" >
  430. <?php foreach ($select_option as $item):?>
  431. <?php if($item == 0):?>
  432. <option <?php echo (isset($st_wrong[1]) && $st_wrong[1] == $item)?'selected="selected"':"";?> value="<?php echo $item;?>">全部做错的题</option>
  433. <?php else:?>
  434. <option <?php echo (isset($st_wrong[1]) && $st_wrong[1] == $item)?'selected="selected"':"";?> value="<?php echo $item;?>">最多<?php echo $item;?>道</option>
  435. <?php endif;?>
  436. <?php endforeach;?>
  437. </select>
  438. </div>
  439. <div>
  440. <label class="">中档生</label>
  441. <select name="st_wrong[]" >
  442. <?php foreach ($select_option as $item):?>
  443. <?php if($item == 0):?>
  444. <option <?php echo (isset($st_wrong[2]) && $st_wrong[2] == $item)?'selected="selected"':"";?> value="<?php echo $item;?>">全部做错的题</option>
  445. <?php else:?>
  446. <option <?php echo (isset($st_wrong[2]) && $st_wrong[2] == $item)?'selected="selected"':"";?> value="<?php echo $item;?>">最多<?php echo $item;?>道</option>
  447. <?php endif;?>
  448. <?php endforeach;?>
  449. </select>
  450. </div>
  451. <div>
  452. <label class="">学困生</label>
  453. <select name="st_wrong[]" >
  454. <?php foreach ($select_option as $item):?>
  455. <?php if($item == 0):?>
  456. <option <?php echo (isset($st_wrong[3]) && $st_wrong[3] == $item)?'selected="selected"':"";?> value="<?php echo $item;?>">全部做错的题</option>
  457. <?php else:?>
  458. <option <?php echo (isset($st_wrong[3]) && $st_wrong[3] == $item)?'selected="selected"':"";?> value="<?php echo $item;?>">最多<?php echo $item;?>道</option>
  459. <?php endif;?>
  460. <?php endforeach;?>
  461. </select>
  462. </div>
  463. </div>
  464. <p class="words-red">(过滤后,则学生的错题本只收录中档和基础题)</p>
  465. </div>
  466. <?php if($set_info['product_type']=='2' || $set_info['product_type']=='3'):?>
  467. <div class="show-content <?php echo ( in_array($set_info['show_level'],array(0,1)) || $set_info['product_type'] == 1)?'':'div-hide';?>" index-id="9" id="showJs">
  468. <div class="clearfix">
  469. <div class="fl">减少提分题<em index-id="9">?</em></div>
  470. <div class="fr words-gray">请选择需要减少题量的学生</div>
  471. </div>
  472. <div class="set-user clearfix">
  473. <label class="fl"><input name="st_reduce[]" type="checkbox" value="1" <?php if(in_array(1,explode('|',$set_info['st_reduce']))) echo 'checked'?> />尖子生</label>
  474. <label class="fl"><input name="st_reduce[]" type="checkbox" value="2" <?php if(in_array(2,explode('|',$set_info['st_reduce']))) echo 'checked'?> />优秀生</label>
  475. <label class="fl"><input name="st_reduce[]" type="checkbox" value="3" <?php if(in_array(3,explode('|',$set_info['st_reduce']))) echo 'checked'?> />中档生</label>
  476. <label class="fl"><input name="st_reduce[]" type="checkbox" value="4" <?php if(in_array(4,explode('|',$set_info['st_reduce']))) echo 'checked'?> />学困生</label>
  477. </div>
  478. <!-- <p class="words-red">(目前只支持学困生使用)</p>-->
  479. </div>
  480. <?php endif;?>
  481. <?php else: ?>
  482. <div class="show-content <?php echo ( in_array($set_info['show_level'],array(0,1)) || $set_info['product_type'] == 1)?'':'div-hide';?>" index-id="8" id="wrongNum">
  483. <?php
  484. $st_wrong = explode('|',$set_info['st_wrong']);
  485. $value['0']='';
  486. $value['1']='';
  487. if($st_wrong && $st_wrong[0]==0){
  488. $value['0']='selected';
  489. }else{
  490. $value['1']='selected';
  491. }
  492. ?>
  493. <div class="clearfix">
  494. <div class="fl">错题数量<em index-id="8">?</em></div>
  495. <div class="fr words-gray"></div>
  496. </div>
  497. <div class="set-user clearfix">
  498. <div>
  499. <select name="st_wrong" >
  500. <option value="0" <?php echo $value[0] ?>>默认数量</option>
  501. <option value="1" <?php echo $value[1] ?>>全部错题</option>
  502. </select>
  503. </div>
  504. </div>
  505. </div>
  506. <?php endif;?>
  507. </form>
  508. <div class="layer-btn" style="margin-top: 25px;float: left">
  509. <a href="#" onclick="edit()">保存</a>
  510. </div>
  511. <!-- 预览界面开始 -->
  512. <div class="product-preview">
  513. <div class="tab-track show-1">
  514. <!-- 成长轨迹 -->
  515. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  516. <div>
  517. <img src="/images/productset/01.jpg">
  518. </div>
  519. <h3 class="introduce">简介</h3>
  520. <div class="introduce-content">
  521. <p>
  522. 成长轨迹包括“考试排名变化趋势图”和“考试成绩变化趋势图”两部分。统计本学期最近最多15场考试的情况,从排名和得分率两个角度去反映学生的变化情况和发展趋势。
  523. </p>
  524. <div class="clearfix">
  525. <h4>1、本学期考试排名变化趋势图</h4>
  526. <div>横坐标表示考试时间,纵坐标表示本次考试学生的班级排名。</div>
  527. </div>
  528. <div class="clearfix">
  529. <h4>2、本学期考试成绩变化趋势图</h4>
  530. <div>该图反映历次考试得分率的变化情况(得分率=得分/满分)。横坐标分别表示考试的个人得分/总分,以及考试日期。纵坐标表示考试的得分率。</div>
  531. </div>
  532. </div>
  533. </div>
  534. <div class="analysis show-2">
  535. <!-- 知识点掌握分析 -->
  536. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  537. <div>
  538. <img src="/images/productset/02.png">
  539. </div>
  540. <div>
  541. <img src="/images/productset/02-2.png" >
  542. </div>
  543. <h3 class="introduce">简介</h3>
  544. <div class="introduce-content">
  545. <p>知识点掌握分析包括“优势知识点概览”、“优势知识点超越人数比例”、“失分知识点掌握情况对比图“三部分。</p>
  546. <div class="clearfix">
  547. <h4 class="font-bold">1、优势知识点概览</h4>
  548. <div>该图反映在本次考试中学生的优势知识点。优势知识点根据得分率差这个指标产生,Z=个人得分率-班级得分率,Z值越大说明学生在该知识点优势越大。<br>另外,有些学生的优势知识点得分率比班级平均得分率低属于正常现象。因为与其他知识点相比,学生在这个知识点上的得分率与班级平均得分率相比差距更小,因此也属于学生的优势知识点。</div>
  549. </div>
  550. <div class="clearfix">
  551. <h4 class="font-bold">2、优势知识点超越人数比例</h4>
  552. <div>打败人数比例=知识点得分率比本人低的学生人数/班级考试总人数。</div>
  553. </div>
  554. <div class="clearfix">
  555. <h4 class="font-bold">3、失分知识点掌握情况对比图</h4>
  556. <div>该图显示学生在本次考试中丢分的知识点。黑色表示个人得分率,灰色表示班级平级得分率。</div>
  557. </div>
  558. </div>
  559. </div>
  560. <div class="prototype show-3">
  561. <!-- 错题原型 -->
  562. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  563. <div>
  564. <img src="/images/productset/03.png" >
  565. </div>
  566. <h3 class="introduce">简介</h3>
  567. <div class="introduce-content">
  568. <p>错题原型记录学生的作答笔迹,省去学生手工整理试卷的麻烦。复习阶段,学生可通过查看以前的解答步骤进行对照、反思,有利于学生从错题中总结自身的解题误区,从而实现知识点掌握水平的突破。<em class="words-hot">建议所有的学生保留错题原型。</em></p>
  569. </div>
  570. </div>
  571. <div class="reason show-4">
  572. <!-- 错因分析 -->
  573. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  574. <div>
  575. <img src="/images/productset/04.png" >
  576. </div>
  577. <h3 class="introduce">简介</h3>
  578. <div class="introduce-content">
  579. <p>错因分析列举了7种常见失分原因供学生自我总结,与错题原型搭配使用。</p>
  580. </div>
  581. </div>
  582. <div class="direct show-5">
  583. 名师指导
  584. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  585. <div>
  586. <img src="/images/productset/05.png" >
  587. </div>
  588. <h3 class="introduce">简介</h3>
  589. <div class="introduce-content">
  590. <p>名师指导收录的是全国各地名校名师,针对当前考题提供的经典解题思路。首先抓住问题的关键,指出所考察的知识点。 第二, 分析已知条件。 第三, 寻找解决问题的突破口。建议所有的学生保留名师指导。</p>
  591. </div>
  592. </div>
  593. <div class="expand show-11">
  594. <!-- 题组训练个性化学习宝 -->
  595. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  596. <div>
  597. <img src="/images/productset/11.jpg" >
  598. </div>
  599. <h3 class="introduce">简介</h3>
  600. <div class="introduce-content">
  601. <h4 class="font-bold">一、什么是题组训练个性化学习宝?</h4>
  602. <p>个性化学习宝提供两种推题方式,一种是根据错题推题,另一种是根据知识点推题。题组训练个性化学习宝是按知识点来推送题。</p>
  603. <h4 class="font-bold">二、推送规则是什么?</h4>
  604. <p>
  605. 从本次考试所涉及的知识点中取学生的薄弱知识点和班级典型薄弱知识点,保证总共不超过5个薄弱知识点。每个知识点分两层共推送6道题:
  606. <br/>第一层为提升训练,共3道题,推送中档偏难的题;<br/>第二层为拓展训练,共3道题,推送难或超难的题;
  607. <br/><span style="color: #aaaaaa">(若知识点≦3个,则每个知识点推送10道题)</span>
  608. </p>
  609. <h4 class="font-bold">三、哪些学生可以使用题组训练个性化学习宝?</h4>
  610. <!-- <p>目前只针对班上的尖子生和优秀生</p>-->
  611. <div class="student-words">学生层次划分标准</div>
  612. <table class="students-dis">
  613. <thead>
  614. <tr>
  615. <td>学生层次</td>
  616. <td>划分标准(最近8次考试)</td>
  617. </tr>
  618. </thead>
  619. <tbody>
  620. <tr>
  621. <td>尖子生</td>
  622. <td>平均得分率≧90%</td>
  623. </tr>
  624. <tr>
  625. <td>优秀生</td>
  626. <td>80%≦平均得分率<90%</td>
  627. </tr>
  628. <tr>
  629. <td>中档生</td>
  630. <td>60%≦平均得分率<80%</td>
  631. </tr>
  632. <tr>
  633. <td>学困生</td>
  634. <td>平均得分率<60%</td>
  635. </tr>
  636. </tbody>
  637. </table>
  638. </div>
  639. </div>
  640. <div class="expand show-7">
  641. <!-- 拓展训练题 -->
  642. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  643. <div>
  644. <img src="/images/productset/06.png" >
  645. </div>
  646. <h3 class="introduce">简介</h3>
  647. <div class="introduce-content">
  648. <h4 class="font-bold">一、错题本包含哪些内容?</h4>
  649. <p>一般情况,错题本收录本场考试学生自己的全部错题,按照试卷中的对应题号依次排列。考满分的同学没有错题怎么办?尖子生和优秀生错题很少怎么办?为了更全面发挥错题本的效能,校本课程平台推出了拓展训练题。拓展训练题既不是学生做错的题,也不是试卷上考的题,是为表现优异的学生专门挑选系统额外给予拓展训练题;</p>
  650. <h4 class="font-bold">二、哪些学生可以获得拓展训练题?</h4>
  651. <div class="clearfix">
  652. <span class="fl sort-num">第1类:</span>
  653. <p>只要是考满分的同学(错题本没有错题),可以提供3道拓展训练题给予学生练习</p>
  654. </div>
  655. <div class="clearfix">
  656. <span class="fl sort-num">第2类:</span>
  657. <p>尖子生和优秀生(即100分的卷子每次都能考80分以上)<br/>错题本:除了收录个人的全部错题,额外补充0~3道拓展训练题,但总量不超过8道<br/>例如,小明是个学霸,错题有2道,那么补充3道拓展训练,小明最终的错题本是5道题<br/>假如小明的错题有6道,那么只能补充2道拓展训练,因为总量不能超过8道</p>
  658. </div>
  659. <div class="clearfix">
  660. <span class="fl sort-num">第3类:</span>
  661. <p>中档生和学困生(偶尔有1次考的很好,错题少于3道)<br/>错题本:除了收录个人的全部错题,额外补充1~2道拓展训练题,使错题本至少有3道题</p>
  662. </div>
  663. <div class="student-words">学生层次划分标准</div>
  664. <table class="students-dis">
  665. <thead>
  666. <tr>
  667. <td>学生层次</td>
  668. <td>划分标准(最近8次考试)</td>
  669. </tr>
  670. </thead>
  671. <tbody>
  672. <tr>
  673. <td>尖子生</td>
  674. <td>平均得分率≧90%</td>
  675. </tr>
  676. <tr>
  677. <td>优秀生</td>
  678. <td>80%≦平均得分率<90%</td>
  679. </tr>
  680. <tr>
  681. <td>中档生</td>
  682. <td>60%≦平均得分率<80%</td>
  683. </tr>
  684. <tr>
  685. <td>学困生</td>
  686. <td>平均得分率<60%</td>
  687. </tr>
  688. </tbody>
  689. </table>
  690. </div>
  691. </div>
  692. <div class="expand show-7-2">
  693. <!-- 拓展训练题 -->
  694. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  695. <div>
  696. <img src="/images/productset/09.png" >
  697. </div>
  698. <h3 class="introduce">简介</h3>
  699. <div class="introduce-content">
  700. <h4 class="font-bold">一、“1+1”拓展训练</h4>
  701. <p>对于成绩好,“吃不饱”的学生,提供【拓展训练题】,每道拓展训练题再搭配【提分训练题】,这就是提分“1+1”</p>
  702. <h4 class="font-bold">二、哪些学生可以获得拓展训练题?</h4>
  703. <div class="clearfix">
  704. <span class="fl sort-num">第1类:</span>
  705. <p>考满分的同学,错题本没有错题,可以提供3道拓展训练题给予学生练习</p>
  706. </div>
  707. <div class="clearfix">
  708. <span class="fl sort-num">第2类:</span>
  709. <p>尖子生和优秀生(即100分的卷子每次都能考80分以上)<br/>错题本:除了收录个人的全部错题,额外补充0~3道拓展训练题,但总量不超过8道<br/>例如,小明是个学霸,错题有2道,那么补充3道拓展训练,小明最终的错题本是5道题<br/>假如小明的错题有6道,那么只能补充2道拓展训练,因为总量不能超过8道</p>
  710. </div>
  711. <div class="clearfix">
  712. <span class="fl sort-num">第3类:</span>
  713. <p>中档生和学困生(偶尔有1次考的很好,错题少于3道)<br/>错题本:除了收录个人的全部错题,额外补充1~2道拓展训练题,使错题本至少有3道题</p>
  714. </div>
  715. </div>
  716. </div>
  717. <div class="reduce show-8">
  718. <!-- 减少提分题 -->
  719. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  720. <div>
  721. <img src="/images/productset/07.png" >
  722. </div>
  723. <h3 class="introduce">简介</h3>
  724. <div class="introduce-content">
  725. <h4 class="font-bold">一、怎么设置错题数量?</h4>
  726. <p>提供两种方式来控制学生的错题数量,规则如下</p>
  727. <table class="students-dis">
  728. <thead>
  729. <tr>
  730. <td>选项</td>
  731. <td>说明</td>
  732. </tr>
  733. </thead>
  734. <tbody>
  735. <tr>
  736. <td>全部做错的题</td>
  737. <td>错题本、个性化学习宝将显示学生个人的全部错题</td>
  738. </tr>
  739. <tr>
  740. <td>最多X道</td>
  741. <td>从学生的全部个人错题中,按照难度由易到难取前X道,显示在错题本、个性化学习宝的错题整理中</td>
  742. </tr>
  743. </tbody>
  744. </table>
  745. <p class="words-red">注意:错题数量统一在当前入口设置,设置后,错题本、个性化学习方案、个性化学习宝的错题数量全部按设置数量生成。</p>
  746. </div>
  747. </div>
  748. <div class="layered show-6">
  749. <!-- 提分题分层 -->
  750. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  751. <div>
  752. <img src="/images/productset/08.png" >
  753. </div>
  754. <h3 class="introduce">简介</h3>
  755. <div class="introduce-content">
  756. <h4 class="font-bold">一、提分训练是什么?</h4>
  757. <p>根据本场考试学生的错题,推送与错题相似的练习题。</p>
  758. <h4 class="font-bold">二、什么是提分题的分层?</h4>
  759. <p>校本课程平台大数据分析系统根据学生最近8场考试的成绩,划分学生的能力层次,为学生提供个性化的搭配,我们称为个性化版本,是个性化学习宝的默认版本。</p>
  760. <div class="student-words font-bold">个性化版</div>
  761. <table class="students-dis">
  762. <thead>
  763. <tr>
  764. <td>学生层次</td>
  765. <td>划分标准(最近8次考试)</td>
  766. <td>推送题的题量配置</td>
  767. <td>推送题的难度配置</td>
  768. </tr>
  769. </thead>
  770. <tbody>
  771. <tr>
  772. <td>尖子生</td>
  773. <td>平均得分率≧90%</td>
  774. <td>错题全部1配2</td>
  775. <td>第1题与错题难度相同,第2题比错题难一个等级</td>
  776. </tr>
  777. <tr>
  778. <td>优秀生</td>
  779. <td>80%≦平均得分率<90%</td>
  780. <td>小题1配2,大题1配1</td>
  781. <td>小题同上,大题只推送1道比错题难一个等级的</td>
  782. </tr>
  783. <tr>
  784. <td>中档生</td>
  785. <td>60%≦平均得分率<80%</td>
  786. <td>小题1配2,大题1配1</td>
  787. <td>小题同上,大题只推送1道与错题难度相同的题</td>
  788. </tr>
  789. <tr>
  790. <td>学困生</td>
  791. <td>平均得分率<60%</td>
  792. <td>小题1配2,大题1配1</td>
  793. <td>第1题比错题难度低一个等级,第2题与错题难度相同</td>
  794. </tr>
  795. </tbody>
  796. </table>
  797. <p class="font-bold">个性化版要求尽量为不同学生推送不同的试题,特点是最大限度的个性化,适合于<em class="words-hot">学生自主练习</em></p>
  798. <div class="student-words font-bold">分层版</div>
  799. <p>分层规则1(第1题相同层次学生推送相同,第2题个性化)</p>
  800. <table class="students-dis">
  801. <thead>
  802. <tr>
  803. <td>学生层次</td>
  804. <td>划分标准</td>
  805. <td>推送题题量与难度配置</td>
  806. <td>分层</td>
  807. </tr>
  808. </thead>
  809. <tbody>
  810. <tr>
  811. <td>尖子生</td>
  812. <td>同上</td>
  813. <td>同上</td>
  814. <td>第1题所有尖子生推送相同的题,第2题推送不同的题</td>
  815. </tr>
  816. <tr>
  817. <td>优秀生</td>
  818. <td>同上</td>
  819. <td>同上</td>
  820. <td>小题第1题及大题所有优秀生推送相同题,小题第2题推送不同的题</td>
  821. </tr>
  822. <tr>
  823. <td>中档生</td>
  824. <td>同上</td>
  825. <td>同上</td>
  826. <td>小题第1题及大题所有中档生推送相同题,小题第2题推送不同的题</td>
  827. </tr>
  828. <tr>
  829. <td>学困生</td>
  830. <td>同上</td>
  831. <td>同上</td>
  832. <td>小题第1题及大题所有学困生推送相同题,小题第2题推送不同的题</td>
  833. </tr>
  834. </tbody>
  835. </table>
  836. <p>分层规则2(第1题全班学生推送相同,第2题个性化)</p>
  837. <table class="students-dis">
  838. <thead>
  839. <tr>
  840. <td>学生层次</td>
  841. <td>划分标准</td>
  842. <td>推送题题量与难度配置</td>
  843. <td>分层</td>
  844. </tr>
  845. </thead>
  846. <tbody>
  847. <tr>
  848. <td>全班学生</td>
  849. <td>--</td>
  850. <td>各层次学生推题数量同上</td>
  851. <td>第1题全班学生推送相同的题,若有第2题则推送不同的题</td>
  852. </tr>
  853. </tbody>
  854. </table>
  855. <p class="font-bold">分层版要求同一层次的学生至少推送1道相同的题,特点是老师能针对这1道相同的题进行备课、组织讲评,适合于<em class="words-hot">将个性化学习宝应用于课堂教学</em></p>
  856. </div>
  857. </div>
  858. <div class="reduce show-9">
  859. <!-- 减少提分题 -->
  860. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  861. <div>
  862. <img src="/images/productset/10.png" >
  863. </div>
  864. <h3 class="introduce">简介</h3>
  865. <div class="introduce-content">
  866. <h4 class="font-bold">一、减少提分题</h4>
  867. <p>针对尖子生、优秀生和中等生,为了应对部分学校学生学业负担过重,学生推送题做不完的现状,增加每道题只配1道提分训练题的设置。</p>
  868. <p>为了解决经常考试不及格的学生(学困生),错题多,提分题也多,学生做不完的情况,系统会过滤掉难题,并且每道题只配1道提分训练题。</p>
  869. <div class="student-words">学生层次划分标准</div>
  870. <table class="students-dis">
  871. <thead>
  872. <tr>
  873. <td>学生层次</td>
  874. <td>划分标准(最近8次考试)</td>
  875. </tr>
  876. </thead>
  877. <tbody>
  878. <tr>
  879. <td>尖子生</td>
  880. <td>平均得分率≧90%</td>
  881. </tr>
  882. <tr>
  883. <td>优秀生</td>
  884. <td>80%≦平均得分率<90%</td>
  885. </tr>
  886. <tr>
  887. <td>中档生</td>
  888. <td>60%≦平均得分率<80%</td>
  889. </tr>
  890. <tr>
  891. <td>学困生</td>
  892. <td>平均得分率<60%</td>
  893. </tr>
  894. </tbody>
  895. </table>
  896. <p class="words-red">注意,学困生和其他三个选项设置规则的不同之处在于会先过滤掉难题,再减少题量。用户可以同时选择多个选项设置。</p>
  897. </div>
  898. </div>
  899. <div class="reduce show-12">
  900. <!-- 减少提分题 -->
  901. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  902. <div>
  903. <img src="/images/productset/12.png" >
  904. </div>
  905. <h3 class="introduce">简介</h3>
  906. <div class="introduce-content">
  907. <p>由于是个性化学习宝,重点在提分题的训练上,所以提供了方便学生查看错题答案解析的设置项。设置后,可以直接查看到错题以及错题答案与解析。让学生重点放在拓展训练上。建议本班优秀生和尖子生超过70%的可以打开该设置项。
  908. </p>
  909. </div>
  910. </div>
  911. <div class="reduce show-10">
  912. <!-- 知识点数量 -->
  913. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  914. <h3 class="introduce">简介</h3>
  915. <div class="introduce-content">
  916. <p>
  917. 目前默认的薄弱点的个数为5个,对于不同等级的学生,所需要掌握
  918. 的薄弱点个数也不一致,个性化学习宝针对不同学校、不同班级的所有学生,
  919. 系统根据薄弱点个数,来使学生更专注于夯实基础,弥补漏洞。
  920. </p>
  921. <div class="student-words">学生层次划分标准</div>
  922. <table class="students-dis">
  923. <thead>
  924. <tr>
  925. <td>学生层次</td>
  926. <td>划分标准(最近8次考试)</td>
  927. </tr>
  928. </thead>
  929. <tbody>
  930. <tr>
  931. <td>尖子生</td>
  932. <td>平均得分率≧90%</td>
  933. </tr>
  934. <tr>
  935. <td>优秀生</td>
  936. <td>80%≦平均得分率<90%</td>
  937. </tr>
  938. <tr>
  939. <td>中档生</td>
  940. <td>60%≦平均得分率<80%</td>
  941. </tr>
  942. <tr>
  943. <td>学困生</td>
  944. <td>平均得分率<60%</td>
  945. </tr>
  946. </tbody>
  947. </table>
  948. </div>
  949. </div>
  950. <div class="all-preview">
  951. <h3 class="clearfix">示意图 <em class="close-tab fr">×</em></h3>
  952. <img src="/images/productset/00.png">
  953. <div>
  954. <img src="/images/productset/01.jpg" class="img-1" style="display: none">
  955. <img src="/images/productset/02.png" class="img-2" style="display: none">
  956. <img src="/images/productset/02-2.png" class="img-2" style="display: none">
  957. <?php if ($set_info['product_type']=='1' || $set_info['product_type']=='3'):?>
  958. <img src="/images/productset/06.png" class="img-7" style="display: none">
  959. <?php endif;?>
  960. <?php if ($set_info['product_type']=='2' || $set_info['product_type']=='3'):?>
  961. <img src="/images/productset/11.jpg" class="img-11" style="display: none">
  962. <?php endif;?>
  963. <?php if($set_info['product_type']=='2'):?>
  964. <img src="/images/productset/09.png" class="img-7-2" style="display: none">
  965. <?php endif;?>
  966. <img src="/images/productset/03.png" class="img-3" style="display: none">
  967. <img src="/images/productset/04.png" class="img-4" style="display: none">
  968. <!-- <img src="/images/productset/05.png" class="img-5" style="display: none">-->
  969. <img src="/images/productset/12-1.jpg" class="img-12" style="display: none">
  970. <img src="/images/productset/08.png" class="img-6" style="display: none">
  971. </div>
  972. </div>
  973. </div>
  974. <!-- 预览界面结束 -->
  975. </div>
  976. <div class="fl product-class">
  977. <div class="setting-title clearfix">
  978. <span class="fl">使用班级</span>
  979. <em class="fr add-class">添加班级</em>
  980. <label class="fr chk-grade-all"><input type="checkbox">全选</label>
  981. </div>
  982. <div class="class-box">
  983. <dl>
  984. <dt class="grade-name">高一</dt>
  985. <dd class="clearfix">
  986. <?php if (isset($classR_list[1])):?>
  987. <?php foreach ($classR_list[1] as $kk=>$v):?>
  988. <label class="fl class-name">
  989. <?php echo $v['class_name']?>
  990. <em class="fr" class-id="<?php echo $v['class_id']?>">×</em>
  991. </label>
  992. <?php endforeach;?>
  993. <?php endif;?>
  994. </dd>
  995. </dl>
  996. <dl>
  997. <dt class="grade-name">高二</dt>
  998. <dd class="clearfix">
  999. <?php if (isset($classR_list[2])):?>
  1000. <?php foreach ($classR_list[2] as $kk=>$v):?>
  1001. <label class="fl class-name">
  1002. <?php echo $v['class_name']?>
  1003. <em class="fr" class-id="<?php echo $v['class_id']?>">×</em>
  1004. </label>
  1005. <?php endforeach;?>
  1006. <?php endif;?>
  1007. </dd>
  1008. </dl>
  1009. <dl>
  1010. <dt class="grade-name">高三</dt>
  1011. <dd class="clearfix">
  1012. <?php if (isset($classR_list[3])):?>
  1013. <?php foreach ($classR_list[3] as $kk=>$v):?>
  1014. <label class="fl class-name">
  1015. <?php echo $v['class_name']?>
  1016. <em class="fr" class-id="<?php echo $v['class_id']?>">×</em>
  1017. </label>
  1018. <?php endforeach;?>
  1019. <?php endif;?>
  1020. </dd>
  1021. </dl>
  1022. </div>
  1023. <form action="" name="class-form" id="class-form">
  1024. <input type="hidden" name="ps_id2" value="<?php echo $set_info['ps_id']?>">
  1025. <input type="hidden" name="setType" value="<?php echo $set_info['product_type']?>">
  1026. <input type="hidden" name="subject_id" value="<?php echo $subject_id?>">
  1027. <div class="add-class-box">
  1028. <dl>
  1029. <dt class="grade-name clearfix">高一<label class="fr chk-class-all"><input type="checkbox">全选</label></dt>
  1030. <dd class="clearfix">
  1031. <?php if (isset($class_list[1])):?>
  1032. <?php foreach ($class_list[1] as $kk=>$v):?>
  1033. <label class="fl chk-class"><input name="class_id[]" type="checkbox" value="<?php echo $v['class_id']?>"><?php echo $v['class_name']?></label>
  1034. <?php endforeach;?>
  1035. <?php endif;?>
  1036. </dd>
  1037. </dl>
  1038. <dl>
  1039. <dt class="grade-name clearfix">高二<label class="fr chk-class-all"><input type="checkbox">全选</label></dt>
  1040. <dd class="clearfix">
  1041. <?php if (isset($class_list[2])):?>
  1042. <?php foreach ($class_list[2] as $kk=>$v):?>
  1043. <label class="fl chk-class"><input name="class_id[]" type="checkbox" value="<?php echo $v['class_id']?>"><?php echo $v['class_name']?></label>
  1044. <?php endforeach;?>
  1045. <?php endif;?>
  1046. </dd>
  1047. </dl>
  1048. <dl>
  1049. <dt class="grade-name clearfix">高三<label class="fr chk-class-all"><input type="checkbox">全选</label></dt>
  1050. <dd class="clearfix">
  1051. <?php if (isset($class_list[3])):?>
  1052. <?php foreach ($class_list[3] as $kk=>$v):?>
  1053. <label class="fl chk-class"><input name="class_id[]" type="checkbox" value="<?php echo $v['class_id']?>"><?php echo $v['class_name']?></label>
  1054. <?php endforeach;?>
  1055. <?php endif;?>
  1056. </dd>
  1057. </dl>
  1058. <div class="grade-btn layer-btn">
  1059. <a href="javascript:;" onclick="add_class()" id="add-class">确定</a>
  1060. <a href="javascript:;" class="cancel">取消</a>
  1061. </div>
  1062. </div>
  1063. </form>
  1064. </div>
  1065. </div>
  1066. <!-- 新增版本悬浮窗口 -->
  1067. <ul class="product-edit">
  1068. <li class="add-version">新增版本</li>
  1069. <li class="rename-version">重命名</li>
  1070. <li class="delete-version">删除</li>
  1071. </ul>
  1072. <!-- 新增版本弹层 -->
  1073. <div class="layer layer-rename">
  1074. <div class="layer-shoadow"></div>
  1075. <div class="layer-content">
  1076. <div class="layer-title clearfix">新增版本<em class="fr close">×</em></div>
  1077. <div class="new-name">
  1078. 名称:<input type="text" placeholder="请输入10个以内汉字" name="ver_name">
  1079. </div>
  1080. <div class="layer-btn rename-btn">
  1081. <button href="javascript:;" class="ok">确定</button>
  1082. <input type="hidden" class="add_subject" name="add_subject" value="<?php echo $subject_id?>">
  1083. <button href="javascript:;" class="close cancel">取消</button>
  1084. </div>
  1085. </div>
  1086. </div>
  1087. <!-- 删除版本弹层 -->
  1088. <div class="layer layer-delete">
  1089. <div class="layer-shoadow"></div>
  1090. <div class="layer-content">
  1091. <div class="layer-title clearfix">提示<em class="fr close">×</em></div>
  1092. <div class="new-name words-red">无法删除!有班级在使用该配置的版本</div>
  1093. </div>
  1094. </div>
  1095. <script src="/js/productset/jquery.min.js"></script>
  1096. <script src="/js/layer/layer.js"></script>
  1097. <script src="/js/productset/product-setting.js"></script>
  1098. <script type="text/javascript">
  1099. $(document).ready(function() {
  1100. //初始化学科
  1101. <?php if(isset(Yii::app()->params["subjectId"][$sub_id])):?>
  1102. $('.has-sel').text('<?php echo Yii::app()->params["subjectId"][$sub_id];?>');
  1103. <?php endif;?>
  1104. $(".sel-opt,.sel-cons").mouseover(function () {
  1105. $(".sel-cons").show();
  1106. }).mouseout(function () {
  1107. $(".sel-cons").hide();
  1108. });
  1109. $(".sc-lis2").click(function () {
  1110. var sub_id = $(this).attr('val');
  1111. var data = {
  1112. subjectId: sub_id
  1113. };
  1114. $.post("<?php echo Yii::app()->createUrl('print/setSubjectId')?>", data, function (flags) {
  1115. if (flags) {
  1116. location.href = "<?php echo $this->createUrl('productset/index');?>";
  1117. } else {
  1118. alert('网络异常');
  1119. }
  1120. });
  1121. $('.has-sel').text($(this).text());
  1122. $(".sel-cons").hide();
  1123. });
  1124. });
  1125. </script>
  1126. <script>
  1127. //编辑保存
  1128. function edit(){
  1129. var data = $('#set-data').serialize();
  1130. $.ajax({
  1131. type : 'post',
  1132. url : '<?php echo $this->createUrl("productset/edit");?>',
  1133. data :data,
  1134. dataType : 'json',
  1135. beforeSend : function () {
  1136. $(".loading").show().find("p").html("正在保存");
  1137. },
  1138. success : function (data) {
  1139. $(".loading").hide();
  1140. if(data.status=='1'){
  1141. layer.alert("保存成功", {icon: 6});
  1142. }else{
  1143. layer.alert("保存失败", {icon: 5});
  1144. }
  1145. },
  1146. error:function () {
  1147. $(".loading").hide();
  1148. }
  1149. });
  1150. }
  1151. function add_class() {
  1152. var obj = $('input[name="class_id[]"]:checked');
  1153. if(obj.length<=0){
  1154. layer.alert("请选择至少一个班级", {icon: 5});
  1155. return false;
  1156. }
  1157. var data = $('#class-form').serialize();
  1158. $.ajax({
  1159. type : 'post',
  1160. url : '<?php echo $this->createUrl("productset/addClass");?>',
  1161. data :data,
  1162. dataType : 'json',
  1163. beforeSend : function () {
  1164. $(".loading").show().find("p").html("正在添加");
  1165. },
  1166. success : function (data) {
  1167. if(data.status=='1'){
  1168. layer.alert("添加成功", {icon: 6},function () {
  1169. location.reload();
  1170. });
  1171. }else{
  1172. $(".loading").hide();
  1173. if(data.info!=undefined){
  1174. layer.alert(data.info, {icon: 5});
  1175. }else{
  1176. layer.alert('添加失败', {icon: 5});
  1177. }
  1178. }
  1179. },
  1180. error : function () {
  1181. $(".loading").hide();
  1182. layer.alert("添加失败", {icon: 5});
  1183. }
  1184. });
  1185. }
  1186. $('#subjectId').change(function(){
  1187. console.log($(this).val());
  1188. window.location.href='<?php echo $this->createUrl("productset/index")?>?subjectId='+$(this).val();
  1189. });
  1190. </script>
  1191. </body>
  1192. </html>