123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <title>custom made</title>
- <script src="http://zsyas2.zhixinhuixue.com/js/jquery-2.2.2.min.js"></script>
- <script src="http://zsyas2.zhixinhuixue.com/js/layer/layer.js"></script>
-
- <link href="/css/productset/studentOptionalCard.css?1f3c9eb7ca528042749e" rel="stylesheet" />
-
- </head>
- <body>
- <style>
- .fl{
- float: left;
- }
- .fr{
- float: right;
- }
- .clearfix:after{
- content: '';
- display: block;
- clear: both;
- }
- .changeSubjectNav{
- position: fixed;
- width: 100%;
- box-sizing: border-box;
- top: 0;
- left: 0;
- z-index: 1000;
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 10px 10px;
- background: #ddd;
- }
- .changeSubjectNav .productSettingBtn a{
- display: block;
- width: 120px;
- height: 30px;
- background: #01B677;
- text-align: center;
- line-height: 30px;
- color: #fff;
- font-size: 16px;
- text-decoration: none;
- cursor: text;
- }
- /*切换选择*/
- .tab-con{
- position: relative;
- height: 30px;
- width: 200px;
- background: #F2F2F2;
- border: 1px solid #01B677;
- border-radius: 15px;
- box-sizing: border-box;
- }
- .has-sel{
- background: #01B677;
- color: #fff;
- width: 50%;
- height: 30px;
- border-top-left-radius: 15px;
- border-bottom-left-radius: 15px;
- text-align: center;
- line-height: 30px;
- }
- .sel-opt{
- width: 50%;
- position: relative;
- color: #01B677;
- line-height: 30px;
- text-indent: 6px;
- cursor: pointer;
- }
- .sel-opt:after{
- content: '';
- border-left: 6px solid transparent;
- border-right: 6px solid transparent;
- border-top: 8px solid #01B677;
- position: absolute;
- right: 12px;
- top: 12px;
- }
- // .sel-opt select{
- // width: 100%;
- // height: 30px;
- // background: #F2F2F2;
- // color: #01B677;
- // text-indent: 6px;
- // font-size: inherit;
- // border-top-right-radius: 15px;
- // border-bottom-right-radius: 15px;
- // cursor: pointer;
- // }
- // .sel-opt select option{
- // position: relative;
- // }
- .points{
- position: absolute;
- top: -2px;
- right: 0;
- width: 10px;
- height: 10px;
- background: #F01516;
- border-radius: 50%;
- }
- .sel-cons{
- border: 1px solid #01B677;
- width: 50%;
- position: absolute;
- right: 0;
- top: 30px;
- text-indent: 10px;
- display: none;
- }
- .sc-lis2{
- line-height: 30px;
- cursor: pointer;
- }
- .sc-lis2 span{
- position: relative;
- }
- .sc-lis2 .points{
- top: 2px;
- right: -16px;
- }
- .subject-change{
- margin:8px 11px 0 0;display: block
- }
- .subject-change-no{
- margin:8px 11px 0 0;display: none
- }
- </style>
- <?php
- $sub_id = isset(Yii::app()->session['session_subject_id']) ? Yii::app()->session['session_subject_id']:0;
- $duo_sub_id = isset(Yii::app()->session['session_duoxueke_subject_id']) ? Yii::app()->session['session_duoxueke_subject_id']:0;
- $testFlag = isset(Yii::app()->session['testFlag'])?Yii::app()->session['testFlag']:0;
- $printType = isset($printType)?$printType:'';
- $subject = isset($subject)?$subject:array();
- $urlInfoAll = Yii::app()->request->getPathInfo();
- $urlInfo = '';
- if($urlInfoAll){
- $urlInfoArr = explode('/',$urlInfoAll);
- if(isset($urlInfoArr[0]) && isset($urlInfoArr[1])){
- $urlInfo = $urlInfoArr[0].'/'.$urlInfoArr[1];
- }
- $urlType = '';
- foreach ($urlInfoArr as $_url_k => $_url_v) {
- if ($_url_v == 'type' && isset($urlInfoArr[$_url_k + 1])) {
- $urlType = $urlInfoArr[$_url_k + 1];
- }
- }
- if(count($urlInfoArr) > 4){
- $urlInfoArr = array_slice($urlInfoArr,0,4);
- }
- $urlInfoAll = implode('/',$urlInfoArr);
- }
- $subjectNameArr = array(
- 3 => '数学',
- 8 => '英语',
- 9 => '语文',
- 12 => '物理',
- 13 => '化学',
- 14 => '生物',
- 15 => '政治',
- 16 => '历史',
- 17 => '地理',
- 18 => '理综',
- 19 => '文综',
- 21 => '日语',
- );
- ?>
- <div class="changeSubjectNav">
- <div class="productSettingBtn"> <a href="javascript:;">产品设置</a> </div>
- <div class="tabs clearfix">
- <div class="tab-con clearfix pull-right">
- <div class="has-sel fl"><?php echo isset(Yii::app()->params["subjectId"][$sub_id])?Yii::app()->params["subjectId"][$sub_id]:'数学'?></div>
- <div class="sel-opt fl">
- 切换学科
- </div>
- <div class="sel-cons" style="z-index:6;background-color: #fff;">
- <?php foreach ($subjectNameArr as $_subId => $_subName):?>
- <div class="sc-lis2" val="<?php echo $_subId;?>"><span><?php echo $_subName;?><?php if($subject && isset($subject[$_subId]) && !empty($subject[$_subId])){?><?php }?></span></div>
- <?php endforeach;?>
- </div>
- </div>
- </div>
- </div>
- <script type="text/javascript">
- $(document).ready(function() {
- $(".sel-opt,.sel-cons").mouseover(function () {
- $(".sel-cons").show();
- }).mouseout(function () {
- $(".sel-cons").hide();
- });
- $(".sc-lis2").click(function () {
- var sub_id = $(this).attr('val');
- var data = {
- subjectId: sub_id
- };
- $.post("<?php echo Yii::app()->createUrl('print/setSubjectId')?>", data, function (flags) {
- if (flags) {
- location.href = "<?php echo $this->createUrl('productset/index');?>";
- } else {
- alert('网络异常');
- }
- });
- $('.has-sel').text($(this).text());
- $(".sel-cons").hide();
- });
- });
- </script>
- <div class="hgc_customBox">
- <div class="tabBar">
- <a href="<?php echo $this->createUrl('productset/template')?>" >模版中心</a>
- <a href="<?php echo $this->createUrl('productset/productClassSet')?>">班级定制</a>
- <a href="<?php echo $this->createUrl('productset/productStudentSet')?>">学生定制</a>
- <?php if($isShowCustomCard):?>
- <a class="current" href="<?php echo $this->createUrl('productset/CustomProductStudentSet')?>">学生自选卡</a>
- <?php endif;?>
- </div>
- <div class="operatorArea ">
- <div class="classify">
- <div class="dropDown">
- <span class="name">年级:</span>
- <select id="gradeSelect">
- <option value="0">请选择年级</option>
- <option value="1">高一</option>
- <option value="2">高二</option>
- <option value="3">高三</option>
- </select>
- </div>
- <div class="dropDown">
- <span class="name">班级:</span>
- <select id="classSelect">
-
- </select>
- </div>
- <div class="searchArea">
- <input type="text" id="studentName" placeholder="学生姓名">
- <div class="btns">
- <div class="h-btn" id="search">搜索</div>
- </div>
- </div>
- </div>
- <div class="resetArea">
- <div class="btns">
- <div class="h-btn" id="downloadOptionalCard">下载自选卡</div>
- <div class="h-btn" id="scanOptionalCard">扫描自选卡</div>
- </div>
- </div>
- </div>
- <ul class="hTable" id="customMadeListBox">
- </ul>
- <div class="m-style M-box4" id="h_pagination"></div>
- </div>
- <div class="hgc_lookBox">
- <div class="headInfo">
- <div class="studentInfo">
- <b>姓名:张三</b>
- <b>系统准考证号:2387746778</b>
- <b>年级:高一</b>
- <b>班级:高一(29)班</b>
- </div>
- <div class="opratorBtns">
- <a href="javascript:;" class="theme btn" id="backPic">返回</a>
- <a href="javascript:;" class="theme btn" id="prevPic">上一个</a>
- <a href="javascript:;" class="theme btn" id="nextPic">下一个</a>
- </div>
- </div>
- <div class="originPicBox" id="originPicBox">
- <img src="" alt="">
- </div>
- </div>
- <div class="hgc_modify">
- <div class="headInfo">
- <div class="studentInfo">
- <b>姓名:张三</b>
- <b>系统准考证号:2387746778</b>
- <b>年级:高一</b>
- <b>班级:高一(29)班</b>
- </div>
- <div class="opratorBtns">
- <a href="javascript:;" class="theme btn" id="backPic2">返回</a>
- <a href="javascript:;" class="theme btn" id="prevPic2">上一个</a>
- <a href="javascript:;" class="theme btn" id="nextPic2">下一个</a>
- <div class="h-btn saveOptionalCard" id="saveOptionalCard">保存设置</div>
- </div>
- </div>
- <div class="modifyCardContent">
- <div class="part">
- <h3>第一部分:个性化排版</h3>
- <ul id="modifyPart1">
- </ul>
- </div>
- <div class="part">
- <h3>第二部分:错题原题推送</h3>
- <ul id="modifyPart2">
- </ul>
- </div>
- <div class="part">
- <h3>第三部分:变式训练题</h3>
- <ul id="modifyPart3">
- </ul>
- </div>
- <div class="part">
- <h3>第四部分:提分培优</h3>
- <ul id="modifyPart4">
- </ul>
- </div>
- </div>
- </div>
- <script>
- var currentVersionName = 'class'
- </script>
-
- <script src="/js/productset/studentOptionalCard.js?1f3c9eb7ca528042749e"></script>
-
- </body>
- </html>
|