forked from colacao/loaderjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
215 lines (201 loc) · 11.9 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>同程旅游</title>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta content="telephone=no" name="format-detection" />
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<style type="text/css">
.loading_wrap{ transition : all 0.2s ease-out ; opacity: 1; background: #E9ECF1 !important; width:100%; height: 100%; position: fixed; top:0; left:0; z-index:1101;}.loading{ position: absolute; background: #E9ECF1 !important; top: 50%; left: 50%; width: 71px; height: 71px; margin: -33px 0 0 -33px;}.loadingimg{ display: block; width: 66px; height: 66px; margin: 0 auto;}.loading .loading_text{ font-size: 14px; margin-top: 12px; text-align: center; color: #999;}
</style>
</head>
<body>
<section class="loading_wrap" id="loading"><section class="loading"><img src="loading.gif" class="loadingimg"> <p class="loading_text">一路同程</p></section></section>
<script type="text/javascript">
var begin = +new Date;
var exports = {
js:{
url:"http://js.40017.cn/cn/min/??",
list:[
// "/cn/train/promote/tongcheng.loadjs/mode1.js?1.20",
// "/cn/train/promote/tongcheng.loadjs/mode2.js?1.22",
// "/cn/train/promote/tongcheng.loadjs/mode3.js?1.32",
"/cn/train/promote/tongcheng.loadjs/js/zepto.js?1.0",
"/cn/train/promote/tongcheng.loadjs/js/common.0.2.6.js?1.0",
"/cn/train/promote/tongcheng.loadjs/js/page.js?1.0",
"/cn/train/promote/tongcheng.loadjs/js/autoComplete.js?1.0",
"/cn/train/promote/tongcheng.loadjs/js/location.js?1.0",
"/cn/train/promote/tongcheng.loadjs/js/city.js?1.0",
"/cn/train/promote/tongcheng.loadjs/js/calendar.js?1.0",
"/cn/train/promote/tongcheng.loadjs/js/dialog.js?1.0",
"/cn/train/promote/tongcheng.loadjs/js/slider.js?1.0",
"/cn/train/promote/tongcheng.loadjs/js/trainQuery.0.4.7.js?1.0"
],
onLoad:function(){
console.log("js sector clear"+(+new Date-begin))
}
},
css:{
url:"http://js.40017.cn/cn/min/??",
list:[
"/cn/train/promote/tongcheng.loadjs/css/page.css?1.0",
"/cn/train/promote/tongcheng.loadjs/css/autoComplete.css?1.0",
"/cn/train/promote/tongcheng.loadjs/css/city.css?1.0",
"/cn/train/promote/tongcheng.loadjs/css/calendar.css?1.0",
"/cn/train/promote/tongcheng.loadjs/css/dialog.css?1.0",
"/cn/train/promote/tongcheng.loadjs/css/mCal.0.0.4.css?1.0",
"/cn/train/promote/tongcheng.loadjs/css/trainQuery.0.1.4.css?1.5"
],
onLoad:function(){
console.log("css sector clear"+(+new Date-begin))
}
},
// html:{
// url:"http://js.40017.cn/cn/train/promote/tongcheng.loadjs/",
// list:[
// "/temp/temp.html?1.91"
// ],
// onLoad:function(){
// console.log("html sector clear"+(+new Date-begin))
// }
// },
onLoad:function(){
console.log("all sector clear" +(+new Date-begin));
(function(){
var _tcq = _tcq || [];
var _timediff = -1;
var refid = $.cookie("17uCNRefId") ? $.cookie("17uCNRefId").split("&")[0].replace("RefId=", "") : 0;
var userid = 0;
if ($.cookie("WxUser")) {
var arr = $.cookie("WxUser").split("&");
if (arr.length > 2) userid = arr[2].replace("userid=", "");
}
if (typeof _tcopentime != "undefined")
{ _timediff = new Date().getTime() - _tcopentime; }
_tcq.push(['_serialid', '0' ? '0' : 0]);
_tcq.push(['_vrcode', '10003-2016-0']);
_tcq.push(['_refId', refid]);
_tcq.push(['_userId', userid]);
_tcq.push(['_openTime', _timediff]);
_tcq.push(['_trackPageview', getWxObj() ? getWxObj().openid : '']);
_tcq.push(['_deviceType', zj.envi.deviceType]);
})();
//require("http://js.40017.cn/cn/min/??",["/cn/train/promote/tongcheng.loadjs/angularjs.js?1.6.4"]);
}
};
(function(ver){
var a = localStorage.getItem("_m_load");
if (document.cookie.match(/_m_load/) && a) {
try {
new Function("return " + JSON.parse(a).factory)().call(window, window);
return;
} catch (b) {
console.log(b)
}
}
var c = document.createElement("script");
c.src = "loader.js?"+ver, c.defer = "defer", c.async = "async";
document.getElementsByTagName("head")[0].appendChild(c);
})("1.1.1");
</script>
<header id="indexNav" class="index_nav border-bottom">
<ul>
<li id="IsTrain" class="border_bottom_green">火车票</li>
<li id="IsFlight">国内/国际机票</li>
</ul>
</header>
<section id="mainPage">
<a><div class="f-tip fn-clear"><span></span></div></a>
<div id="t_content">
<form method="get" id="t_myform" aurl="trainsearch-{begincity}-{tocity}-{time}-{openid}-{token}.html">
<div id="t_main">
<div class="query-wrap border-bottom">
<div id="t_city" class="fn-clear border-bottom">
<div id="t_from" data="fromCity" onclick="_tcTraObj._tcTrackEvent('click','chufachengshi','wxtrain','')">
<p>出发地</p>
<p class="t_incity">
<input name="qingxuan1" readonly type="text" id="t_goCity" class="c_name" value="请选择" />
</p>
<input type="hidden" name="BeginPlaceCn" class="CN" value="" />
<input type="hidden" name="BeginPlace" class="PY" autocomplete="off" />
</div>
<div id="t_to" data="arrCity" onclick="_tcTraObj._tcTrackEvent('click','daodachengshi','wxtrain','')">
<p>到达地</p>
<p class="t_incity">
<input name="qingxuan2" readonly type="text" id="t_backCity" class="c_name" value="请选择" />
</p>
<input type="hidden" name="ArrPlaceCn" class="CN" value="" />
<input type="hidden" name="ArrPlace" class="PY" autocomplete="off" />
</div>
<em class="t_changecity" id="t_changeCity" onclick="_tcTraObj._tcTrackEvent('click','qiehuan','wxtrain','')"><em class="tpic_change icon-train"></em></em>
</div>
<div id="BeginTime" class="touchablelist fn-clear" onclick="_tcTraObj._tcTrackEvent('click','chufariqi','wxtrain','')">
<p class="levdatetext">出发日期</p>
<p class="leavedate" id="tselect_Date"><span class="orange"></span> <span></span></p>
<input type="hidden" name="Time" id="Time" autocomplete="off" value="" />
</div>
</div>
<div id="searchwrap" class="searchwrap fn-clear fn-hide" onclick="_tcTraObj._tcTrackEvent('click','zhisou','wxtrain','')">
<div id="Filter1" data-options="{'name':'filter'}">只搜高铁/动车</div>
</div>
<div class="fn-clear submit-box">
<button id="t_search" class="green-button" onclick="_tcTraObj._tcTrackEvent('click','chaxun','wxtrain','')">
火车查询
</button>
</div>
</div>
<div>
</div>
<input type="hidden" name="openid" value="0" />
<input type="hidden" name="token" value="0" />
</form>
</div>
<div id="queryhistory">
<div class="linebox"><span>最近查询</span><p></p></div>
<div class="querybox_cont" id="querybox_cont">
<ul></ul>
</div>
</div>
</section>
<section id="submain" class="submain"></section>
<section id="actBox"></section>
<div id="footer" class="pub_bottom">
</div>
<div class="hiddenArea">
<input type="hidden" id="PublicInterface" value="http://www.ly.com/huochepiao/resource/PublicInterface/TrainInterfaceService">
<input type="hidden" id="ResourceUrl" value="http://www.ly.com/huochepiao/resource/">
<input type="hidden" id="HotelAjaxCall" value="http://www.ly.com/hotel/ajax/HotelAjaxCall.aspx">
<input type="hidden" id="WritePayBack" value="http://tcservice.17usoft.com/train/requesthandler/Payment/WritebackPayStatus.ashx?callback=1">
<input type="hidden" id="CallBackUrl" value="http://m.ly.com/pub/train/paywriteback.html">
<input type="hidden" id="MerchentReUrl" value="http://wx.17u.cn/train/">
<input type="hidden" id="wxFlightRootUrl" value="http://wx.17u.cn/flight/">
<input type="hidden" id="LoginUrl" value="/membership/login.html?returnurl=">
<input type="hidden" id="MyOrders" value="http://wx.17u.cn/train/orderlist/">
<input type="hidden" id="RefundOrderTime" value="120">
<input type="hidden" id="GetCityUrl" value="http://www.ly.com/hotel/ajax/HotelAjaxCall.aspx">
<input type="hidden" id="WorkSTime" value="07:00">
<input type="hidden" id="WorkETime" value="22:58">
<input type="hidden" id="PayUrl" value="TrainPay.html">
<input type="hidden" id="wxTrainUrl" value="http://wx.17u.cn/train/">
<input type="hidden" id="wxFlightUrl" value="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx3827070276e49e30|redirect_uri=http://wx.17u.cn/flight/orderlist.html?orderType=1|showwxpaytitle=1|response_type=code|scope=snsapi_base|state=123|connect_redirect=1#wechat_redirect">
<input type="hidden" id="hotCityUrl" value="http://www.ly.com/huochepiao/resource/station/GetHotCityListV1">
<input type="hidden" id="letterCityUrl" value="http://www.ly.com/huochepiao/resource/Station/GetCityListByLetter">
<input type="hidden" id="wxIndexUrl" value="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx3827070276e49e30&redirect_uri=http://wx.17u.cn/train/trainquery.html?showwxpaytitle=2&response_type=code&scope=snsapi_base&state=123#wechat_redirect">
<input type="hidden" id="IsWeixin" value="1">
<input type="hidden" id="TrainorderPublicUrl" value="http://trainorder.17usoft.net/">
<input type="hidden" id="hidJsVersion" value="?v=201512302060"/>
<input type="hidden" id="hidCssVersion" value="?v=201512302060" />
</div>
<script type="text/javascript">
var isWeixin = document.getElementById("IsWeixin").value;
if (isWeixin == 1) {
//mobileUtil.dialog("此网页暂不支持订票,请登录微信【钱包-火车票机票】订购!", "body", function () {
//location.replace(WebConfigUrl.wxIndexUrl);
//});
}
</script>
<script type='text/javascript' src=" http://vstlog.17usoft.com/vst.ashx" charset="utf-8"></script>
</body>
</html>