济源12345的前端

examination.html 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>试卷管理</title>
  6. <script src="../Script/Common/huayi.load.js"></script>
  7. <link rel="stylesheet" href="../css/bootstrap-select.css">
  8. <script src="../Script/Common/huayi.config.js"></script>
  9. <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
  10. <link rel="stylesheet" href="../css/init.css" />
  11. <style>
  12. #sqzx th {
  13. padding: 5px 8px 5px 0;
  14. text-align: right;
  15. }
  16. .select {
  17. width: 150px;
  18. background-color: #FFF;
  19. background-image: none;
  20. border: 1px solid #ccc;
  21. border-radius: 1px;
  22. color: inherit;
  23. padding: 6px 12px;
  24. }
  25. #sex {
  26. background-color: #FFF;
  27. background-image: none;
  28. border: 1px solid #ccc;
  29. border-radius: 1px;
  30. color: inherit;
  31. padding: 6px 12px;
  32. }
  33. input {
  34. background-color: #FFF;
  35. background-image: none;
  36. border: 1px solid #ccc;
  37. border-radius: 1px;
  38. color: inherit;
  39. padding: 6px 12px;
  40. }
  41. #sqzx td {
  42. padding: 6px 0 5px 10px;
  43. }
  44. .lxr ul li {
  45. float: left;
  46. list-style: none;
  47. width: 30%;
  48. margin-bottom: 5px;
  49. padding-top: 10px;
  50. }
  51. .clearFix:after {
  52. content: "";
  53. display: block;
  54. clear: both;
  55. }
  56. .form-group {
  57. padding-left: 40px;
  58. margin-bottom: 0;
  59. }
  60. textarea {
  61. height: 70px;
  62. border: 1px solid #ccc;
  63. border-radius: 1px;
  64. width: 50%;
  65. resize: none;
  66. }
  67. .textarea_box {
  68. margin-top: 10px;
  69. }
  70. .box_content {
  71. border-bottom: 1px solid #ccc;
  72. }
  73. .tj_content {
  74. border: 1px solid #e6e6e6;
  75. border-radius: 5px;
  76. }
  77. .t-shade {
  78. position: fixed;
  79. top: 0;
  80. left: 0;
  81. width: 100%;
  82. background: rgba(0, 0, 0, 0.48);
  83. z-index: 10004;
  84. display: none;
  85. }
  86. .lyxz .shade_k {
  87. z-index: 10005;
  88. width: 40%;
  89. left: 30%;
  90. margin: 20% auto;
  91. position: absolute;
  92. background-color: #fff;
  93. box-shadow: 1px 1px 50px rgba(0, 0, 0, .3);
  94. border-radius: 5px;
  95. }
  96. .shade_title {
  97. padding: 0 80px 0 20px;
  98. height: 42px;
  99. line-height: 42px;
  100. border-bottom: 1px solid #eee;
  101. font-size: 16px;
  102. color: #FFFFFF;
  103. overflow: hidden;
  104. background-color: #00a1cb;
  105. border-radius: 2px 2px 0 0;
  106. position: relative;
  107. border-top-left-radius: 5px;
  108. border-top-right-radius: 5px;
  109. }
  110. .cx {
  111. display: block;
  112. }
  113. .setwin {
  114. position: absolute;
  115. right: 15px;
  116. top: 5px;
  117. font-size: 0;
  118. line-height: initial;
  119. }
  120. .setwin a {
  121. position: relative;
  122. width: 16px;
  123. height: 16px;
  124. font-size: 20px;
  125. color: #fff;
  126. }
  127. .xg i {
  128. font-size: 16px;
  129. }
  130. .hidens {
  131. display: none;
  132. }
  133. .Min-width{
  134. width: 150px;
  135. }
  136. .hidens {
  137. display: none;
  138. }
  139. .inpBox {
  140. border: 1px solid #a9a9a9;
  141. height: 27px;
  142. width: 220px;
  143. display: inline-block;
  144. position: relative;
  145. vertical-align: middle;
  146. }
  147. .addTree {
  148. background: #fff;
  149. position: absolute;
  150. width: 100%;
  151. border: 1px solid darkgrey;
  152. right: 0;
  153. top: 26px;
  154. display: none;
  155. z-index: 222;
  156. }
  157. .xl {
  158. display: inline-block;
  159. background: url(../../img/dropDown.png) no-repeat;
  160. height: 100%;
  161. background-position: center center;
  162. width: 20px;
  163. position: absolute;
  164. right: 0;
  165. top: 0px;
  166. /* background-color: #f7bc8b; */
  167. cursor: pointer;
  168. }
  169. .ztree li span {
  170. border: none;
  171. padding: 0;
  172. }
  173. .inps {
  174. width: 217px;
  175. height: 24px;
  176. outline: none;
  177. border: 0;
  178. border-image-width: 0;
  179. padding: 0;
  180. padding-left: 3px;
  181. }
  182. .xl {
  183. display: inline-block;
  184. background: url(../img/dropDown.png) no-repeat;
  185. height: 100%;
  186. background-position: center center;
  187. width: 20px;
  188. position: absolute;
  189. right: 0;
  190. top: 0px;
  191. /* background-color: #f7bc8b; */
  192. cursor: pointer;
  193. }
  194. .Cleans{
  195. display: inline-block;
  196. width: 20px;
  197. position: absolute;
  198. right: 21px;
  199. top: 5px;
  200. display: none;
  201. }
  202. table{
  203. border:1px solid #cccccc;
  204. }
  205. table tr th{
  206. text-align:center;
  207. }
  208. table tr th,td{
  209. padding: 8px;
  210. font-size:14px;
  211. }
  212. /*.tab{width:400px;height:400px; }*/
  213. /*.tab-menu{height:100px;width:400px; }*/
  214. /*.tab-menu ul{list-style:none;}*/
  215. /*.tab-menu li{display:block;width:30%;}*/
  216. /*.tab-box div{width:400px;height:300px; display:none;}*/
  217. /* 让第一个框显示出来 */
  218. .tab-box div:first-Child{display:block;}
  219. /* 改变选项卡选中时候的样式 */
  220. /* .change{background:red;}*/
  221. .tab{float: left;margin-right: 30px;}
  222. .tab-box{float: left;}
  223. .tab-menu table tr th,td{width:100px; text-align: center; }
  224. </style>
  225. </head>
  226. <body class="gray-bg">
  227. <div class="wrapper wrapper-content animated fadeInRight">
  228. <div class="daoHang clearfix">
  229. <div class="dhLeft">
  230. <sapn>
  231. <i class="syIcon"></i>位置:
  232. <a href="javaScript:;" id="ReIndex">首页</a>&gt;
  233. <a href="javaScript:;">培训中心</a>&gt;
  234. <a class="nowPosition">试卷管理</a>
  235. </sapn>
  236. </div>
  237. <div class="dhRight">
  238. <a href="" title="刷新"><i class="fa fa-refresh"></i></a>
  239. </div>
  240. </div>
  241. <div style="padding: 10px;" class="tj_content clearFix">
  242. <div style="padding: 10px;" class="tj_content clearFix">
  243. <div>
  244. <span>【搜索信息】</span>
  245. <div class="box_content">
  246. <table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
  247. <tr>
  248. <th>试卷分类:</th>
  249. <td>
  250. <select name="" id="" style="height:30px;width:150px;">
  251. <option value="0">请选择</option>
  252. <option value="1">测试试卷</option>
  253. <option value="2">甄别书卷</option>
  254. <option value="3">主题试卷</option>
  255. </select>
  256. </td>
  257. <td colspan="7" style="text-align: center;" >
  258. <botton class="btns Seach">搜索</botton>
  259. </td>
  260. </tr>
  261. </table>
  262. </div>
  263. </div>
  264. <div>
  265. <div class="tab">
  266. <div style="width:400px;padding: 10px;">
  267. <botton class="btns Seach">增加</botton>
  268. <botton class="btns Seach">编辑</botton>
  269. <botton class="btns Seach">删除</botton>
  270. </div>
  271. <div class="tab-menu">
  272. <table border="" cellspacing="" cellpadding="" style="width:300px;">
  273. <tr>
  274. <th></th>
  275. <th>试卷分类</th>
  276. </tr>
  277. <tr class="cva">
  278. <td>1</td>
  279. <td class="cur">测试试卷</td>
  280. </tr>
  281. <tr class="cva">
  282. <td>2</td>
  283. <td>甄别试卷</td>
  284. </tr>
  285. <tr class="cva">
  286. <td>3</td>
  287. <td>主题试卷</td>
  288. </tr>
  289. </table>
  290. </div>
  291. </div>
  292. <div class="tab-box">
  293. <div style="width: 100%;padding: 10px;">
  294. <botton class="btns Seach">增加</botton>
  295. <botton class="btns Seach">编辑</botton>
  296. <botton class="btns Seach">删除</botton>
  297. </div>
  298. <div class="on" style="display: block;">
  299. <table border="" cellspacing="" cellpadding="" style="width:90%;">
  300. <tr>
  301. <th></th>
  302. <th>试卷分类</th>
  303. <th>试卷类型</th>
  304. <th>试卷标题</th>
  305. <th>试卷内容</th>
  306. <th>试卷说明</th>
  307. <th>操作</th>
  308. </tr>
  309. <tr>
  310. <td>1</td>
  311. <td>测试试卷</td>
  312. <td>多选题</td>
  313. <td>济源在哪里</td>
  314. <td>对济源非常满意</td>
  315. <td>考查</td>
  316. <td><a href="">操作</a></td>
  317. </tr>
  318. <tr>
  319. <td>2</td>
  320. <td>测试试卷</td>
  321. <td>单选题</td>
  322. <td>本次考试如何</td>
  323. <td>发挥正常非常好</td>
  324. <td>考试</td>
  325. <td><a href="">操作</a></td>
  326. </tr>
  327. <tr>
  328. <td>3</td>
  329. <td>测试试卷</td>
  330. <td>单选题</td>
  331. <td>请问</td>
  332. <td>希望更干净;</td>
  333. <td>调查村子</td>
  334. <td><a href="">操作</a></td>
  335. </tr>
  336. <tr>
  337. <td>4</td>
  338. <td>测试试卷</td>
  339. <td>多选题</td>
  340. <td>请问你满意你们村吗</td>
  341. <td>满意,但是希望更干净;</td>
  342. <td>调查村子</td>
  343. <td><a href="">操作</a></td>
  344. </tr>
  345. </table>
  346. </div>
  347. <div class="on" style="display: none;">
  348. <table border="" cellspacing="" cellpadding="" style="width:90%;">
  349. <tr>
  350. <th></th>
  351. <th>甄别试卷</th>
  352. <th>试卷类型</th>
  353. <th>试卷标题</th>
  354. <th>试卷内容</th>
  355. <th>试卷说明</th>
  356. <th>操作</th>
  357. </tr>
  358. <tr>
  359. <td>1</td>
  360. <td>甄别试卷</td>
  361. <td>多选题</td>
  362. <td>请问你满意你们村吗</td>
  363. <td>满意,但是希望更干净;</td>
  364. <td>调查村子</td>
  365. <td><a href="">操作</a></td>
  366. </tr>
  367. <tr>
  368. <td>2</td>
  369. <td>甄别试卷</td>
  370. <td>多选题</td>
  371. <td>请问你满意你们村吗</td>
  372. <td>满意,但是希望更干净;</td>
  373. <td>调查村子</td>
  374. <td><a href="">操作</a></td>
  375. </tr>
  376. <tr>
  377. <td>3</td>
  378. <td>甄别试卷</td>
  379. <td>多选题</td>
  380. <td>请问你满意你们村吗</td>
  381. <td>满意,但是希望更干净;</td>
  382. <td>调查村子</td>
  383. <td><a href="">操作</a></td>
  384. </tr>
  385. <tr>
  386. <td>4</td>
  387. <td>甄别试卷</td>
  388. <td>多选题</td>
  389. <td>请问你满意你们村吗</td>
  390. <td>满意,但是希望更干净;</td>
  391. <td>调查村子</td>
  392. <td><a href="">操作</a></td>
  393. </tr>
  394. </table>
  395. </div>
  396. <div class="on" style="display: none;">
  397. <table border="" cellspacing="" cellpadding="" style="width:100%;">
  398. <tr>
  399. <th></th>
  400. <th>主题试卷</th>
  401. <th>试卷类型</th>
  402. <th>试卷标题</th>
  403. <th>试卷内容</th>
  404. <th>试卷说明</th>
  405. <th>操作</th>
  406. </tr>
  407. <tr>
  408. <td>1</td>
  409. <td>主题试卷</td>
  410. <td>多选题</td>
  411. <td>请问你满意你们村吗</td>
  412. <td>满意,但是希望更干净;</td>
  413. <td>调查村子</td>
  414. <td><a href="">操作</a></td>
  415. </tr>
  416. <tr>
  417. <td>2</td>
  418. <td>主题试卷</td>
  419. <td>多选题</td>
  420. <td>请问你满意你们村吗</td>
  421. <td>满意,但是希望更干净;</td>
  422. <td>调查村子</td>
  423. <td><a href="">操作</a></td>
  424. </tr>
  425. <tr>
  426. <td>3</td>
  427. <td>主题试卷</td>
  428. <td>多选题</td>
  429. <td>请问你满意你们村吗</td>
  430. <td>满意,但是希望更干净;</td>
  431. <td>调查村子</td>
  432. <td><a href="">操作</a></td>
  433. </tr>
  434. <tr>
  435. <td>4</td>
  436. <td>主题试卷</td>
  437. <td>多选题</td>
  438. <td>请问你满意你们村吗</td>
  439. <td>满意,但是希望更干净;</td>
  440. <td>调查村子</td>
  441. <td><a href="">操作</a></td>
  442. </tr>
  443. </table>
  444. </div>
  445. </div>
  446. </div>
  447. </div>
  448. </div>
  449. <!--下载框-->
  450. <div class="t-shade lyxz">
  451. <div class="shade_k">
  452. <div class="shade_title">
  453. <span>录音播放与下载<srong class="cknum"></srong></span>
  454. <span class="setwin gbly"><a>x</a></span>
  455. </div>
  456. <div class="shade_content">
  457. <div class="Ly_box audiojs">
  458. </div>
  459. </div>
  460. </div>
  461. </div>
  462. <input type="hidden" id="PID" />
  463. <input type="hidden" id="Dpment" />
  464. </div>
  465. <script src="../js/bootstrap-select.js"></script>
  466. <script src="../css/laydate/laydate.js"></script>
  467. <script src="../My97DatePicker/WdatePicker.js"></script>
  468. <script src="../js/zTree/jquery.ztree.core.js"></script>
  469. <script src="../js/search/screen.js"></script>
  470. <script>
  471. $().ready(function(){
  472. $(".tab-menu table .cva").click(function(){
  473. //通过 .index()方法获取元素下标,从0开始,赋值给某个变量
  474. var _index = $(this).index();
  475. _index--
  476. //alert(_index)
  477. //让内容框的第 _index 个显示出来,其他的被隐藏
  478. $(".tab-box .on").hide();
  479. $(".tab-box .on").eq(_index).show();
  480. //改变选中时候的选项框的样式,移除其他几个选项的样式
  481. //$(this).addClass("change").siblings().removeClass("change");
  482. });
  483. });
  484. // $("#pace .cva").click(function() {
  485. // $("#pace .cva").eq($(this).index()).addClass("cur").siblings().removeClass('cur');
  486. // $(".on").hide().eq($(this).index()).show();
  487. // //另一种方法: $("div").eq($(".tab li").index(this)).addClass("on").siblings().removeClass('on');
  488. //
  489. // });
  490. //
  491. </script>
  492. </body>
  493. </html>