PingAnYeXianSZCG_Web 前端代码

QuestionSetting.html 5.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <link href="../css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
  7. <link href="../css/bootstrap.min.css" />
  8. <link href="../css/init.css" rel="stylesheet" />
  9. <link rel="stylesheet" href="../css/boot/bootstrap-table.css" />
  10. <link href="../css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
  11. <link href="../css/animate.min.css" rel="stylesheet">
  12. <link href="../css/style.min862f.css?v=4.1.0" rel="stylesheet">
  13. <link href="../css/layer/need/layer.css" />
  14. <link rel="stylesheet" href="../css/zhibiaoguanli.css" />
  15. <link rel="stylesheet" href="../css/init.css" />
  16. <title>问卷设置</title>
  17. <style>
  18. .fr {
  19. float: right;
  20. }
  21. .fr li {
  22. float: left;
  23. }
  24. .size-14 {
  25. font-size: 14px!important;
  26. }
  27. .size-16 {
  28. font-size: 16px;
  29. }
  30. .anniu i {
  31. margin-right: 5px;
  32. }
  33. .x-color {
  34. width: 100px;
  35. background-color: #FFF;
  36. background-image: none;
  37. border: 1px solid #e5e6e7;
  38. border-radius: 1px;
  39. color: inherit;
  40. padding: 14px 12px;
  41. }
  42. .inputs {
  43. border: 1px solid #e5e6e7;
  44. width: 150px;
  45. padding: 6px 12px;
  46. }
  47. #tbr {
  48. border: 1px solid #ccc;
  49. }
  50. #tbr td {
  51. padding: 10px;
  52. padding: 6px 0 5px 10px;
  53. color: #717171;
  54. line-height: 200%;
  55. border-top: 1px dotted #cccccc;
  56. }
  57. #tbr th {
  58. border-right: 1px dotted #cccccc;
  59. border-top: 1px dotted #cccccc;
  60. background: #f9f9f9;
  61. text-align: right;
  62. }
  63. .Back {
  64. background-color: #f5f5f5;
  65. }
  66. label {
  67. margin-right: 10px;
  68. }
  69. #tbr{
  70. display: none;
  71. }
  72. .WJmessage{
  73. line-height: 20px;
  74. border-bottom: 1px solid #ccc;
  75. padding-bottom: 10px;
  76. }
  77. .IMG_box{
  78. text-align: center;
  79. padding: 10px;
  80. border: 1px solid #ccc;
  81. }
  82. </style>
  83. </head>
  84. <body>
  85. <div class="daoHang clearfix">
  86. <div class="dhLeft">
  87. <sapn><i class="syIcon"></i>位置:
  88. <a href="javaScript:;" id="ReIndex">首页</a>&gt;
  89. <a href="javaScript:;">问卷调查</a>&gt;
  90. <a href="" style="color: #000;">问卷设置</a>
  91. </sapn>
  92. </div>
  93. </div>
  94. <div class='wrap'>
  95. <div class="tbleft" style="width: 25%;">
  96. <h4 style="line-height: 20px;"><i class="fa fa-file-text-o size-14"></i>试题问卷</h4>
  97. <div class="top clearfix ">
  98. <div class="fr">
  99. <span>&nbsp;关键字:<input class=" inputs" type="text" id="KeyWords" /></span>
  100. <button class="btns searchGo size-14"> <i class="fa fa-search size-14"></i>&nbsp;搜索</button>
  101. </div>
  102. </div>
  103. <div class="anniu " class="toolbar1 ">
  104. <button class="leftAdd btn size-14"><i class="fa fa-plus size-14"></i>增加</button>
  105. <button class="leftChange btn size-14"><i class="fa fa-pencil size-14"></i>修改</button>
  106. <button class="leftDelete btn size-14"><i class="fa fa-remove size-14"></i>删除</button>
  107. </div>
  108. <table id="tb1">
  109. <thead>
  110. <tr>
  111. <th data-field="checkbox" data-align="center" data-formatter="setCode"></th>
  112. <th data-align="center" data-field="F_Title">试卷名称</th>
  113. <th data-align="center" data-field="F_PagerId"data-formatter="Code">操作</th>
  114. </tr>
  115. </thead>
  116. <tbody>
  117. </tbody>
  118. </table>
  119. </div>
  120. <!--右边/-->
  121. <div class="tbright" style="width: 70%;">
  122. <h4 style="" class="WJmessage">问卷信息</h4>
  123. <div class="IMG_content">
  124. <div class="IMG_box">
  125. <img src="../img/wjdc.jpg" alt="" />
  126. </div>
  127. </div>
  128. <table id="tbr" style="width: 100%;">
  129. <thead>
  130. <tr>
  131. <th style='width: 150px;'>问卷名称:</th>
  132. <td colspan="7" ><span class="Title"></span></td>
  133. </tr>
  134. <tr>
  135. <th style='width: 150px;'>问卷说明:</th>
  136. <td ><span class="F_Remark"></span></td>
  137. </tr>
  138. </thead>
  139. <tbody class="tbody">
  140. <tr class="Back">
  141. <td colspan="2">
  142. <h3 class="size-14">1、对我们的产品是否满意? </h3>
  143. </td>
  144. </tr>
  145. <tr class="">
  146. <td colspan="2">
  147. <div class="Message_box">
  148. <label style="font-weight: normal;">1.<input type="checkbox" value="一般" name="ltype" > 一般</label>
  149. <label style="font-weight: normal;"><input type="checkbox" value="538" name="ltype" > 满意</label>
  150. <label style="font-weight: normal;"><input type="checkbox" value="539" name="ltype" >不满意</label>
  151. </div>
  152. </td>
  153. </tr>
  154. <tr class="Back">
  155. <td colspan="2">
  156. <h3 class="size-14">2、您好,你是? </h3>
  157. </td>
  158. </tr>
  159. <tr>
  160. <td colspan="2">
  161. <div class="Message_box">
  162. <textarea name="" rows="" cols="" style="width: 100%;"></textarea>
  163. </div>
  164. </td>
  165. </tr>
  166. </tbody>
  167. </table>
  168. </div>
  169. <div>
  170. <button class="Root">点击获取</button>
  171. </div>
  172. </div>
  173. </body>
  174. <script src="../js/jquery.min.js?v=2.1.4"></script>
  175. <script src="../js/bootstrap.min.js"></script>
  176. <script src="../js/bootstrap-table.js"></script>
  177. <script src="../js/bootstrap-table-zh-CN.js"></script>
  178. <script src="../Script/Common/huayi.load.js"></script>
  179. <script src="../Script/Common/huayi.config.js"></script>
  180. <script src="../js/jquery.cookie.js"></script>
  181. <script src="../css/layer/layer.js"></script>
  182. <script src="../js/Questions/QuestionSetting.js"></script>
  183. <script>
  184. var table=$("#tbr");
  185. var arr=[];
  186. var content;
  187. $(".Root").click(function(){
  188. // $("#tbr tr td .QuesTitle").each(function(){
  189. // var val=$(this).text();
  190. // var index=$(this).attr("indexs");
  191. // arr.push(index+'_'+val);
  192. //
  193. // })
  194. // console.log(arr)
  195. $("#tbr tr td input[name='ltype']").each(function(){
  196. var val=$(this).val();
  197. var index=$(this).attr("index_")
  198. arr.push(index+'_'+val);
  199. })
  200. })
  201. </script>
  202. </html>