unpaid.php 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <link rel="stylesheet" href="/css/assist/successPage.css"/>
  2. <style>
  3. .report-setting-main{
  4. margin-top:130px;
  5. width: 60%;
  6. height: 20%;
  7. position: absolute;
  8. left: 50%;
  9. top: 50%;
  10. transform: translate(-50%,-50%);
  11. }
  12. .report-setting-main div{
  13. margin-bottom:40px;
  14. }
  15. .report-setting-radio{
  16. padding-left: 10px;
  17. display: inline-block;
  18. text-align: left;
  19. width:240px;
  20. vertical-align: top;
  21. }
  22. .report-setting-title{
  23. width: 120px;
  24. display: inline-block;
  25. }
  26. .report-setting-tips{
  27. color:#949494;
  28. display: block;
  29. }
  30. .select_area{
  31. margin-bottom: 15px;
  32. }
  33. .score-levels-box input{text-align: center;}
  34. .score-levels-box{padding:30px 0;}
  35. .score-levels{padding:10px 20px 0;}
  36. .level-box{display: flex;}
  37. .level-box input{width:100px;margin:0 10px;padding-left: 5px;border:1px solid #aaa;}
  38. .level-box *{height: 30px;line-height: 30px;}
  39. .level-remove{font-size: 30px;text-align: center;cursor: pointer;}
  40. .level-line{position: relative;width: 50px;}
  41. .level-line:after{content: "";display: block;height:1px;background: #aaa;position: absolute;left:0;top:50%;transform: translateY(-50%);width: 100%;}
  42. .score-levels p{margin-bottom: 0;padding-left: 10px;line-height: 30px;color: #ccc;}
  43. .add-level{display: inline-block;padding-left:30px;margin-top:20px; color: blue;}
  44. .level-precent{position: relative}
  45. .level-precent span{position:absolute;right:20px;top:50%;transform: translateY(-50%)}
  46. .filter button{
  47. border: none;
  48. background: #2977ff;
  49. width: 111px;
  50. height: 36px;
  51. border-radius: 3px;
  52. font-size: 14px;
  53. color: #fff;
  54. outline: none;
  55. cursor: pointer;
  56. margin-left: 180px;
  57. }
  58. </style>
  59. <!-- 导航栏开始-->
  60. <?php include(Yii::app()->basePath.'/views/layouts/view_navigation.php');?>
  61. <!-- 导航栏结束-->
  62. <div class="hgc_headOPerator fl" style="background: transparent;padding-left: 0;">
  63. <div class="menuBtn" id="hgc_scanUploadBtn">
  64. <img src="/images/assist/icon_hgc_menu.svg" />
  65. <span class="btnText">未付费用户权限设置</span>
  66. </div>
  67. </div>
  68. <div class="report-setting-main">
  69. <form action="<?php echo $this->createUrl('zhiliao/unpaidUserSetting')?>" method="post" id="userSetting">
  70. <div class="select_area">
  71. <span class="report-setting-title">家长端成绩报告</span>
  72. <span class="report-setting-radio">
  73. <input type="radio" name="parent_report" <?php if(!isset($parent_report) || $parent_report==1){echo 'checked';}?> value="1">仅显示得分,不显示详情<br>
  74. <img src="/images/zhiliao/parent_report_1.png">
  75. </span>
  76. <span class="report-setting-radio">
  77. <input type="radio" name="parent_report" <?php if(isset($parent_report) && $parent_report==0){echo 'checked';}?> value="0">不显示得分及详情<br>
  78. <img src="/images/zhiliao/parent_report_2.png">
  79. </span>
  80. <span class="report-setting-radio">
  81. <input type="radio" name="parent_report" <?php if(isset($parent_report) && $parent_report==2){echo 'checked';}?> value="2">完整版<br>
  82. </span>
  83. </div>
  84. <div class="select_area">
  85. <span class="report-setting-title">家长端考试通知</span>
  86. <span class="report-setting-radio">
  87. <input type="radio" name="parent_exam_notify" <?php if(!isset($parent_exam_notify) || $parent_exam_notify==2){echo 'checked';}?> value="2">通知并显示成绩<br>
  88. <img src="/images/zhiliao/parent_exam_notify_1.png">
  89. </span>
  90. <span class="report-setting-radio">
  91. <input type="radio" name="parent_exam_notify" <?php if(isset($parent_exam_notify) && $parent_exam_notify==1){echo 'checked';}?> value="1">通知但不显示成绩<br>
  92. <img src="/images/zhiliao/parent_exam_notify_2.png">
  93. </span>
  94. <span class="report-setting-radio">
  95. <input type="radio" name="parent_exam_notify" <?php if(isset($parent_exam_notify) && $parent_exam_notify==0){echo 'checked';}?> value="0">不通知<br>
  96. </span>
  97. </div>
  98. <div class="select_area">
  99. <span class="report-setting-title">学生端成绩报告</span>
  100. <span class="report-setting-radio">
  101. <input type="radio" name="student_report" <?php if(!isset($student_report) || $student_report==2){echo 'checked';}?> value="2">可查看完整成绩报告<br>
  102. <img src="/images/zhiliao/student_report_1.png">
  103. </span>
  104. <span class="report-setting-radio">
  105. <input type="radio" name="student_report" <?php if(isset($student_report) && $student_report==1){echo 'checked';}?> value="1">仅可查看成绩,不可查看报告<br>
  106. <img src="/images/zhiliao/student_report_2.png">
  107. </span>
  108. <span class="report-setting-radio">
  109. <input type="radio" name="student_report" <?php if(isset($student_report) && $student_report==0){echo 'checked';}?> value="0">成绩及报告都不可查看<br>
  110. <img src="/images/zhiliao/student_report_3.png">
  111. </span>
  112. </div>
  113. <div class="select_area">
  114. <span class="report-setting-title">学生知识账单权限</span>
  115. <span class="report-setting-radio">
  116. <input type="radio" name="student_knowledge_bill" <?php if(!isset($student_knowledge_bill) || $student_knowledge_bill==1){echo 'checked';}?> checked value="1">可查看
  117. </span>
  118. <span class="report-setting-radio">
  119. <input type="radio" name="student_knowledge_bill" <?php if(isset($student_knowledge_bill) && $student_knowledge_bill==0){echo 'checked';}?> value="0">不可查看
  120. </span>
  121. <span class="report-setting-tips">选择不可查看模式,学生及家长端的学生知识账单入口将隐藏</span>
  122. </div>
  123. <div class="filter"><button type="button" class="save-setting">保存设置</button></div>
  124. </form>
  125. </div>
  126. <script>
  127. $('.save-setting').click(function(){
  128. $('#userSetting').submit();
  129. });
  130. </script>