Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 

180 rindas
8.1 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>选择车票</title>
  6. <link rel="stylesheet" type="text/css" href="./css/ace.min.css" />
  7. <link rel="stylesheet" type="text/css" href="./css/bootstrap.min.css" />
  8. <link rel="stylesheet" type="text/css" href="./css/bootstrap-timepicker.css" />
  9. <link rel="stylesheet" type="text/css" href="./css/font-awesome.min.css" />
  10. <link rel="stylesheet" type="text/css" href="./css/daterangepicker.css" />
  11. <link rel="stylesheet" type="text/css" href="./css/datepicker.css" />
  12. <link rel="stylesheet" type="text/css" href="./css/master.css">
  13. <link rel="stylesheet" type="text/css" href="./css/Page.css">
  14. <script type="text/javascript" src="./js/jquery-2.0.3.min.js"></script>
  15. <script type="text/javascript" src="./js/date-time/bootstrap-datepicker.min.js"></script>
  16. <script type="text/javascript" src="./js/date-time/bootstrap-timepicker.min.js"></script>
  17. <script type="text/javascript" src="./js/Page.js"></script>
  18. <script type="text/javascript" src="./js/select_ticket.js"></script>
  19. <script src="js/jquery.cookie.js"></script>
  20. <script src="js/base_path.js" type="text/javascript" charset="utf-8"></script>
  21. <!--<script src="js/xm.js"></script>
  22. <script>
  23. login();
  24. </script>-->
  25. </head>
  26. <body style="font-size: 12px;" style="margin-bottom: 0px;">
  27. <!--<div class="navbar navbar-default">
  28. <div class="navbar-header ">
  29. <a href="#" class="navbar-brand">
  30. <i class="icon-leaf"></i>
  31. CS System<sub style="font-size:12px;position: initial;">&nbsp;<span id="version_txt"></span></sub>
  32. </a>
  33. </div>
  34. </div>
  35. <div id="show_html" style="display:none;" class="warp clearfix">
  36. <div class="control-bar"></div>
  37. <div class="control-show" style="float: left;">-->
  38. <div id="">
  39. <!--
  40. 作者:刘兵
  41. 时间:2016-06-03
  42. 描述:add start
  43. -->
  44. <div class="page-content" style="width: 1225px;margin-left: 40px; margin-top: 30px;">
  45. <div class="row">
  46. <form class="form-horizontal" role="form">
  47. <div class="form-group">
  48. <label class="col-sm-1 control-label no-padding-right" style="width: auto; font-size: 12px; margin-top:2px;">线路:</label>
  49. <div class="col-sm-1">
  50. <input id="run_line" class="form-control" type="text" style="font-size: 12px; height:30px;"/>
  51. </div>
  52. <label class="col-sm-1 control-label no-padding-right" style="width: auto; font-size: 12px; margin-top:2px;">出发地:</label>
  53. <div class="col-sm-1">
  54. <input id="startArea" class="form-control" type="text" style="font-size: 12px; height:30px;"/>
  55. </div>
  56. <label class="col-sm-1 control-label no-padding-right" style="width: auto; font-size: 12px; margin-top:2px;">目的地:</label>
  57. <div class="col-sm-1">
  58. <input id="endArea" class="form-control" type="text" style="font-size: 12px; height:30px;"/>
  59. </div>
  60. <label class="col-sm-1 control-label no-padding-right" style="width: auto; font-size: 12px; margin-top:2px;">出发日期:</label>
  61. <div class="col-sm-1" style="width: 12%;padding-right: 3px;">
  62. <div class="input-group">
  63. <input id="id-date-picker-1" class="form-control date-picker" data-date-format="yyyy-mm-dd" type="text" placeholder="选择日期" style="font-size: 12px; height:30px;">
  64. <span class="input-group-addon">
  65. <i class="icon-calendar bigger-110"></i>
  66. </span>
  67. </div>
  68. </div>
  69. <!--
  70. <div class="col-sm-1" style="width: 12%;padding-left: 3px; padding-right: 1px;">
  71. <div class="input-group bootstrap-timepicker">
  72. <input id="timepicker1" type="text" class="form-control" style="font-size: 12px;"/>
  73. <span class="input-group-addon">
  74. <i class="icon-time bigger-110"></i>
  75. </span>
  76. </div>
  77. </div>
  78. <label class="col-sm-1 control-label no-padding-right" style="width: auto; font-size: 12px;">-</label>
  79. <div class="col-sm-1" style="width: 12%;">
  80. <div class="input-group bootstrap-timepicker">
  81. <input id="timepicker2" type="text" class="form-control" style="font-size: 12px;"/>
  82. <span class="input-group-addon">
  83. <i class="icon-time bigger-110"></i>
  84. </span>
  85. </div>
  86. </div>
  87. -->
  88. <div class="col-sm-1" style="width: 7%; padding-right: 2px;">
  89. <span id="before" class="btn" style="font-size: 12px; height:30px;" onclick="before()">前一天</span>
  90. </div>
  91. <div class="col-sm-1" style="width: 7%; padding-right: 2px;">
  92. <span id="after" class="btn" style="font-size: 12px; height:30px;" onclick="after()">后一天</span>
  93. </div>
  94. <!-- <label class="col-sm-1 control-label no-padding-right" style="width: auto; font-size: 12px; margin-top:2px;">座位:</label>
  95. <div class="col-sm-1" style="width: auto;">
  96. <select id="seat" style="font-size: 12px;">
  97. <option value="" selected="selected" style="font-size: 12px;">不限</option>
  98. <option value="普通座" style="font-size: 12px;">普通座</option>
  99. <option value="贵宾座" style="font-size: 12px;">贵宾座</option>
  100. </select>
  101. </div> -->
  102. <div class="col-sm-1" style="width: 7%; padding-right: 2px;">
  103. <span class="btn" style="font-size: 12px; height:30px;" onclick="query()">查询</span>
  104. </div>
  105. </div>
  106. </form>
  107. </div>
  108. <div class="row">
  109. <div>
  110. <div class="table-responsive" style="width: 1225;">
  111. <table id="ticketTable" class="table table-striped table-bordered table-hover" style="display: none;">
  112. <thead>
  113. <tr>
  114. <th style="width: 100px;">出发地</th>
  115. <th style="width: 100px;">目的地</th>
  116. <th style="width: 240px;">线路</th>
  117. <th style="width: 120px;">出发日期</th>
  118. <th style="width: 120px;">出发时间</th>
  119. <th style="width: 120px;">到达时间</th>
  120. <th style="width: 90px;">座位等级</th>
  121. <!--<th style="width: 90px;">人群</th>-->
  122. <th style="width: 80px;">价格</th>
  123. <th style="width: 80px;">库存</th>
  124. <th style="width: 80px;">操作</th>
  125. </tr>
  126. </thead>
  127. <tbody id="tableTicket">
  128. <tr>
  129. <td style="width: 100px;">出发地</td>
  130. <td style="width: 100px;">目的地</td>
  131. <td style="width: 240px;"><a>线路</a>area</td>
  132. <td style="width: 120px;">出发日期</td>
  133. <td style="width: 120px;">出发时间</td>
  134. <td style="width: 120px;">到达时间</td>
  135. <td id="st" style="width: 90px;">
  136. <div style="color: #CCCCCC;">[seat]</div>
  137. </td>
  138. <!--<td id="crowd" style="width: 90px;">
  139. <div style="color: #CCCCCC;" >[crowd]</div>
  140. </td>-->
  141. <td id="price" style="width: 80px;">
  142. <div style="color: #CCCCCC;" >[price]</div>
  143. <!--</td style="width: 100px;">-->
  144. <td id="stock" style="width: 90px;">
  145. <div style="color: #CCCCCC;" >[stock]</div>
  146. </td>
  147. <td id="order" style="width: 90px;">
  148. <div><a style="cursor: pointer;" disabled="true" target="_blank" href="[html].html?id=[id]&run_id=[run_id]&run_date=[run_date]" onclick="book(0)">订票</a></div>
  149. </td>
  150. </tr>
  151. </tbody>
  152. </table>
  153. </div>
  154. </div>
  155. </div>
  156. <div id="page"></div>
  157. </div>
  158. <!--
  159. 作者:作者:刘兵
  160. 时间:2016-06-03
  161. 描述:add end
  162. -->
  163. </div>
  164. <!--</div>-->
  165. </body>
  166. <!--<script type="text/javascript" src="./js/master.js"></script>-->
  167. <script type="text/javascript">
  168. $('.date-picker').datepicker({autoclose:true}).next().on("click", function(){$(this).prev().focus();});
  169. // $('#timepicker1').timepicker({minuteStep: 1,showSeconds: false,showMeridian: false}).next().on("click", function(){$(this).prev().focus();});
  170. // $('#timepicker2').timepicker({minuteStep: 1,showSeconds: false,showMeridian: false}).next().on("click", function(){$(this).prev().focus();});
  171. </script>
  172. </html>