PingAnYeXianSZCG_Web 前端代码

QuestionSetting.html 6.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  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. margin-top: 5%;
  81. }
  82. .Qus_box li {
  83. list-style: none;
  84. border: 1px solid #ccc;
  85. border-bottom: none;
  86. }
  87. .Qus_box {
  88. padding-left: 0!important;
  89. }
  90. .Qus_box div {
  91. padding: 10px;
  92. border-bottom: 1px solid #ccc;
  93. }
  94. .title_ul {
  95. padding-left: 0;
  96. margin-bottom: 0;
  97. }
  98. .title_ul li{
  99. border: 1px solid #ccc;
  100. }
  101. .title_ul li label{
  102. border-right: 1px solid #ccc;
  103. line-height: 30px;
  104. margin: 0;
  105. padding: 10px;
  106. }
  107. </style>
  108. </head>
  109. <body>
  110. <div class="daoHang clearfix">
  111. <div class="dhLeft">
  112. <sapn><i class="syIcon"></i>位置:
  113. <a href="javaScript:;" id="ReIndex">首页</a>&gt;
  114. <a href="javaScript:;">问卷调查</a>&gt;
  115. <a href="" style="color: #000;">问卷设置</a>
  116. </sapn>
  117. </div>
  118. </div>
  119. <div class='wrap'>
  120. <div class="tbleft" style="width: 25%;">
  121. <h4 style="line-height: 20px;"><i class="fa fa-file-text-o size-14"></i>试题问卷</h4>
  122. <div class="top clearfix ">
  123. <div class="fr">
  124. <span>&nbsp;关键字:<input class=" inputs" type="text" id="KeyWords" /></span>
  125. <button class="btns searchGo size-14"> <i class="fa fa-search size-14"></i>&nbsp;搜索</button>
  126. </div>
  127. </div>
  128. <div class="anniu " class="toolbar1 ">
  129. <button class="leftAdd btn size-14"><i class="fa fa-plus size-14"></i>增加</button>
  130. <button class="leftChange btn size-14"><i class="fa fa-pencil size-14"></i>修改</button>
  131. <button class="leftDelete btn size-14"><i class="fa fa-remove size-14"></i>删除</button>
  132. </div>
  133. <table id="tb1">
  134. <thead>
  135. <tr>
  136. <th data-field="checkbox" data-align="center" data-formatter="setCode"></th>
  137. <th data-align="center" data-field="F_Title">试卷名称</th>
  138. <th data-align="center" data-field="F_PagerId" data-formatter="Code">操作</th>
  139. </tr>
  140. </thead>
  141. <tbody>
  142. </tbody>
  143. </table>
  144. </div>
  145. <!--右边/-->
  146. <div class="tbright" style="width: 70%;">
  147. <h4 style="" class="WJmessage">问卷信息</h4>
  148. <div class="IMG_content">
  149. <div class="IMG_box">
  150. <img src="../img/wjdc.jpg" alt="" />
  151. </div>
  152. </div>
  153. <!--<table id="tbr" style="width: 100%;">
  154. <thead>
  155. <tr>
  156. <th style='width: 150px;'>问卷名称:</th>
  157. <td colspan="7" ><span class="Title">555555555</span></td>
  158. </tr>
  159. <tr>
  160. <th style='width: 150px;'>问卷说明:</th>
  161. <td ><span class="F_Remark">55555555555</span></td>
  162. </tr>
  163. </thead>
  164. <tbody class="tbody">
  165. <tr class="Back">
  166. <td colspan="2">
  167. <h3 class="size-14">1、对我们的产品是否满意? </h3>
  168. </td>
  169. </tr>
  170. <tr class="">
  171. <td colspan="2">
  172. <div class="Message_box">
  173. <label style="font-weight: normal;">1.<input type="checkbox" value="一般" name="ltype" > 一般</label>
  174. <label style="font-weight: normal;"><input type="checkbox" value="538" name="ltype" > 满意</label>
  175. <label style="font-weight: normal;"><input type="checkbox" value="539" name="ltype" >不满意</label>
  176. </div>
  177. </td>
  178. </tr>
  179. <tr class="Back">
  180. <td colspan="2">
  181. <h3 class="size-14">2、您好,你是? </h3>
  182. </td>
  183. </tr>
  184. <tr>
  185. <td colspan="2">
  186. <div class="Message_box">
  187. <textarea name="" rows="" cols="" style="width: 100%;"></textarea>
  188. </div>
  189. </td>
  190. </tr>
  191. </tbody>
  192. </table>-->
  193. <div>
  194. <ul style="padding-left: 0;" class="title_ul">
  195. <li>
  196. <label for="">问卷名称</label><span>5555555555555555</span>
  197. </li>
  198. <li>
  199. <label for="">问卷名称</label><span></span>
  200. </li>
  201. </ul>
  202. <ul class="Qus_box">
  203. </ul>
  204. </div>
  205. </div>
  206. </div>
  207. </body>
  208. <script src="../js/jquery.min.js?v=2.1.4"></script>
  209. <script src="../js/bootstrap.min.js"></script>
  210. <script src="../js/bootstrap-table.js"></script>
  211. <script src="../js/bootstrap-table-zh-CN.js"></script>
  212. <script src="../Script/Common/huayi.load.js"></script>
  213. <script src="../Script/Common/huayi.config.js"></script>
  214. <script src="../js/jquery.cookie.js"></script>
  215. <script src="../css/layer/layer.js"></script>
  216. <script src="../js/Questions/QuestionSetting.js"></script>
  217. <script>
  218. var table = $("#tbr");
  219. var arr = [];
  220. var content;
  221. $(".Root").click(function() {
  222. // $("#tbr tr td .QuesTitle").each(function(){
  223. // var val=$(this).text();
  224. // var index=$(this).attr("indexs");
  225. // arr.push(index+'_'+val);
  226. //
  227. // })
  228. // console.log(arr)
  229. $("#tbr tr td input[name='ltype']").each(function() {
  230. var val = $(this).val();
  231. var index = $(this).attr("index_")
  232. arr.push(index + '_' + val);
  233. })
  234. })
  235. </script>
  236. </html>