Light12306/Web12306/index.html
2014-09-02 21:41:17 +08:00

1103 lines
35 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>12306订票助手</title>
<link rel="stylesheet" type="text/css" href="css/index.css?$BUILD_DATE$">
</head>
<body>
<div class="wrap">
<header class="header-bar">
<div class="logo"><img src="images/logo.png" alt="" /></div>
<nav>
<ul class="user-nav">
<li class="selected">
<a href="/">
<i class="icon icon-index"></i>
<p>抢票首页</p>
</a>
</li>
<li>
<a href="https://kyfw.12306.cn/otn/queryOrder/init" target="_blank">
<i class="icon icon-order"></i>
<p>我的订单</p>
</a>
</li>
<li>
<a href="https://kyfw.12306.cn/otn/" target="_blank">
<i class="icon icon-12306"></i>
<p>访问12306</p>
</a>
</li>
<li>
<i class="icon icon-user"></i>
<div class="user-nav-user">
未登录
</div>
<dl class="user-nav-menu">
<dd>
<a href="javascript:;" id="acc_login" class="non-login">登录账号</a>
<a href="https://kyfw.12306.cn/otn/regist/init" target="_blank" class="non-login">注册新账号</a>
<a href="https://kyfw.12306.cn/otn/forgetPassword/initforgetMyPassword" target="_blank" class="non-login">忘记密码</a>
<a href="javascript:;" id="acc_logout" class="user-logined">退出账号</a>
</dd>
</dl>
</li>
<li>
<a id="index-tip-body" href="javascript:;">
<i class="icon icon-tips"><span class="order-num">1</span></i>
<p>系统通知</p>
</a>
<section class="search-tips-container">
<h5>
重要提示
<i class="fa fa-times fr"></i>
</h5>
<div>
铁道部的运营图有重要的调整,请注意查看网站通知
</div>
</section>
</li>
</ul>
</nav>
</header>
<section id="selltime_tip">
<ul>
<li>
<p><span></span></p>
<p>车票起售时间</p>
</li>
<li>
<p>高铁:</p>
<time>下午2:00</time>
</li>
<li>
<p>动车/城铁:</p>
<time>上午11:00</time>
</li>
<li>
<p>其它车次:</p>
<time></time>
</li>
</ul>
</section>
<article>
<script id="search_tips_template" type="text/x-dot-template">
{{~it:s:i}}
<header>
{{!s.title}}
{{?i==0}}
<i class="fa fa-times fr"></i>
{{?}}
</header>
<div>
{{!s.text}}
</div>
{{~}}
</script>
<!-- 搜索输入框 -->
<div class="search-box pr">
<div class="search-tips cl">
<div class="net-tips">
正在使用服务器:<strong>默认服务器</strong> (延迟:<strong></strong>ms)
</div>
<button id="swDnsSpeeding" class="button button-default button-mini">启用加速</button>
<div class="order-tips"></div>
</div>
<!-- form -->
<div class="search-form-wrap">
<ul class="search-form">
<li>
<label class="label-desc">出发城市</label>
<input required="" class="search-form-city ui-cityselector" id="from_city" autocomplete="off" type="text" name="from_city" placeholder="请填写出发城市" />
</li>
<li class="transfer-city">
<div class="transfer-city-btn"></div>
</li>
<li>
<label class="label-desc">到达城市</label>
<input class="search-form-city ui-cityselector" id="to_city" autocomplete="off" type="text" name="to_city" placeholder="请填写到达城市" />
</li>
<li class="select-date">
<label class="label-desc">乘车日期</label>
<input required="" class="search-form-date ui-date" data-profile-key="depDate" type="text" name="dep_date" id="dep_date" placeholder="请选择乘车日期" />
</li>
<li>
<div class="identity fl">
<label><input type="radio" name="ticket_type" value="0" checked="checked" id="ticket_type_common" />普通</label>
<label><input type="radio" name="ticket_type" value="1" id="ticket_type_stu" />学生</label>
</div>
</li>
<li>
<input class="submit-btn" id="btnQuery" type="button" value="查询余票" />
</li>
</ul>
<a class="search-more-option" href="javascript:;">
隐藏更多选项
</a>
<ul class="search-traintypes">
<li>
<label>
<input type="checkbox" value="" id="" />
全选
</label>
</li>
<li>
<label>
<input type="checkbox" value="G" id="" />
高铁(G)
</label>
</li>
<li>
<label>
<input type="checkbox" value="D" id="" />
动车(D)
</label>
</li>
<li>
<label>
<input type="checkbox" value="C" id="" />
城铁(C)
</label>
</li>
<li>
<label>
<input type="checkbox" value="Z" id="" />
直达(Z)
</label>
</li>
<li>
<label>
<input type="checkbox" value="T" id="" />
特快(T)
</label>
</li>
<li>
<label>
<input type="checkbox" value="K" id="" />
快车(K)
</label>
</li>
<li>
<label>
<input type="checkbox" value="1" id="" />
普快
</label>
</li>
<li>
<label>
<input type="checkbox" value="0" id="" />
其它
</label>
</li>
</ul>
</div>
</div>
<section id="book_sell_tip">
<header>
预售提醒
<a href="javascript:;">
<i class="fa fa-times"></i>
关闭
</a>
</header>
<div>
<p><time></time><span></span> 起售日期为<time></time><span>普通车次</span><time></time><span>动车/城铁</span><time>上午11:00</time><span>高铁</span><time>下午2:00</time>),建议<a href="javascript:;" class="act-openalarm">开启提醒</a></p>
<p>高峰期预售期可能有变动或增开临客因此预售期会有变动详情请密切留意12306公告。</p>
</div>
<footer>
<button class="button button-primary button-mini act-openalarm">
<i class="fa fa-check"></i>
开启提醒
</button>
</footer>
</section>
<!-- 其他设置条件 -->
<div class="options-param">
<dl class="cl offset-parent">
<dt>指定坐席:</dt>
<dd class="options-seat-type">
<script type="text/x-dot-template">
<ul>{{~it.order:seat:i}}<li data-code="{{=seat}}" class="{{=it.isRecommand(seat)?' recommand':''}} {{=it.isSelected(seat)?'recommand':''}}"><label><input type="checkbox" value="{{=seat}}" /> {{=it.getName(seat)}}</label></li>{{~}}</ul>
</script>
<script type="text/x-dot-template">
{{~it.order:seat:i}}
<span class="optional-block" data-code="{{=seat}}"> {{=it.getName(seat)}}<span class="close">x</span></span>{{~}}
</script>
<label><input type="text" class="options-input" id="travel-seat-select" placeholder="添加想要的席别" readonly="readonly" /></label>
</dd>
</dl>
<dl class="cl">
<dt>添加车次:</dt>
<dd class="options-train-selectorwarp">
<label><input type="text" class="options-input" placeholder="请选择或直接输入" /></label>
<script type="text/x-dot-template">
{{~it:t:i}}
<tr data-id="{{=t.id}}">
<td>{{=t.code}}</td>
<td>{{=t.from.name}}</td>
<td>{{=t.from.time}}</td>
<td>{{=t.to.name}}</td>
<td>{{=t.to.time}}</td>
<td>{{=t.elapsedTime.total.replace(':',"小时")}}</td>
</tr>
{{~}}
</script>
<script type="text/x-dot-template">
{{~it:t:i}}
<span class="optional-block" data-code="{{=t}}">{{=t}}<span class="close">x</span></span>
{{~}}
</script>
<script type="text/x-dot-template">
按类型添加
{{for(var i in it){}}
<a href="javascript:;" class="options-seat-type-advlink">{{=i}}</a>
{{}}}
</script>
<div>
<table>
<tr><td colspan="6"></td></tr>
<tr>
<th>车次</th>
<th>发站</th>
<th>发时</th>
<th>到站</th>
<th>到时</th>
<th>历时</th>
</tr>
<tr>
<td colspan="6">
<i class="fa fa-spin fa-spinner"></i>
正在查询中,请稍等...
</td>
</tr>
<tr>
<td colspan="6">
<i class="fa fa-times"></i>
请先设置站点和日期信息,再重新查询。
</td>
<tr>
<td colspan="6">
<i class="fa fa-times"></i>
车次查询失败,或没有查到任何车次。
</td>
</tr>
</table>
</div>
</dd>
</dl>
<dl class="cl offset-parent">
<dt>添加乘客:</dt>
<dd>
<div class="passenger-selector-wrap">
<label>
<input type="text" class="options-input" id="passenger-selector-id" placeholder="添加联系人..." />
</label>
<section class="passenger-selector">
<div class="passenger-search cl">
<div class="fl fa fa-plus passenger-selector-add"></div>
<div class="fr fa fa-search offset-parent">
<input type="text" id="passenger-selector-key" value="" placeholder="输入姓名/拼音/证件号搜索..." class="passenger-search-key" />
</div>
</div>
<div class="loading-indicator">
<i class="fa fa-spinner fa-spin"></i>
联系人正在加载中...
</div>
<div class="empty-indicator">
没有可选择的联系人。<br />
需要登录后才可查看联系人。
</div>
<script type="text/x-dot-template">
{{~it:p:i}}
<li data-id="{{!p.key}}" class="{{=ext.isSelected(p)?'selected':''}}">
{{!p.passenger_name}}
{{=p.passenger_type=="2"?"(儿童)":p.passenger_type=="3"?"(学生)":p.passenger_type=="4"?"(残军)":""}}
</li>
{{~}}
</script>
<div>
<button class="passenger-selector-add">
<i class="fa fa-plus"></i> 添加联系人
</button>
<button class="passenger-selector-refresh">
<i class="fa fa-refresh"></i> 刷新列表
</button>
</div>
<ul class="cl"></ul>
<div class="passenger-notverified">
<a href="https://kyfw.12306.cn/otn/passengers/init" target="_blank">
<i class="fa fa-exclamation-triangle"></i>
已隐藏未通过12306实名认证的联系人
</a>
</div>
<div class="passenger-selector-editor">
<label>
<input type="checkbox" data-profile-key="partialSubmitEnabled" value="1" id="" />
部分提交联系人
</label>
<label>
<input type="checkbox" data-profile-key="submitStuAsCommon" value="1" id="" />
为学生提交成人票
</label>
</div>
<div class="passenger-pager">
<button class="passenger-pager-prev" disabled="disabled">上一页</button>
<button class="passenger-pager-next">下一页</button>
</div>
</section>
</div>
<script type="text/x-dot-template">
{{~it:p:i}}
<span class="optional-block" data-id="{{!p.key}}">{{!p.passenger_name}}{{=p.passenger_type=="2"?"(儿童)":p.passenger_type=="3"?"(学生)":p.passenger_type=="4"?"(残军)":""}}<span class="close">x</span></span>
{{~}}
</script>
</dd>
</dl>
<dl class="cl">
<dt>备选日期:</dt>
<dd id="date_loop_editor">
<label><input type="text" class="options-input ui-date" readonly="readonly" data-keepopen="true" placeholder="请选择备选日期" /></label>
<script type="text/x-dot-template">
{{~it:d:i}}
<span class="optional-block" data-date="{{=d}}">{{=d}}<span class="close">x</span></span>
{{~}}
</script>
</dd>
</dl>
<dl class="cl">
<dt>更多选项:</dt>
<dd class="param-array">
<p>
<label>
<input type="checkbox" data-profile-key="hideNoTicket" value="1" id="" />
隐藏无票车次
</label>
<label>
<input type="checkbox" data-profile-key="hideNotInListTrain" value="1" id="" />
隐藏未选车次
</label>
<label>
<input type="checkbox" data-profile-key="autoWaitToSell" value="1" id="" />
自动等待起售
</label>
<label>
<input type="checkbox" data-profile-key="tryBottomSeat" value="1" id="" />
尝试预定下铺
</label>
<label>
<input type="checkbox" data-profile-key="selectSeatFirst" value="1" id="" />
席别优先
</label>
<label>
<input type="checkbox" data-profile-key="autoSubmitEnabled" value="1" id="" />
自动提交
</label>
<label>
刷新间隔
<input type="number" data-profile-key="autoRefreshDelay" min="1" max="30" value="5" id="" title="两次自动刷新之间的时间间隔,不建议过短" />
</label>
</p>
</dd>
</dl>
<div class="split"></div>
<dl class="cl">
<dt>出行计划:</dt>
<dd>
<div class="travel-theme-wrap">
<label><input type="text" class="options-input" id="travel-theme-select" placeholder="出行计划" readonly="readonly" /></label>
<section>
<script type="text/x-dot-template">
{{~it:t:i}}
<li class="{{=t.selected?'selected':''}}" data-name="{{!t.name||'undefined'}}">
{{!t.name||'未知'}}
<i class="fa fa-times"></i>
</li>
{{~}}
</script>
<ul></ul>
<button class="button button-primary button-block" id="btn-save-travel-theme">
<i class="fa fa-save"></i>
保存当前查询为出行计划
</button>
</section>
</div>
</dd>
</dl>
<button id="btnResetOptions" class="button button-default">重置选项</button>
</div>
<!-- 搜索结果 -->
<section id="suggestion">
<header>
<a href="javascript:;">
<i class="fa fa-times"></i>
关闭
</a>
购票提示
</header>
<script type="text/x-dot-template" id="train_suggestion">
<table>
<tbody>
{{?it.available&&it.available.length}}
<tr>
<th colspan="4">由于过路站因素您选择的站点暂时无票订票助手已为您跨站查出以下线路有票推荐您考虑购买</th>
</tr>
{{~it.available:l:li}}
{{~l.train:t:index}}
{{var line=_.findWhere(l.lines, {trainCode:t.code});}}
<tr class="{{=t.selected?'selected':''}}">
{{?index==0}}
<td class="train-linename" rowspan="{{=l.train.length}}">
<span>{{!l.fromText}}</span>
<span>{{!l.toText}}</span>
</td>
{{?}}
<td class="train-num">
<p>{{=t.code}}</p>
<a class="train-station-type" href="javascript:;" data-id="{{=t.id}}" data-from="{{=t.from.code}}" data-to="{{=t.to.code}}" data-date="{{=t.date}}">经停站</a>
</td>
<td class="train-extraprice">
{{?line&&line.isCrossDate}}<span title="此列车跨天,购买此站车票需要将购票时间提前一天">[跨天]</span>{{?}}
{{?!line}}
<p class="notavailable">暂时没有<br />加价信息</p>
{{??}}
<p>{{=ext.getOriginalDepInfo(line.trainCode)}}</p>
<p>需加价约 <span>{{=line.radio}}%</span></p>
{{?}}
</td>
<td class="train-seats">
{{var hasSeat=false;}}
{{~ext.param.seatDisplayOrder:code:cindex}}
{{
var t1=t.ticketMap[code];
if(!t1||!t1.count) continue;
hasSeat=true;
}}
<a href="javascript:void(0);" class="ticket-block {{=it.selectedSeats[code]?'ticket-block-selected':''}}" data-suggest="1" data-traincode="{{=t.id}}" data-seatcode="{{=code}}" data-sec="{{=t.secureStr}}">
<p><span>{{=t1.name}}</span></p>
<p class="row2">
<span class="ticket-num">{{=(t1.count?t1.count+"张":"无票")}} </span>
<span>¥{{=t1.price/10}}</span>
</p>
</a>
{{~}}
</td>
</tr>
{{~}}
{{~}}
{{??it.suggest&&it.suggest.length}}
<tr>
<th colspan="4">您选择的线路暂时无票订票助手正在后台为您监控以下跨站票</th>
</tr>
{{~it.suggest:l:li}}
<tr>
<td class="train-list">
{{?l.isCrossDate}}<span title="此列车跨天,购买此站车票需要将购票时间提前一天">[跨天]</span>{{?}}
<span>{{!l.fromText}}</span>
<span>{{!l.toText}}</span>
可选择车次 <span>{{=_.pluck(l.lines, "trainCode").join("</span>、<span>")}}</span>
</td>
<td class="train-extraprice" style="width:140px;">
需加价约 <span>{{=l.lines[0].radio}}%</span>
</td>
<td class="train-action" style="width:190px;">
<i class="fa fa-spin fa-circle-o-notch" style="margin-right:5px;"></i>
暂时无票正在监控
</td>
</tr>
{{~}}
{{?}}
</tbody>
</table>
</script>
<div style="display:block;" class="result">
</div>
<footer>
<strong>提示</strong> 跨站购票需要换取纸票,通过人工检票后在您所需要上车的站点上车,不可直接刷身份证入站。
</footer>
</section>
<!-- 月日期选择 -->
<div class="date-bar-wrap">
<div class="date-bar-prev fl">
<span class="arrow-left"></span>
</div>
<div class="date-bar fl">
<script type="text/x-dot-template" id="datebar-template">
{{~it:d:i}}
<li data-date="{{=d.datecode}}" class="{{=d.selected?'selected':''}}{{=d.disabled?' disabled':''}}">
<h5>{{=d.date}}</h5>
<span>{{=d.name}}</span>
</li>
{{~}}
</script>
<ul class="date-bar-list"></ul>
</div>
<div class="date-bar-next fl">
<span class="arrow-right"></span>
</div>
</div>
<div class="result" id="result">
</div>
</article>
</div>
<script type="text/x-dot-template" id="train_table">
<table class="{{?it.inAutoRefresh}}auto-refresh{{?}}">
<tr>
<th style="width:110px;">车次</th>
<th style="width:140px;">到时间</th>
<th style="width:130px;">到站</th>
<th>余票信息</th>
</tr>
{{?!it.auto&&it.enableAuto}}
<tr class="train-needauto" style='{{=it.inAutoRefresh?"display:none;":""}}'>
<td colspan="4">
没有符合要求的车次和席别
<button type="button" class="button button-primary" id="btn_start_autorefresh">
<i class="fa fa-refresh"></i>
&nbsp;
开始刷票
</button>
</td>
</tr>
{{?}}
{{~it.available:t:index}}
<tr class="{{=t.selected?'selected':''}}">
<td class="train-num">
<p>{{=t.code}}</p>
<a class="train-station-type" href="javascript:;" data-id="{{=t.id}}" data-from="{{=t.from.code}}" data-to="{{=t.to.code}}" data-date="{{=t.date}}">经停站</a>
</td>
<td class="train-info">
<p>{{=t.from.time}}{{=t.to.time}}</p>
<p>历时{{=t.elapsedTime.total.replace(':',"小时")}}</p>
</td>
<td class="train-city">
<p class="{{=t.from.endpoint?" start":""}}">{{=t.from.name}}</p>
<p class="{{=t.to.endpoint?" end":""}}">{{=t.to.name}}</p>
</td>
<td class="train-seats">
{{var hasSeat=false;}}
{{~ext.param.seatDisplayOrder:code:cindex}}
{{
var t1=t.ticketMap[code];
if(!t1||!t1.count) continue;
hasSeat=true;
}}
<a href="javascript:void(0);" class="ticket-block {{=it.selectedSeats[code]?'ticket-block-selected':''}}" data-traincode="{{=t.id}}" data-seatcode="{{=code}}">
<p><span>{{=t1.name}}</span></p>
<p class="row2">
<span class="ticket-num">{{=(t1.count?t1.count+"张":"无票")}} </span>
<span>¥{{=t1.price/10}}</span>
</p>
</a>
{{~}}
{{?(t.available==0||t.available==-1)&&!hasSeat}}
{{?t.selltime}}
<span class="train-notontime">{{=ext.utility.formatSellDate(t.selltime)}} 起售</span>
{{??t.limitSellInfo}}
<span class="train-limitsell">本车次{{!t.limitSellInfo}}</span>
{{??}}
<span class="train-notsell">本车次票已售完</span>
{{?}}
{{?? t.available==-2}}
<span class="train-notselect">本车次不在您的选择列表中</span>
{{?}}
</td>
{{~}}
{{?!it.original||!it.original.length}}
<tr class="train-empty">
<td colspan="4">
没有查询到车次请更换条件或时间试试..
</td>
</tr>
{{??!it.available||!it.available.length}}
<tr class="train-empty">
<td colspan="4">
所有车次均不符合您设置的条件被过滤请调整您的查询设置或更改条件
</td>
</tr>
{{?}}
</table>
</script>
<article id="save-travel-method" class="float-dialog">
<header>
新建出行计划
<i class="fa fa-times cancel-button"></i>
</header>
<section>
<form>
<p>您可以将当前的查询选项保存为出行计划,下一次就不用麻烦的重新填写啦,直接选择即可。</p>
<input type="text" value="" id="" maxlength="10" class="text text-block" placeholder="请输入出行模式名称" />
</form>
</section>
<footer data-col="2">
<button class="button button-default cancel-button">
<i class="fa fa-ban"></i>
&nbsp;&nbsp;&nbsp;&nbsp;
</button>
<button class="button button-primary">
<i class="fa fa-save"></i>
&nbsp;&nbsp;&nbsp;&nbsp;
</button>
</footer>
</article>
<script type="text/x-dot-template" id="train_stops_template">
{{~it:item:i}}
<tr class="{{=item.isEnabled?" ":" disabled"}}">
<td>{{!item.station_name}}</td>
<td>{{=item.arrive_time}}</td>
<td>{{=item.start_time}}</td>
<td>{{=item.stopover_time}}</td>
</tr>
{{~}}
</script>
<table id="train-stops">
<tr>
<th>站名</th>
<th>到达</th>
<th>发车</th>
<th>停留</th>
</tr>
<tr class="train-stops-loading">
<td colspan="5">
<i class="fa fa-spin fa-spinner"></i>
正在查询中,请稍等...
</td>
</tr>
<tr class="train-stops-failed">
<td colspan="5">
<i class="fa fa-times"></i>
查询失败
</td>
</tr>
</table>
<section id="user-login-dialog" class="float-dialog">
<header>
<span></span>
<i class="fa fa-times cancel-button"></i>
</header>
<div class="login-info">
<input type="text" value="" placeholder="请输入12306账号" />
<input type="password" value="" id="" placeholder="请输入登录密码" />
<a href="https://kyfw.12306.cn/otn/forgetPassword/initforgetMyPassword" target="_blank" class="help-link">忘记密码</a>
</div>
<div class="verify-code" data-target="login">
<input type="text" value="" id="" placeholder="验证码" />
<span></span>
<a href="javascript:;" class="refresh-vc">看不清?换一张</a>
</div>
<footer data-col="2">
<a class="button button-default" href="https://kyfw.12306.cn/otn/regist/init" target="_blank">
<i class="fa fa-user"></i>
注册账号
</a>
<button type="button" class="button button-primary">
<i class="fa fa-sign-in"></i>
登录账号
</button>
</footer>
</section>
<section id="ticket-submit-container" class="float-dialog" style="">
<div id="ticket-info">
<div class="banner">
<div class="time-info">
</div>
<div class="station-info"><span class="from-station"></span><span class="to-station"></span></div>
<div class="train-no">
</div>
</div>
<script id="ticket-passenger-template" type="text/x-dot-template">
{{~it:p:i}}
<tr>
<td>{{!p.passenger_name}}</td>
<td>{{=ext.param.passengerTypes[p.passenger_type]}}</td>
<td>{{=ext.param.toSeatTypeName(p.seat)}}</td>
</tr>
{{~}}
</script>
<table class="ticket-passenger">
<tr>
<th>乘车人</th>
<th>票种</th>
<th>席别</th>
</tr>
</table>
</div>
<div id="ticket-submit-rings">
<span></span>
<span></span>
</div>
<div id="ticket-submit-info">
<section class="ticket-submit-info-vc">
<header>
提交订单
<i class="fa fa-times cancel-button"></i>
</header>
<p class="ticket-submit-vc verify-code" data-target="order">
<input type="text" value="" maxlength="4" id="" placeholder="验证码" />
<span></span>
<a href="javascript:;" class="refresh-vc">换一张</a>
</p>
<p class="ticket-submit-status">
<i class="fa fa-spin fa-spinner"></i>
<i class="fa fa-check"></i>
<i class="fa fa-times"></i>
<span></span>
</p>
<p class="ticket-submit-button">
<button class="button button-block button-primary button-large">
<i class="fa fa-check-square"></i>
提 交 订 单
</button>
</p>
</section>
<section class="ticket-submit-info-status-failed">
<header>
出 票 失 败
<i class="fa fa-times cancel-button"></i>
</header>
<div>
<p>
<strong>错误信息:</strong>
<span></span>
</p>
<p>
<strong>购票提示:</strong>
提示余票不足时,请尽量更换车次或席别,看到的有票可能是系统错误。
<br />
当然,可以重试一次,如果依然如此,建议及时更换车次或席别。
</p>
</div>
<footer>
<button class="button button-primary">
<i class="fa fa-repeat"></i>
再次提交
</button>
<button class="button button-default cancel-button">
<i class="fa fa-ban"></i>
取消订票
</button>
</footer>
</section>
<section class="ticket-submit-info-status-ok">
<header>
订 票 成 功
<i class="fa fa-times cancel-button"></i>
</header>
<div>
<p>
<strong>订单号:</strong>
<span></span>
</p>
<p>
<strong>提示</strong>
请尽快换取纸票,以免耽误行程。需要退改签时,请尽早办理,手续费会有差别。
<br />
如果席别不理想,请改签。改签只能改签一次。
</p>
</div>
<footer>
<a class="button button-primary" href="https://kyfw.12306.cn/otn/queryOrder/initNoComplete" target="_blank">
<i class="fa fa-credit-card"></i>
立刻付款
</a>
<a class="button button-default" href="#" id="lnkShareWb" target="_blank">
<i class="fa fa-weibo"></i>
微博炫耀
</a>
</footer>
</section>
</div>
</section>
<section id="float-passenger-selector" class="float-dialog">
<header>
选择乘车人
<i class="fa fa-times cancel-button"></i>
</header>
<section class="float-passenger-selector-list">
<div class="toolbar">
<label>搜索联系人</label>
<div class="text-input-wrap">
<input type="text" value="" id="" placeholder="在列表中搜索..." />
<i class="fa fa-search"></i>
</div>
</div>
<script type="text/x-dot-template">
{{~it:p:i}}
<li data-name="{{!p.passenger_name}}" data-py="{{=p.first_letter}}" data-type="{{=p.passenger_type}}" data-idtype="{{=p.passenger_id_type_code}}" data-id="{{=p.passenger_id_no}}">
<label>
<input type="checkbox" value="" id="{{=p.key}}" />
{{!p.passenger_name}}
{{=p.passenger_type=="3"?"<span>(学生)</span>":p.passenger_type=="4"?"<span>(残军)</span>":""}}
</label>
</li>
{{~}}
</script>
<ul></ul>
</section>
<section class="float-passenger-selector-selected">
<script type="text/x-dot-template">
<li data-id="{{=it.key}}">
<span>
<i class="fa fa-times-circle"></i>
&nbsp;
{{!it.passenger_name}}
</span>
<select class="passenger-seat normal">
{{~it.seats:s:i}}
<option value="{{=s.code}}" {{=s.selected?"selected='selected'":""}}>{{=s.name}}({{=s.price/10}})</option>
{{~}}
</select>
<select class="passenger-type normal">
{{~it.ticketTypes:t:i}}
<option value="{{=t.id}}">{{=t.name}}</option>
{{~}}
</select>
{{?it.canAddChildren}}
<a href="javascript:;" class="add-child-ticket">
添加儿童票
</a>
{{?}}
</li>
</script>
<ul></ul>
</section>
<footer>
<a href="javascript:;" class="create-passenger" style="display:none;">添加联系人</a>
<button class="button button-primary">
<i class="fa fa-check-square"></i>
确认选择
</button>
</footer>
</section>
<article id="auto_refresh">
<div class="container-wrap">
<i class="ticket-logo"></i>
<section class="auto-refresh-info">
<p>
已刷新<span></span>次,用时<span></span><span></span>
</p>
<p>
<i class="fa fa-spin fa-spinner"></i>
距下次刷新还有 <span></span> 秒...
</p>
<p style="display:none;">
<i class="fa fa-spin fa-spinner"></i>
正在查询...
</p>
<p>
<label>
<input type="checkbox" data-option-key="soundPrompt" value="1" id="" />
有票时声音提醒
</label>
<button type="button" class="button button-default" id="btn_stop_sound" style="display:none;">
<i class="fa fa-stop"></i>
停止声音
</button>
</p>
</section>
<button type="button" class="button button-default" id="btn_stop_refresh">
<i class="fa fa-stop"></i>
停止刷票
</button>
</div>
</article>
<article id="music_controller">
<button type="button" class="button button-block button-large button-primary">
<i class="fa fa-stop"></i>
关闭音乐
</button>
</article>
<article id="chat">
<section id="chat_float_tip">
当前有 <span></span> 位票友正在聊天,快来加入吧!
</section>
<section id="chat_frame">
<header>
<i class="fa fa-users"></i>
聊天室
</header>
<section id="chat_server_select" class="chat-page">
<header>
<i class="fa fa-cube"></i>
亲,请选择房间
</header>
<script type="text/x-dot-template">
<h1>{{!it.category}}</h1>
<ul>
{{~it.list:s:i}}
<li data-id="{{!s.id}}" class="chat-server-status-{{!s.statusName}}">
{{!s.name}}
{{=s.statusName=="full"?"<em>(已满)</em>":s.statusName=='closed'?"<em>(已关闭)</em>":""}}
<span>({{=s.onlinecount+''}})</span>
</li>
{{~}}
</ul>
</script>
<article></article>
<footer>
<button type="button" class="button button-default">
<i class="fa fa-arrow-left"></i>
退出聊天
</button>
</footer>
</section>
<section id="chat_container" class="chat-page">
<header>
当前房间:
<span></span>
<span></span>
</header>
<script type="text/x-dot-template" id="chat_sys_alert">
<section class="chat-item chat-item-alert">
<i class="fa fa-exclamation-triangle"></i>
您已经进入了 <span>{{!it.name}}</span>线 <span class="chat-online-count">{{=it.onlinecount}}</span> <a href=""></a>
</section>
</script>
<script type="text/x-dot-template" id="chat_connect_server">
<section class="chat-item chat-state chat-state-{{!it.state}}">
<i class="fa {{!it.stateIcon}}"></i>
{{!it.msg}}
{{=it.exinfo||""}}
</section>
</script>
<script type="text/x-dot-template" id="chat_msg_item">
<section class="chat-item {{=it.self?'chat-item-self':'chat-item-receive'}} {{=it.tome?'chat-item-target':''}} {{=it.secret?'chat-item-private':''}} {{=it.sys?'chat-item-system':''}}">
<header>
<span>
{{?it.self}}
<strong></strong>
{{??}}
<a href="javascript:;" class="chat-item-at" data-un="{{!it.from.username}}">{{!it.from.realname}}</a>
{{?}}
{{?it.target&&it.target.length}}
<em></em>
{{~it.target:t:i}}
{{?t.username}}
<a href="javascript:;" class="chat-item-at" data-un="{{!t.username}}">{{!t.realname}}</a>
{{??}}
<strong></strong>
{{?}}
{{~}}
<em></em>
{{?}}
</span>
</header>
<time>{{!it.timeStr}}</time>
<section>
{{~it.items:item:idx}}
<div style="color:{{!item.color}};">{{=item.text}}</div>
{{~}}
</section>
</section>
</script>
<article class="chat-items"></article>
<section class="chat-editor">
<header>
<input type="color" value="" class="chat-editor-color" />
<button type="button" class="chat-btn-cls">清屏</button>
</header>
<section contenteditable="true" class="chat-editor-container"></section>
<footer>
<button type="button" class="button button-default">
<i class="fa fa-arrow-left"></i>
退出聊天
</button>
<button type="button" class="button button-primary">
<i class="fa fa-send"></i>
发送信息
</button>
</footer>
</section>
</section>
</section>
</article>
<div class="modal-dialog">
<header><span></span><i class="fa fa-times close"></i></header>
<div>
</div>
<footer></footer>
</div>
<section id="passenger_editor">
<header>
基本信息
<span>
暂不支持学生票。如果联系人信息无法通过<a target="_blank" href="http://www.12306.cn/mormhweb/zxdt/201402/t20140223_1435.html">实名认证</a>,将无法订票。
</span>
</header>
<dl>
<dt>姓名:</dt>
<dd>
<input type="text" class="txt-input" value="" id="" />
</dd>
<dt>证件类型:</dt>
<dd>
<select class="normal">
<option value="1">
二代身份证
</option>
<option value="C">
港澳通行证
</option>
<option value="G">
台湾通行证
</option>
<option value="B">
护照
</option>
</select>
</dd>
<dt>证件号码:</dt>
<dd>
<input type="text" class="txt-input txt-input-block" value="" />
</dd>
<dt>乘客类型:</dt>
<dd>
<select class="pastype normal">
<option value="1">成人票</option>
<option value="2">儿童票</option>
<option value="4">残军票</option>
</select>
</dd>
</dl>
</section>
<section id="selltip_selection">
<ul>
<li>
<label>
<input type="checkbox" /> <strong>全部</strong><span></span>趟车
</label>
</li>
<li>
<label>
<input type="checkbox" /> <strong>高铁</strong><span></span>趟车下午2:00起售
</label>
</li>
<li>
<label>
<input type="checkbox" /> <strong>动车/城铁</strong><span></span>趟车上午11:00起售
</label>
</li>
<li>
<label>
<input type="checkbox" /> <strong>普通列车(K/T/Z/其它)</strong><span></span>趟车, <time></time>起售
</label>
</li>
</ul>
</section>
<script src="js/modules/jquery/jquery.js"></script>
<script src="js/modules/underscore/underscore.js"></script>
<script src="js/modules/doT.js"></script>
<script src="js/modules/seajs/sea.js"></script>
<script src="js/boot.js"></script>
</body>
</html>