|
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
- <title>出行线路详情</title>
- <link rel="Shortcut Icon" href="/favicon.ico" type="image/x-icon" />
- <style>
- html,body {width:100%;font-family:黑体,Courier New,Courier, monospace;}
- body {margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;background:#f0f0f0;}
- #div_main {position:relative;float:left;width:100%;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;background:#f0f0f0;overflow:hidden;}
- #div_bottom {position:fixed;bottom:0px;width:100%;height:52px;line-height:52px;font-size:18px;font-weight:600;text-align:center;margin:0px 0px 0px 0px;background:#ff8800;color:#ffffff;}
- #div_top {position:relative;float:left;width:100%;margin:10px 0px 0px 0px;border-top:1px solid #e5e5e5;background:#ffffff;}
- #div_top_1 {position:relative;float:center;width:98%;margin-left:auto;margin-right:auto;margin-top:10px;margin-bottom:0px;overflow:hidden}
- #div_top_1_1 {position:relative;float:left;width:6%;height:71px;overflow:hidden;background:url(img/detailbg.jpg) no-repeat -8px -188px;}
- #div_top_1_2 {position:relative;float:left;width:86%;height:71px;overflow:hidden;}
- #div_top_1_3 {position:relative;float:left;width:8%;height:71px;overflow:hidden;}
- #div_top_1_2_1_1 {position:relative;float:left;width:54%;height:35px;line-height:35px;overflow:hidden;color:#1f1f1f;font-weight:600;font-size:18px;text-align:left;border-bottom:1px solid #dddddd;overflow:hidden;}
- #div_top_1_2_1_2 {position:relative;float:left;width:46%;height:35px;line-height:35px;overflow:hidden;color:#828282;font-size:16px;text-align:right;border-bottom:1px solid #dddddd;overflow:hidden;}
- #div_top_1_2_2_1 {position:relative;float:left;width:54%;height:35px;line-height:35px;overflow:hidden;color:#1f1f1f;font-weight:600;font-size:18px;text-align:left;overflow:hidden;}
- #div_top_1_2_2_2 {position:relative;float:left;width:46%;height:35px;line-height:35px;overflow:hidden;color:#828282;font-size:16px;text-align:right;overflow:hidden;}
- #div_top_1_4 {position:relative;float:left;width:100%;height:40px;line-height:40px;overflow:hidden;color:#828282;font-size:14px;text-align:left;border-bottom:1px solid #dddddd;overflow:hidden;}
- #div_top_1_5 {position:relative;float:left;width:65%;height:40px;line-height:40px;overflow:hidden;color:#ff7e00;font-size:18px;text-align:left;verflow:hidden;}
- #div_top_1_5 .xprice {font-size:17px;font-weight:600;letter-spacing:2px;margin-left:10px;font-family:"黑体";}
- #div_top_1_6 {position:relative;float:left;width:85px;height:40px;line-height:48px;overflow:hidden;color:#1f1f1f;font-size:16px;font-weight:600;background:url(img/detailbg.jpg) no-repeat -10px -298px;}
-
- #div_title_1 {position:relative;float:left;width:100%;height:45px;line-height:50px;border-top:1px solid #dddddd;border-bottom:1px solid #dddddd;font-size:20px;font-weight:600;color:#424242;letter-spacing:2px;padding-left:20px;}
- #div_detail {position:relative;float:left;width:100%;border-bottom:1px solid #dddddd;background:#ffffff;overflow:hidden;margin-bottom:50px;}
- #div_detail_1 {position:relative;float:left;width:100%;height:40px;line-height:40px;overflow:hidden;border-bottom:1px solid #dddddd;background:#ffffff;text-align:center;}
- #div_detail_1 span {position:relative;float:center;margin-left:auto;margin-right:auto;display:block;width:120px;line-height:48px;background:url(img/detailbg.jpg) no-repeat 20px -298px;}
- ul {position:relative;float:center;width:98%;margin-left:auto;margin-right:auto;padding:0px 0px 0px 0px;margin-top:10px;margin-bottom:10px;overflow:hidden;}
- ul li {list-style:none;position:relative;float:left;width:100%;line-height:30px;overflow:hidden;}
- .li_11 {font-family:黑体;color:#ffa033;font-size:16px;line-height:46px;font-weight:600;letter-spacing:2px;padding-left:10px;}
- .li_12 {font-family:黑体;color:#ffa033;font-size:16px;line-height:46px;font-weight:600;letter-spacing:2px;border-top:1px dotted #666666;margin-top:10px;padding-left:10px;}
- .li_21 {background-image:url(img/getin.jpg);background-repeat: no-repeat;background-size: 21px 38px;background-position:12.3px 10px;font-family:黑体;color:#0b0b0b;font-size:16px;letter-spacing:2px;}
- .li_211 {background-image:url(img/fangetin.jpg);background-repeat: no-repeat;background-size: 21px 61px;background-position:12.3px -11px;font-family:黑体;color:#0b0b0b;font-size:16px;letter-spacing:2px;}
- .li_22 {background-image:url(img/xroad.jpg);background-repeat: no-repeat;background-size: 21px 51px;background-position:12.3px -2px;font-family:黑体;color:#0b0b0b;font-size:16px;letter-spacing:2px;}
- .li_23 {background-image:url(img/getoff.jpg);background-repeat: no-repeat;background-size: 21px 58px;background-position:12.31px -5px;font-family:黑体;color:#0b0b0b;font-size:16px;letter-spacing:2px;}
- .li_24 {background-image:url(img/jiebo.jpg);background-repeat: no-repeat;background-size: 21px 62px;background-position:12.31px -10px;font-family:黑体;color:#0b0b0b;font-size:16px;letter-spacing:2px;}
- .li_241 {background-image:url(img/fanjiebo.jpg);background-repeat: no-repeat;background-size: 21px 38px;background-position:12px 8px;font-family:黑体;color:#0b0b0b;font-size:16px;letter-spacing:2px;}
- .span_1 {position:relative;float:right;width:85%;line-height:46px;height:46px;text-align:left;margin-right:3%;}
- .li_3 {background-image:url(img/xstop.jpg);background-repeat: no-repeat;background-size:8px 500px;background-position:19px -50px;font-family:黑体;color:#585858;font-size:14px;font-weight:400;letter-spacing:1px;}
- .span_2 {position:relative;float:right;width:85%;line-height:25px;text-align:left;margin-right:3%;}
-
- #div_qc_fc_all {position:relative;float:center;width:100%;margin-left:auto;margin-right:auto;margin-top:10px;margin-bottom:10px;overflow:hidden;}
- #div_qc_fc {position:relative;float:left;width:100%;margin:0px 0px 0px 0px;overflow:hidden;overflow:hidden;}
- #div_qc {position:relative;float:left;width:100%;margin:0px 0px 0px 0px;overflow:hidden;display:block;}
- #div_fc {position:relative;float:left;width:100%;margin:0px 0px 0px 0px;overflow:hidden;display:none;}
- .span_select {display:block;position:relative;float:left;width:100px;height:30px;margin:5px 10px 5px 2%;line-height:30px;font-size:16px;border-radius:5px;background:#ffa033;text-align:center;font-family:黑体;color:#ffffff;}
- .span_unselect {display:block;position:relative;float:left;width:100px;height:30px;margin:5px 10px 5px 2%;line-height:30px;font-size:16px;border-radius:5px;background:#ffffff;text-align:center;font-family:黑体;border:1px solid #ffa033;}
- </style>
- <script type="text/javascript" src="../js/public.js"></script>
- <script language=javascript>
- if (window.ActiveXObject){
- var myreq = new ActiveXObject("Microsoft.XMLHTTP");
- }else{
- var myreq = new XMLHttpRequest();
- }
- var m_prodcode = '';
- var m_prodintro = '';
- var m_iffc = 0;
- function order_product()
- {
- location.href = 'reserve.html?prodcode=' + m_prodcode;
- }
- window.onload = function ()
- {
- m_prodcode = getPar('prodcode');
- var tt= getDateTime(4);
- var myURL = '/core/detail.asp?prodcode=' + m_prodcode;
- myreq.open("get",myURL,true);
- myreq.onreadystatechange = show_detail;
- myreq.send(null);
- }
- function show_detail()
- {
- if (myreq.readyState == 4)
- {
- var newstr = myreq.responseText;
- var myJason = JSON.parse(newstr);
- var c_errcode = myJason.code;
- if (c_errcode == '0')
- {
- m_prodintro = myJason.circuitry_intro;
- show_info(m_prodintro);
- }else{
- var c_errinfo = myJason.info;
- alert(c_errinfo);
- }
- }
- }
- function show_info(cstr1)
- {
- cstr1 = cstr1.replace(/\[T\]\[S\]/g,'\[\/T\]\[S\]');
- cstr1 = cstr1.replace(/\[SC\]/g,'<li class="li_21"><span class="span_1">上车</span></li>\n');
- cstr1 = cstr1.replace(/\[\/SC\]/g,'\n');
- // cstr1 = cstr1.replace(/\[SC1\]/g,'<li class="li_211"><span class="span_1">上车</span></li>\n');
- // cstr1 = cstr1.replace(/\[\/SC1\]/g,'\n');
- cstr1 = cstr1.replace(/\[T\]/g,'<li class="li_3"><span class="span_2">\n');
- cstr1 = cstr1.replace(/\[\/T\]/g,'');
- // cstr1 = cstr1.replace(/\[S\]/g,' ');
- cstr1 = cstr1.replace(/\[\/S\]/g,'');
- cstr1 = cstr1.replace(/\[A\]/g,'<br/>');
- cstr1 = cstr1.replace(/\[\/A\]/g,'</li>\n');
- cstr1 = cstr1.replace(/\[X\]/g,'<li class="li_22"><span class="span_1">路程</span></li>\n<li class="li_3"><span class="span_2">');
- cstr1 = cstr1.replace(/\[\/X\]/g,'</span></li>\n');
- cstr1 = cstr1.replace(/\[J\]/g,'<li class="li_24"><span class="span_1">接驳</span></li>\n<li class="li_3"><span class="span_2">');
- cstr1 = cstr1.replace(/\[\/J\]/g,'</span></li>\n');
- // cstr1 = cstr1.replace(/\[J1\]/g,'<li class="li_241"><span class="span_1">接驳</span></li>\n<li class="li_3"><span class="span_2">');
- // cstr1 = cstr1.replace(/\[\/J1\]/g,'</span></li>\n');
- cstr1 = cstr1.replace(/\[XC\]/g,'<li class="li_23"><span class="span_1">下车</span></li>\n');
- cstr1 = cstr1.replace(/\[\/XC\]/g,'\n');
- cstr1 = cstr1.replace(/\[\/S\]\[T\]/g,'</span></li>\n<li class="li_3"><span class="span_2">');
- cstr1 = cstr1.replace(/\[S\]/g,'<li class="li_3"><span class="span_2">\n');
- cstr1 = cstr1.replace(/\[\/S\]/g,'</span></li>\n');
- console.log(cstr1)
- cstr1 = cstr1.replace(/\[QC\]/g,'<li class="li_11">去程</li>\n');
- cstr1 = cstr1.replace(/\[\/QC\]/g,'\n');
- cstr1 = cstr1.replace(/\[FC\]/g,'<li class="li_12">返程</li>\n');
- cstr1 = cstr1.replace(/\[\/FC\]/g,'\n');
- cstr1 = cstr1.replace(/\[S\]/g,'<li class="li_3"><span class="span_2">\n');
- cstr1 = cstr1.replace(/\[\/S\]/g,'</span></li>\n');
- cstr1 = cstr1.replace(/\[D1\]/g,'');
- cstr1 = cstr1.replace(/\[\/D1\]/g,'');
- cstr1 = cstr1.replace(/\[D2\]/g,'');
- cstr1 = cstr1.replace(/\[\/D2\]/g,'');
- cstr1 = cstr1.replace(/\[D3\]/g,'');
- cstr1 = cstr1.replace(/\[\/D3\]/g,'');
- cstr1 = '<ul>' + cstr1 + '</ul>';
- var obj1 = document.getElementById('div_detail');
- obj1.innerHTML = cstr1;
- }
- </script>
- <!-- 百度统计star -->
- <script>
- var _hmt = _hmt || [];
- (function() {
- var hm = document.createElement("script");
- hm.src = "//hm.baidu.com/hm.js?3d4ede42cef05a99fcd8bda849831ada";
- var s = document.getElementsByTagName("script")[0];
- s.parentNode.insertBefore(hm, s);
- })();
- </script>
-
-
- <!-- 百度统计end -->
- </head>
- <body>
- <div id="div_main">
- <div id="div_detail"></div>
- </div>
- <div id="div_bottom" onclick="order_product()">立即预订</div>
- </body>
- </html>
|