1331 lines
44 KiB
HTML
1331 lines
44 KiB
HTML
<!DOCTYPE html>
|
||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
<title>猎豹抢票大师</title>
|
||
<meta name="keywords" content="抢票、抢票软件、抢票神器、抢票日历、12306抢票、猎豹抢票、手机抢票、自动刷票、自动抢票、抢票助手、网上订票、订票流程">
|
||
<meta name="description" content="查询今日可预订车票,登录12306帐号,设置抢票车次、席别开始自动刷票,抢到票后猎豹抢票大师会发出付款提醒,避免错过付款时间!">
|
||
<link rel="stylesheet" type="text/css" href="css/index.css?$BUILD_DATE$">
|
||
</head>
|
||
<body>
|
||
<div class="wrap">
|
||
<header class="header-bar">
|
||
<div class="header-back"></div>
|
||
<div class="logo"><img src="images/logo.new.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>
|
||
<a href="javascript:;" id="acc_cleardata" class="user-cleardata">清空数据</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"></section>
|
||
</li>
|
||
</ul>
|
||
</nav>
|
||
</header>
|
||
<section id="selltime_tip">
|
||
<script id="selltime_tip_tpl" type="text/x-dot-template">
|
||
<li>
|
||
<p>车票起售时间</p>
|
||
</li>
|
||
{{~it.times:v:i}}
|
||
{{if(!v)continue;}}
|
||
<li>
|
||
<p>{{=v.name}}</p>
|
||
<time>{{=v.time}}</time>
|
||
</li>
|
||
{{~}}
|
||
<!--li>
|
||
<a href="{{=it.url}}" target="_blank">特价机票</a>
|
||
</li-->
|
||
</script>
|
||
<ul></ul>
|
||
</section>
|
||
<article class="wrap-inner">
|
||
<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="order-tips"></div>
|
||
<button id="swDnsSpeeding" class="button button-default button-mini">启用加速</button>
|
||
<div class="net-tips">
|
||
正在使用服务器:<strong>默认服务器</strong> (延迟:<strong></strong>)
|
||
</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="" />
|
||
高铁
|
||
</label>
|
||
</li>
|
||
<li>
|
||
<label>
|
||
<input type="checkbox" value="D" id="" />
|
||
动车
|
||
</label>
|
||
</li>
|
||
<li>
|
||
<label>
|
||
<input type="checkbox" value="C" id="" />
|
||
城铁
|
||
</label>
|
||
</li>
|
||
<li>
|
||
<label>
|
||
<input type="checkbox" value="Z" id="" />
|
||
直达
|
||
</label>
|
||
</li>
|
||
<li>
|
||
<label>
|
||
<input type="checkbox" value="T" id="" />
|
||
特快
|
||
</label>
|
||
</li>
|
||
<li>
|
||
<label>
|
||
<input type="checkbox" value="K" id="" />
|
||
快车
|
||
</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>(<time></time>),建议
|
||
<!--<a href="javascript:;" class="act-openalarm">开启提醒</a>-->
|
||
|
||
<button class="button button-primary button-mini act-openalarm">
|
||
<i class="fa fa-check"></i>
|
||
开启提醒
|
||
</button>
|
||
</p>
|
||
<p>高峰期预售期可能有变动或增开临客,因此预售期会有变动,详情请密切留意12306公告。</p>
|
||
</div>
|
||
<!--<footer>
|
||
领最高100打车券
|
||
</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>
|
||
<label style="display:none;" id="opt_seat_first">
|
||
<input type="checkbox" data-profile-key="selectSeatFirst" value="1" id="" />
|
||
席别优先
|
||
</label>
|
||
<label style="display:none;" id="opt_seat_tb">
|
||
<input type="checkbox" data-profile-key="tryBottomSeat" value="1" id="" />
|
||
尝试预定下铺
|
||
</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" title="点击添加儿童票" 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>
|
||
<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>
|
||
<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 style="display:none;">
|
||
<input type="checkbox" data-profile-key="autoWaitToSell" value="1" id="" />
|
||
自动等待起售
|
||
</label>
|
||
<label style="display:none;">
|
||
<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>
|
||
</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, {tid:t.id});}}
|
||
<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>需向12306多付钱约 <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>
|
||
{{?t1.price>0.01}}<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;">
|
||
需向12306多付钱约 <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> 跨站购票需要换取纸票,通过人工检票后在您原来的<span></span>站上车、<span></span>站下车,发车时间以<span></span>站发车时间为准。
|
||
</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>
|
||
<!--一次中转-->
|
||
<section id="oncetrainsit" style="display:none;">
|
||
<header>
|
||
<a href="javascript:;">
|
||
<i class="fa fa-times"></i>
|
||
关闭
|
||
</a>
|
||
车站中转推荐
|
||
|
||
<ul>
|
||
<li>
|
||
<label><input type="radio" name="tt_level" value="3" id="" /> 显示全部线路及不推荐线路</label>
|
||
</li>
|
||
<li>
|
||
<label><input type="radio" name="tt_level" value="2" id="" /> 显示全部线路</label>
|
||
</li>
|
||
<li>
|
||
<label><input type="radio" name="tt_level" checked="checked" value="1" id="" /> 仅显示推荐线路</label>
|
||
</li>
|
||
</ul>
|
||
</header>
|
||
<section></section>
|
||
<script type="text/x-dot-template">
|
||
{{var lastCity;}}
|
||
<table>
|
||
<colgroup>
|
||
<col style="width:70px;" />
|
||
<col style="width:100px;" />
|
||
<col style="width:30px;" />
|
||
<col style="width:100px;" />
|
||
<col style="width:100px;" />
|
||
</colgroup>
|
||
<colgroup>
|
||
<col style="width:70px;" />
|
||
<col style="width:100px;" />
|
||
<col style="width:30px;" />
|
||
<col style="width:100px;" />
|
||
<col style="width:100px;" />
|
||
</colgroup>
|
||
<colgroup style="width:110px;" />
|
||
<tr class="header">
|
||
<th colspan="5">前车信息</th>
|
||
<th colspan="5">后车信息</th>
|
||
<th>
|
||
<strong>总耗时</strong> / 等候
|
||
</th>
|
||
</tr>
|
||
{{~it.showLines:line:index}}
|
||
{{?ext.l>1&&lastCity!==line.first.to}}
|
||
{{lastCity=line.first.to}}
|
||
<tr class="catalog">
|
||
<th colspan="11">
|
||
<i class="fa fa-star"></i>
|
||
中转站:<strong>{{!line.first.toName}}</strong>
|
||
</th>
|
||
</tr>
|
||
{{?}}
|
||
<tr class="sub {{=line.ne?'':'recommand'}}">
|
||
<th rowspan="2">{{=line.first.train.code}}</th>
|
||
<th>
|
||
<span class="{{=line.first.fe?'fe':''}}">
|
||
{{!line.first.fromName}}
|
||
</span>
|
||
</th>
|
||
<th rowspan="2">
|
||
<i class="fa fa-angle-right"></i>
|
||
</th>
|
||
<th>
|
||
<span class="{{=line.first.ae?'ae':''}}">
|
||
{{!line.first.toName}}
|
||
</span>
|
||
</th>
|
||
<th rowspan="2">
|
||
历时
|
||
<br />
|
||
{{!line.first.elapsedStr}}
|
||
</th>
|
||
<th rowspan="2">{{=line.second.train.code}}</th>
|
||
<th>
|
||
<span class="{{=line.second.fe?'fe':''}}">
|
||
{{!line.second.fromName}}
|
||
</span>
|
||
</th>
|
||
<th rowspan="2">
|
||
<i class="fa fa-angle-right"></i>
|
||
</th>
|
||
<th>
|
||
<span class="{{=line.second.ae?'ae':''}}">
|
||
{{!line.second.toName}}
|
||
</span>
|
||
</th>
|
||
<th rowspan="2">
|
||
历时
|
||
<br />
|
||
{{!line.second.elapsedStr}}
|
||
</th>
|
||
<th><strong>{{=line.totalTimeStr}}</strong></th>
|
||
</tr>
|
||
<tr class="{{=line.ne?'':'recommand'}}">
|
||
<th>{{=line.first.leftShort}}</th>
|
||
<th>
|
||
{{=line.first.arriveShort}}
|
||
{{?line.first.days>0}}
|
||
<span class="remark remark-mini remark-primary" title="隔{{=line.first.days}}天">+{{=line.first.days}}</span>
|
||
{{?}}
|
||
</th>
|
||
<th>
|
||
{{=line.second.leftShort}}
|
||
{{?line.second.leftDays>0}}
|
||
<span class="remark remark-mini remark-primary" title="隔{{=line.second.leftDays}}天">+{{=line.second.leftDays}}</span>
|
||
{{?}}
|
||
</th>
|
||
<th>
|
||
{{=line.second.arriveShort}}
|
||
{{?line.second.arriveDays>0}}
|
||
<span class="remark remark-mini remark-primary" title="隔{{=line.second.arriveDays}}天">+{{=line.second.arriveDays}}</span>
|
||
{{?}}
|
||
</th>
|
||
<th><time>{{=line.waitTimeStr}}</time></th>
|
||
</tr>
|
||
<tr class="ticket-container">
|
||
<td colspan="5" data-traincode="{{=line.first.train.code}}" data-trainid="{{=line.first.train.id}}" data-date="{{=line.first.left.split(' ')[0]}}" data-fromcode="{{=line.first.from}}" data-tocode="{{=line.first.to}}">
|
||
<span class="loading">
|
||
<i class="fa fa-spinner fa-spin"></i>
|
||
|
||
正在查询余票...
|
||
</span>
|
||
</td>
|
||
<td colspan="5" data-traincode="{{=line.second.train.code}}" data-trainid="{{=line.second.train.id}}" data-date="{{=line.second.left.split(' ')[0]}}" data-fromcode="{{=line.second.from}}" data-tocode="{{=line.second.to}}">
|
||
<span class="loading">
|
||
<i class="fa fa-spinner fa-spin"></i>
|
||
|
||
正在查询余票...
|
||
</span>
|
||
</td>
|
||
<td class="text-align-center">
|
||
{{?line.ne}}
|
||
{{?line.transitWarning}}
|
||
<span class="remark remark-warning" title="需要更改车站,但时间预留低于2.5小时,可能会需要提前考虑可行性。务必规划好时间和行程。">换站时间紧张</span>
|
||
{{??}}
|
||
<span class="remark remark-warning" title="需要变更车站,请提前规划好行程。">需要换车站</span>
|
||
{{?}}
|
||
{{?}}
|
||
</td>
|
||
</tr>
|
||
{{~}}
|
||
</table>
|
||
|
||
</script>
|
||
<footer>
|
||
订票助手会在后台为您刷新以上余票信息。
|
||
</footer>
|
||
</section>
|
||
</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.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>
|
||
{{?t.dp}}
|
||
<span class="train-dp" title="难度指数:{{!t.dp.star}} ({{!t.dp.point}}, 仅供参考)。{{!t.dp.desc}}" style="background: {{!t.dp.color}};">{{!t.dp.name}}</span>
|
||
{{?}}
|
||
</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=ext.param.findSeatData(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="{{=t1.code}}">
|
||
<p><span>{{=t1.name}}</span></p>
|
||
<p class="row2">
|
||
<span class="ticket-num">{{=(t1.count?t1.count+"张":"无票")}} </span>
|
||
{{?t1.price>0.01}}<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.preStationInfo||""}}
|
||
{{??t.limitSellInfo}}
|
||
<span class="train-limitsell">本车次{{!t.limitSellInfo}}</span>
|
||
{{??t.controlFlag!==0}}
|
||
<span class="train-limitsell">{{!t.controlMessage}}</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">
|
||
{{?it.notInSellTime}}
|
||
您所选的日期不在预售期内
|
||
{{??}}
|
||
没有查询到车次,请更换日期或尝试查询中转
|
||
{{?}}
|
||
</td>
|
||
</tr>
|
||
{{??!it.available||!it.available.length}}
|
||
<tr class="train-empty">
|
||
<td colspan="4">
|
||
所有车次均不符合您设置的条件被过滤,请调整您的查询设置或更改条件。
|
||
</td>
|
||
</tr>
|
||
{{?}}
|
||
{{?it.hasSuggest}}
|
||
<tr>
|
||
<td colspan="4" class="train-list-suggest">
|
||
<ul>
|
||
{{?it.suggestMoreStat}}
|
||
<li>
|
||
<i class="fa fa-info-circle"></i>
|
||
大部分车次均为过路车,建议查查跨站票
|
||
</li>{{?}}{{?it.suggestTransit}}
|
||
<li>
|
||
<i class="fa fa-info-circle"></i>
|
||
车次结果较少,如果购票遇到困难可参考中转换乘
|
||
</li>{{?}}
|
||
</ul>
|
||
</td>
|
||
</tr>
|
||
{{?}}
|
||
<tr style='{{=it.notInSellTime||ext.cp.studentTicket||it.showTransit||ext.cp.resign?"display:none;":""}}'>
|
||
<td colspan="4" class="train-list-func">
|
||
<button type="button" class="button button-primary" id="btn_start_transit">
|
||
<i class="fa fa-exchange"></i>
|
||
|
||
查询中转换乘
|
||
</button>
|
||
</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>
|
||
取 消
|
||
</button>
|
||
<button class="button button-primary">
|
||
<i class="fa fa-save"></i>
|
||
保 存
|
||
</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 class="verify-code-image"></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="" id="" placeholder="验证码" />
|
||
<span class="verify-code-image"></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>12306返回信息:</strong>
|
||
<span></span>
|
||
</p>
|
||
<p>
|
||
<strong>提示:</strong>
|
||
提示没有足够的票时,请尽量更换车次或席别,或<a href="http://www.chubao.cn/s/qiangpiao/index.html" style="color:blue;text-decoration:underline;" target="_blank">使用电话订票</a>。
|
||
</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>
|
||
<!--<div class="ticket-submit-failed-bd">
|
||
<a href="javascript:;" class="bd-bx" target="_blank"></a>
|
||
<a href="http://bj.ppzuche.com/ticket/signup?utm_source=liebaoqiangpiao" target="_blank" class="bd-dd"></a>
|
||
</div>-->
|
||
</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>
|
||
请尽快换取纸票,以免耽误行程。需要退改签时,请尽早办理,只能改签一次。
|
||
</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>
|
||
<div class="ticket-submit-success-bd">
|
||
<span>
|
||
恭喜获得易到用车<i></i>
|
||
</span>
|
||
<a class="button button-primary" href="http://t.cn/RzYqr9C" target="_blank">立刻绑定</a>
|
||
</div>
|
||
</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>
|
||
<button class="button-toolbar" id="btnRefreshPassOrder">
|
||
<i class="fa fa-refresh"></i> 刷新列表
|
||
</button>
|
||
</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>
|
||
|
||
{{!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>0.01}}(¥{{=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>
|
||
<a href="#" class="lnk-bd-bx" target="_blank">去百姓网与老乡拼车回家过大年</a>
|
||
<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">
|
||
<div class="close">
|
||
<i class="fa fa-caret-right"></i>
|
||
</div>
|
||
<div>
|
||
聊天室<span></span>人在线
|
||
</div>
|
||
</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> 人。禁止出现任何推广信息。
|
||
</section>
|
||
<section class="chat-item chat-item-warning">
|
||
<i class="fa fa-exclamation-triangle"></i>
|
||
<strong>系统提醒:</strong>12306对过路站限售,请尽量避免选择过路车尤其是直达/特快的过路车。放票时间12306频繁出错以及强制退出登录,请耐心重试。无法提交订单是因为票不够,请重试。放票是分批、随机的,请多试试。
|
||
<br />
|
||
<strong>遇到问题反馈渠道:</strong>
|
||
<br />
|
||
<a href="http://bbs.liebao.cn/forum-2-1.html" target="_blank">猎豹论坛</a> | <a href="http://weibo.com/liebaocn" target="_blank">猎豹官微</a> | <a href="http://www.fishlee.net/about/" target="_blank">订票求助</a> | <a href="http://weibo.com/imcfish" target="_blank">木鱼微博</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_sys_message">
|
||
<section class="chat-item chat-item-{{!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 data-chatid="{{=it.id}}" 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':''}}" style="{{=it.fromUser.exStyle||''}}">
|
||
<header>
|
||
<span>
|
||
{{?it.self}}
|
||
<strong>我</strong>
|
||
{{??}}
|
||
<a href="javascript:;" class="chat-item-at" data-un="{{!it.fromUser.username}}">{{!it.fromUser.realname}}</a>
|
||
{{?}}
|
||
{{?it.toUsers&&it.toUsers.length}}
|
||
<em>对</em>
|
||
{{~it.toUsers: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>
|
||
<div style="{{!'color:'+it.color}};">
|
||
{{=it.content}}
|
||
</div>
|
||
{{~it.images:item:idx}}
|
||
<img src="{{=item}}" />
|
||
{{~}}
|
||
</section>
|
||
{{?!it.self}}
|
||
<footer>
|
||
[<a href="javascript:;" class="chat-reportabuse">举报</a>]
|
||
</footer>
|
||
{{?}}
|
||
</section>
|
||
</script>
|
||
<article class="chat-items"></article>
|
||
<section class="chat-editor">
|
||
<header>
|
||
<button type="button" class="chat-btn-emoji"><i class="fa fa-smile-o"></i></button><div class="editor-group"><input type="file" id="chat_file" accept="image/*" /><button type="button" class="chat-btn-pic"><i class="fa fa-image"></i></button></div><input type="color" value="" class="chat-editor-color" /><button type="button" class="chat-btn-cls"><i class="fa fa-eraser"></i></button>
|
||
<label><input type="checkbox" value="" id="btnAutoScroll" data-option-key="autoScroll" />滚屏</label>
|
||
<label><input type="checkbox" value="" id="btnShowRoomEnter" data-option-key="showRoomEnter" title="勾选此选项,则显示人员进出房间消息" />房间消息</label>
|
||
<label><input type="checkbox" value="" id="btnPopupAt" data-option-key="popupAt" title="勾选此选项,则当有人圈你时,主动弹窗提示" />圈我提示</label>
|
||
<ul class="popup-smail"></ul>
|
||
</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>
|
||
<section id="wx_sell_notification">
|
||
<div class="info">
|
||
<p class="title"><span>双重保险:</span>微信扫一扫</p>
|
||
<p class="desc">
|
||
<span>手机同步提醒</span>
|
||
抢票进度→
|
||
</p>
|
||
<p>还有机会领取礼品哟 →</p>
|
||
</div>
|
||
<img src="/images/wxqr.png" alt="" />
|
||
<span class="hand"></span>
|
||
<p class="code">
|
||
抢票提醒码:<span></span>
|
||
(关注微信后按提醒输入的哦)
|
||
</p>
|
||
</section>
|
||
<section id="speed-meter">
|
||
<i class="fa fa-clock-o"></i>
|
||
当前查询网速为:<span>1</span>级 (<span></span>毫秒)
|
||
</section>
|
||
<script src="js/modules/jquery/jquery.js"></script>
|
||
<script src="js/modules/underscore/underscore.js"></script>
|
||
<script src="js/modules/colorbox/jquery.colorbox.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>
|