examResultInfo.jsp 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  2. <%@ include file="/webpage/include/taglibf.jsp"%>
  3. <!DOCTYPE html>
  4. <html>
  5. <head>
  6. <meta charset="utf-8">
  7. <%@ include file="/webpage/include/bootstraptable.jsp"%>
  8. <link rel="stylesheet" href="${ctxStaticWeb}/css/base.css" />
  9. <link rel="stylesheet" href="${ctxStaticWeb}/css/second.css" />
  10. <link href="${ctx}/static/plugin/layui/dist/css/layui.css" rel="stylesheet" />
  11. <script src="${ctx}/static/web/js/jquery-2.1.4.js"></script>
  12. <script src="${ctx}/static/plugin/jquery-validation/1.14.0/jquery.validate.js" type="text/javascript"></script>
  13. <script src="${ctx}/static/plugin/jquery-validation/1.14.0/localization/messages_zh.min.js" type="text/javascript"></script>
  14. <script src="${ctxStatic}/plugin/layui/layer/layer.js"></script>
  15. <script src="${ctxStatic}/plugin/layui/laytpl/laytpl.js"></script>
  16. <script src="${ctxStatic}/plugin/vue/vue.js"></script>
  17. <link rel="stylesheet" type="text/css" href="${ctxStaticWeb}/css/bjl.css" />
  18. </head>
  19. <style>
  20. /* 使用伪元素清除浮动 */
  21. .clearfix::before, .clearfix::after {
  22. content: "";
  23. height: 0;
  24. line-height: 0;
  25. display: block;
  26. visibility: none;
  27. clear: both;
  28. }
  29. .clearfix {
  30. *zoom: 1;
  31. }
  32. label div {
  33. display: inline;
  34. }
  35. h2 div {
  36. display: inline;
  37. }
  38. .mian_dt .qustion{
  39. padding: 0px;
  40. }
  41. .mian_dt .qustion li{
  42. width: 100%;
  43. padding: 5px 15px 5px 15px;
  44. line-height: 25px;
  45. border-radius: 4px;
  46. cursor: pointer;
  47. margin: 0;
  48. position: relative;
  49. min-height: 30px;
  50. margin-bottom: 10px;
  51. }
  52. .mian_dt .qustion li.dt_cw label{
  53. color: #999;
  54. }
  55. .mian_dt .qustion li.dt_dui label{
  56. color: #333;
  57. }
  58. .mian_dt .qustion li.yxz{
  59. background: #f8efef;
  60. }
  61. .mian_dt .qustion li span{
  62. display: none;
  63. }
  64. .mian_dt .qustion li.yxz span{
  65. display: block;
  66. color: #c7301e;
  67. width:60px;
  68. height: 25px;
  69. line-height: 25px;
  70. float:right;
  71. }
  72. .mian_dt .qustion li i{
  73. width:18px;
  74. height: 18px;
  75. display: block;
  76. float:left;
  77. margin: 3px 0px;
  78. }
  79. .mian_dt .qustion li.dt_cw i{
  80. background: url(${ctxStaticWeb}/img/dt_cw.png) no-repeat center;
  81. background-size: contain;
  82. }
  83. .mian_dt .qustion li.dt_dui i{
  84. background: url(${ctxStaticWeb}/img/dt_dui.png) no-repeat center;
  85. background-size: contain;
  86. }
  87. .mian_dt .qustion .dt_div{
  88. padding: 20px 20px 0px 20px;
  89. }
  90. .dtj_div{
  91. /*width:900px;*/
  92. }
  93. .dt_div{
  94. position: relative;
  95. overflow: hidden;
  96. }
  97. .dt_l{
  98. float:left;
  99. width:49%;
  100. }
  101. .dt_r{
  102. float: right;
  103. width: 49%;
  104. padding-left: 2%;
  105. }
  106. </style>
  107. <body>
  108. <div class="dtj_div clearfix">
  109. <div class="mian mian_dt">
  110. <div class="tit">${testInfo.paperName}(共${sum}题,合计${testInfo.points}分)
  111. </div>
  112. <div class="qustion">
  113. <c:forEach items="${testsDetailList}" varStatus="status" var="obj" >
  114. <div class="dt_div clearfix">
  115. <div class="">
  116. <h2 id="i"><strong> ${status.index+1}</strong>.<div >${obj.questionTitle}</div> (${obj.points}分)</h2>
  117. <ul >
  118. <c:forEach items="${questionOptionList}" var="questionOption">
  119. <c:if test="${questionOption.qId == obj.questionId}">
  120. <div >
  121. <c:if test="${questionOption.isAnswer=='1'}">
  122. <li id="li" class="dt_dui yxz">
  123. </c:if>
  124. <c:if test="${questionOption.isAnswer!='1'}">
  125. <li id="li" class="dt_cw yxz">
  126. </c:if>
  127. <i></i>
  128. <label>
  129. <div>${questionOption.title}</div>
  130. </label>
  131. <c:forEach items="${obj.resultsArray}" var="resultsArray" >
  132. <c:if test="${resultsArray==questionOption.title}">
  133. <span>已选择</span>
  134. </c:if>
  135. </c:forEach>
  136. </li>
  137. </div>
  138. </c:if>
  139. </c:forEach>
  140. </ul>
  141. <div class="h"></div>
  142. </div>
  143. </div>
  144. </c:forEach>
  145. </div>
  146. </div>
  147. </div>
  148. </body>
  149. </html>