123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>初中数学教学宝</title>
- <link rel="stylesheet" href="<?php echo $zsyas2Url;?>/css/junior/teach/base.css" />
- <link rel="stylesheet" href="<?php echo $zsyas2Url;?>/css/junior/teach/reset.css" />
- <link rel="stylesheet" href="<?php echo $zsyas2Url;?>/css/junior/teach/MathTeaching.css" />
- <style>
- .title-txt {
- background: url(<?php echo $zsyas2Url;?>/images/junior/teach/part_title_bg.png) no-repeat;
- }
- .diagnosis-list li {
- background: url(<?php echo $zsyas2Url;?>/images/junior/teach/list-icon.png) no-repeat;
- }
- </style>
- </head>
- <body>
- <div class="pdf">
- <div class="heade-info">
- <h1 class="pdf-title"><?php echo $examInfo['exam_name'];?></h1>
- </div>
- <div class="content">
- <div class="part">
- <div class="part-title">
- <div class="title-txt">第一部分:学情分析</div>
- </div>
- <div class="part-content">
- <div class="topic">
- <div class="topic-one-title">
- <span>一、班级学情分析</span>
- <img src="<?php echo $zsyas2Url;?>/images/junior/teach/topic-one-title.png" alt="">
- </div>
- <!-- 班级情况分析 -->
- <div class="class-analysis">
- <div class="class-info">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr>
- <td>
- <div class="info-block">
- <div>
- <p>参加考试人数</p>
- <p><span class="bold"><?php echo $classAnalyseArr['exam_stu_num'];?></span>人<span class="bold"><?php echo $classAnalyseArr['miss_stu_num'];?></span>人缺考</p>
- </div>
- </div>
- </td>
- <td>
- <div class="info-block">
- <div>
- <p>平均得分率<span class="bold"><?php echo $classAnalyseArr['avg_score_rate'];?>%</span></p>
- <?php if($classAnalyseArr['pre_avg_rate_diff'] != 0):?>
- <p>较上次考试<?php echo $classAnalyseArr['pre_avg_rate_diff']>0?'+':'-';?><span class="bold"><?php echo abs($classAnalyseArr['pre_avg_rate_diff']);?>%</span></p>
- <?php else:?>
- <p> </p>
- <?php endif;?>
- </div>
- </div>
- </td>
- <td>
- <div class="info-block">
- <div>
- <p>平均分<span class="bold"><?php echo $classAnalyseArr['avg_scoring'];?></span>最高分<span class="bold"><?php echo $classAnalyseArr['max_scoring'];?></span>,</p>
- <p>最低分<span class="bold"><?php echo $classAnalyseArr['min_scoring'];?></span>, 满分<span class="bold"><?php echo $classAnalyseArr['full_scoring'];?></span></p>
- </div>
- </div>
- </td>
- <td>
- <div class="info-block">
- <div>
- <p>及格率<span class="bold"><?php echo $classAnalyseArr['pass_rate'];?>%</span></p>
- <p>其中得分率<span class="bold">90%</span>以上的有<span class="bold"><?php echo $classAnalyseArr['pass_rate_gt_90'];?></span>人</p>
- </div>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="class-table">
- <table class="pro">
- <tbody>
- <tr>
- <td colspan="3" class="table-title">大幅进步</td>
- </tr>
- <tr>
- <td>姓名</td>
- <td>班级排名</td>
- <td>排名提升</td>
- </tr>
- <?php if (isset($largeOrderArr['increase_stu'])): ?>
- <?php foreach ($largeOrderArr['increase_stu'] as $key => $stuId):
- $stu_order = isset($largeOrderArr['stu_order'][$stuId])?$largeOrderArr['stu_order'][$stuId]:'';
- ?>
- <tr>
- <td><?php echo isset($stuNameArr[$stuId])?$stuNameArr[$stuId]:''; ?></td>
- <td><?php echo $stu_order; ?></td>
- <td>
- <?php
- if(isset($largeOrderArr['stu_diff_order'][$stuId]) && $largeOrderArr['stu_diff_order'][$stuId] > 0){
- echo abs($largeOrderArr['stu_diff_order'][$stuId]);
- }else{
- echo $stu_order?'-':' ';
- }
- ?>
- </td>
- </tr>
- <?php endforeach; ?>
- <?php endif; ?>
- <?php for($i = 0;$i < (5-count($largeOrderArr['increase_stu']));$i++):?>
- <tr><td> </td><td> </td><td> </td></tr>
- <?php endfor;?>
- </tbody>
- </table>
- <table class="back">
- <tbody>
- <tr>
- <td colspan="3" class="table-title">大幅退步</td>
- </tr>
- <tr>
- <td>姓名</td>
- <td>班级排名</td>
- <td>排名下降</td>
- </tr>
- <?php if (isset($largeOrderArr['reduce_stu'])): ?>
- <?php foreach ($largeOrderArr['reduce_stu'] as $key => $stuId): ?>
- <tr>
- <td><?php echo isset($stuNameArr[$stuId])?$stuNameArr[$stuId]:''; ?></td>
- <td><?php echo isset($largeOrderArr['stu_order'][$stuId])?$largeOrderArr['stu_order'][$stuId]:0; ?></td>
- <td>
- <?php
- if(isset($largeOrderArr['stu_diff_order'][$stuId]) && abs($largeOrderArr['stu_diff_order'][$stuId]) > 0){
- echo abs($largeOrderArr['stu_diff_order'][$stuId]);
- }else{
- echo '-';
- }
- ?>
- </td>
- </tr>
- <?php endforeach; ?>
- <?php endif; ?>
- <?php for($i = 0;$i < (5-count($largeOrderArr['reduce_stu']));$i++):?>
- <tr><td> </td><td> </td><td> </td></tr>
- <?php endfor;?>
- </tbody>
- </table>
- <table class="first">
- <tbody>
- <tr>
- <td colspan="2" class="table-title">班级前五名</td>
- </tr>
- <tr>
- <td>姓名</td>
- <td>班级排名</td>
- </tr>
- <?php if(isset($largeOrderArr['font_five'])):?>
- <?php foreach ($largeOrderArr['font_five'] as $stuId =>$rank):?>
- <tr>
- <td><?php echo isset($stuNameArr[$stuId])?$stuNameArr[$stuId]:'';?></td>
- <td><?php echo $rank;?></td>
- </tr>
- <?php endforeach;?>
- <?php for($i = 0;$i < (5-count($largeOrderArr['font_five']));$i++):?>
- <tr><td> </td><td> </td></tr>
- <?php endfor;?>
- <?php endif;?>
- </tbody>
- </table>
- <table class="last">
- <tbody>
- <tr>
- <td colspan="2" class="table-title">班级后五名</td>
- </tr>
- <tr>
- <td>姓名</td>
- <td>班级排名</td>
- </tr>
- <?php if(isset($largeOrderArr['back_five'])):?>
- <?php foreach ($largeOrderArr['back_five'] as $stuId =>$rank):?>
- <tr>
- <td><?php echo isset($stuNameArr[$stuId])?$stuNameArr[$stuId]:'';?></td>
- <td><?php echo $rank;?></td>
- </tr>
- <?php endforeach;?>
- <?php for($i = 0;$i < (5-count($largeOrderArr['back_five']));$i++):?>
- <tr><td> </td><td> </td></tr>
- <?php endfor;?>
- <?php endif;?>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- <div class="topic">
- <div class="topic-one-title">
- <span>二、考试学情分析</span>
- <img src="<?php echo $zsyas2Url;?>/images/junior/teach/topic-one-title.png" alt="">
- </div>
- <!-- 考试情况分析 -->
- <?php if($paperAnalyseArr):?>
- <div class="exam-analysis">
- <div class="exam-table">
- <?php $columnNum = count($paperAnalyseArr)>= 8 ? 8 :count($paperAnalyseArr);?>
- <?php foreach (array_chunk($paperAnalyseArr,$columnNum) as $_paperAnalyseArr):?>
- <table>
- <tbody>
- <tr>
- <td style="width: 25mm">题号</td>
- <?php foreach ($_paperAnalyseArr as $analyseArr):?>
- <td><?php echo $analyseArr['no'];?></td>
- <?php endforeach;?>
- <?php for($i = 0;$i < ($columnNum-count($_paperAnalyseArr));$i++):?>
- <td> </td>
- <?php endfor;?>
- </tr>
- <tr>
- <td>答错人数</td>
- <?php foreach ($_paperAnalyseArr as $analyseArr):?>
- <td><?php echo $analyseArr['wrong_num'];?></td>
- <?php endforeach;?>
- <?php for($i = 0;$i < ($columnNum-count($_paperAnalyseArr));$i++):?>
- <td> </td>
- <?php endfor;?>
- </tr>
- <tr>
- <td>错误率</td>
- <?php foreach ($_paperAnalyseArr as $analyseArr):?>
- <td><?php echo $analyseArr['wrong_rate'];?>%</td>
- <?php endforeach;?>
- <?php for($i = 0;$i < ($columnNum-count($_paperAnalyseArr));$i++):?>
- <td> </td>
- <?php endfor;?>
- </tr>
- </tbody>
- </table>
- <?php endforeach;?>
- </div>
- </div>
- <?php endif;?>
- </div>
- <?php if($methodAnalyseArr): ?>
- <div class="topic">
- <div class="topic-one-title">
- <span>三、题型方法考察情况</span>
- <img src="<?php echo $zsyas2Url;?>/images/junior/teach/topic-one-title.png" alt="">
- </div>
- <!-- 知识点情况 -->
- <div class="knowledge-situation">
- <table>
- <tbody>
- <tr>
- <td>题型方法</td>
- <td>难度</td>
- <td>班级本次得分率</td>
- <td>对应题号(答错人数)</td>
- </tr>
- <?php foreach ($methodAnalyseArr as $item):?>
- <tr>
- <td><?php echo $item['name'];?></td>
- <td><?php echo !empty($item['difficult'])?$item['difficult']:'中等';?></td>
- <td><?php echo $item['rate'];?>%</td>
- <td>
- <?php foreach ($item['topicRs'] as $rs):?>
- <i><?php echo $rs['topic_no'];?></i>(<?php echo $rs['wrong_stu_num'];?>人),
- <?php endforeach;?>
- </td>
- </tr>
- <?php endforeach;?>
- </tbody>
- </table>
- </div>
- </div>
- <?php endif;?>
- </div>
- </div>
- <?php if($paperCommentsArr):?>
- <div class="part">
- <div class="part-title">
- <div class="title-txt">第二部分:试卷讲评</div>
- </div>
- <div class="part-content">
- <?php foreach ($paperCommentsArr as $paperConment):?>
- <?php
- $topicId = $paperConment['topic_id'];
- $topicInfo = isset($topicInfoArr[$topicId])?$topicInfoArr[$topicId]:array();
- if(!$topicInfo) continue;
- ?>
- <div class="question-block">
- <div class="question-title">
- <!-- <img src="--><?php //echo $zsyas2Url;?><!--/images/junior/teach/question_title_bg.png" alt="">-->
- <div class="question-title-text">
- <div class="question-number">
- 第<?php echo $paperConment['topic_no'];?>题
- <span>【<?php echo $topicId;?>】</span>
- </div>
- <div class="question-data">
- <span>班级得分率:<i><?php echo $paperConment['class_scoring_rate'];?>%</i></span>
- <span>答对:<i><?php echo $paperConment['right_stu_num'];?></i>人</span>
- <span>答错:<i><?php echo $paperConment['wrong_stu_num'];?></i>人</span>
- </div>
- </div>
- </div>
- <div class="wrong-studen-block">
- <div class="wrong-studen-cont">
- <div class="wrong-student-lable">
- <img class="wrong-lable-icon" src="<?php echo $zsyas2Url;?>/images/junior/teach/wrong-student-icon.png" alt="">
- <div class="wrong-lable-txt">答错学生</div>
- </div>
- <p class="wrong-studen-name">
- <?php foreach ($paperConment['wrong_stu_arr'] as $key => $stuId):?>
- <?php echo $key > 0?'、':'';?><?php echo isset($stuNameArr[$stuId])?$stuNameArr[$stuId]:'';?>
- <?php endforeach;?>
- </p>
- </div>
- </div>
- <div class="question-text">
- <p><?php echo $topicInfo['queBody'];?></p>
- </div>
- <?php if(($topicInfo['options'])):?>
- <div class="option-block">
- <!-- 根据题库选项排列方式;横向排列用 x-4 类名,纵向排列用 y-4 类名,上下排列用 xy-2 类名 -->
- <ul class="option-list clearfix
- <?php if(isset($topicInfo['list_type'])):?>
- <?php if($topicInfo['list_type']==1) {
- echo 'y-4';
- }elseif ($topicInfo['list_type']==2) {
- echo 'x-4';
- }elseif ($topicInfo['list_type']==3) {
- echo 'xy-2';
- }else{
- echo 'y-4';
- };?>">
- <?php else:?>
- <?php echo 'y-4';?>
- <?php endif;?>
- <?php echo $topicInfo['options'];?>
- </ul>
- </div>
- <?php endif;?>
- <div class="answer-analysis">
- <div class="answer-text">
- <div class="answer-txt">答案:</div>
- <div class="answer-result"><?php echo $topicInfo['answer'];?></div>
- </div>
- <div class="analysis">
- <span class="analysis-title">【解析】</span>
- <p class="analysis-text">
- <?php echo $topicInfo['analysis'];?>
- </p>
- </div>
- </div>
- </div>
- <?php endforeach;?>
- </div>
- </div>
- <?php endif;?>
- <?php if(!$isWb && $commonMethods && $methodAnalyseArr):?>
- <div class="part">
- <div class="part-title">
- <div class="title-txt">第三部分:题型方法精讲</div>
- </div>
- <div class="part-content">
- <div class="topic">
- <div class="topic-title">
- <span>讲评建议</span>
- <img src="<?php echo $zsyas2Url;?>/images/junior/teach/topic-title-bg.png" alt="">
- </div>
- <div class="diagnosis">
- <p class="diagnosis-introduce">讲评建议:根据本次测试成绩以及错题分析,班级共性题型方法如下,需要加强训练:</p>
- <ul class="diagnosis-list">
- <?php foreach ($commonMethods as $methodId=>$commonMethod):?>
- <?php if(isset($methodAnalyseArr[$methodId])):?>
- <li><?php echo isset($methodAnalyseArr[$methodId]['name'])?$methodAnalyseArr[$methodId]['name']:'';?>;</li>
- <?php endif;?>
- <?php endforeach;?>
- <!-- <li>由一元二次方程根的情况求字母的取值范围;</li>-->
- </ul>
- <div class="diagnosis-analysis">
- <img src="<?php echo $zsyas2Url;?>/images/junior/teach/start.png" alt="">
- <p>针对以上题型,我们为您匹配了精准的变式训练题,建议您重点讲解!</p>
- </div>
- </div>
- <div class="method-wrap">
- <?php $flag = 1;?>
- <?php foreach ($commonMethods as $methodId=>$commonMethod):?>
- <?php if(isset($methodAnalyseArr[$methodId])):?>
- <div class="type-method">
- <div class="type-method-title">
- <img src="<?php echo $zsyas2Url;?>/images/junior/teach/method_title_bg.png" alt="">
- <div class="method-title-cont">
- <span class="method-title-num">题型方法<?php echo numToUpper($flag++);?> :</span>
- <p class="method-title-txt"><?php echo isset($methodAnalyseArr[$methodId]['name'])?$methodAnalyseArr[$methodId]['name']:'';?></p>
- </div>
- </div>
- <div class="type-method-content">
- <div class="method-block method-details">
- <div class="method-block-title clearfix">
- <span class="block-title-txt">【方法解读】</span>
- <span class="block-title-icon">
- <i></i>
- <i></i>
- <i></i>
- </span>
- </div>
- <div class="method-text">
- <?php echo isset($methodAnalyseArr[$methodId]['content'])?$methodAnalyseArr[$methodId]['content']:'';?>
- </div>
- </div>
- <?php if(isset($methodAnalyseArr[$methodId]['classic_topic_ids']) && !empty($methodAnalyseArr[$methodId]['classic_topic_ids'])):?>
- <div class="method-block typical-examples">
- <div class="method-block-title clearfix">
- <span class="block-title-txt">【典型例题】</span>
- <span class="block-title-icon">
- <i></i>
- <i></i>
- <i></i>
- </span>
- </div>
- <?php foreach ($methodAnalyseArr[$methodId]['classic_topic_ids'] as $classic_topic_id):?>
- <?php if(isset($commonTopics[$classic_topic_id])):?>
- <div class="examples">
- <span class="examples-school">【<?php echo $commonTopics[$classic_topic_id]['topic_id'];?>】</span>
- <p class="examples-text"><?php echo $commonTopics[$classic_topic_id]['queBody'];?></p>
- </div>
- <div class="option-block">
- <ul class="option-list clearfix
- <?php if(isset($commonTopics[$classic_topic_id]['list_type'])):?>
- <?php if($commonTopics[$classic_topic_id]['list_type']==1) {
- echo 'y-4';
- }elseif ($commonTopics[$classic_topic_id]['list_type']==2) {
- echo 'x-4';
- }elseif ($commonTopics[$classic_topic_id]['list_type']==3) {
- echo 'xy-2';
- }else{
- echo 'y-4';
- };?>">
- <?php else:?>
- <?php echo 'y-4';?>
- <?php endif;?>
- <?php echo $commonTopics[$classic_topic_id]['options'];?>
- </ul>
- </div>
- <div class="answer-text">
- <span class="answer-txt">答案:</span>
- <div class="answer-result">
- <?php echo $commonTopics[$classic_topic_id]['answer'];?>
- </div>
- </div>
- <div class="analysis">
- <span class="analysis-title">【解析】</span>
- <p class="analysis-text">
- <?php echo $commonTopics[$classic_topic_id]['analysis'];?>
- </p>
- </div>
- <?php endif;?>
- <?php endforeach;?>
- </div>
- <?php endif;?>
- <?php if(!empty($commonMethod)):?>
- <div class="method-block method-training">
- <div class="method-block-title clearfix">
- <span class="block-title-txt">【方法专练】</span>
- <span class="block-title-icon">
- <i></i>
- <i></i>
- <i></i>
- </span>
- </div>
- <div class="training-wrap">
- <?php $i = 1;?>
- <?php foreach ($commonMethod as $key=>$topicId):?>
- <?php if(isset($commonTopics[$topicId])):?>
- <div class="training-item">
- <div class="training-title">
- <span class="source"><?php echo $i++;?>、【<?php echo $commonTopics[$topicId]['topic_id'];?>】</span>
- <p class="training-text"><?php echo $commonTopics[$topicId]['queBody'];?></p>
- </div>
- <div class="option-block">
- <ul class="option-list clearfix
- <?php if(isset($commonTopics[$topicId]['list_type'])):?>
- <?php if($commonTopics[$topicId]['list_type']==1) {
- echo 'y-4';
- }elseif ($commonTopics[$topicId]['list_type']==2) {
- echo 'x-4';
- }elseif ($commonTopics[$topicId]['list_type']==3) {
- echo 'xy-2';
- }else{
- echo 'y-4';
- };?>">
- <?php else:?>
- <?php echo 'y-4';?>
- <?php endif;?>
- <?php echo $commonTopics[$topicId]['options'];?>
- </ul>
- </div>
- <div class="answer-analysis">
- <div class="answer-text">
- <div class="answer-txt">答案:</div>
- <div class="answer-result">
- <?php echo $commonTopics[$topicId]['answer'];?>
- </div>
- </div>
- <div class="analysis">
- <div class="analysis-title">【解析】</div>
- <p class="analysis-text">
- <?php echo $commonTopics[$topicId]['analysis'];?>
- </p>
- </div>
- </div>
- </div>
- <?php endif;?>
- <?php endforeach;?>
- </div>
- </div>
- <?php endif;?>
- </div>
- </div>
- <?php endif;?>
- <?php endforeach;?>
- </div>
- </div>
- </div>
- </div>
- <?php endif;?>
- </div>
- </div>
- </body>
- </html>
|