You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

154 lines
10 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5. <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
  6. <title>出行线路详情</title>
  7. <link rel="Shortcut Icon" href="/favicon.ico" type="image/x-icon" />
  8. <style>
  9. html,body {width:100%;font-family:黑体,Courier New,Courier, monospace;}
  10. body {margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;background:#f0f0f0;}
  11. #div_main {position:relative;float:left;width:100%;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;background:#f0f0f0;overflow:hidden;}
  12. #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;}
  13. #div_top {position:relative;float:left;width:100%;margin:10px 0px 0px 0px;border-top:1px solid #e5e5e5;background:#ffffff;}
  14. #div_top_1 {position:relative;float:center;width:98%;margin-left:auto;margin-right:auto;margin-top:10px;margin-bottom:0px;overflow:hidden}
  15. #div_top_1_1 {position:relative;float:left;width:6%;height:71px;overflow:hidden;background:url(img/detailbg.jpg) no-repeat -8px -188px;}
  16. #div_top_1_2 {position:relative;float:left;width:86%;height:71px;overflow:hidden;}
  17. #div_top_1_3 {position:relative;float:left;width:8%;height:71px;overflow:hidden;}
  18. #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;}
  19. #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;}
  20. #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;}
  21. #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;}
  22. #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;}
  23. #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;}
  24. #div_top_1_5 .xprice {font-size:17px;font-weight:600;letter-spacing:2px;margin-left:10px;font-family:"黑体";}
  25. #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;}
  26. #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;}
  27. #div_detail {position:relative;float:left;width:100%;border-bottom:1px solid #dddddd;background:#ffffff;overflow:hidden;margin-bottom:50px;}
  28. #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;}
  29. #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;}
  30. 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;}
  31. ul li {list-style:none;position:relative;float:left;width:100%;line-height:30px;overflow:hidden;}
  32. .li_11 {font-family:黑体;color:#ffa033;font-size:16px;line-height:46px;font-weight:600;letter-spacing:2px;padding-left:10px;}
  33. .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;}
  34. .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;}
  35. .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;}
  36. .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;}
  37. .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;}
  38. .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;}
  39. .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;}
  40. .span_1 {position:relative;float:right;width:85%;line-height:46px;height:46px;text-align:left;margin-right:3%;}
  41. .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;}
  42. .span_2 {position:relative;float:right;width:85%;line-height:25px;text-align:left;margin-right:3%;}
  43. #div_qc_fc_all {position:relative;float:center;width:100%;margin-left:auto;margin-right:auto;margin-top:10px;margin-bottom:10px;overflow:hidden;}
  44. #div_qc_fc {position:relative;float:left;width:100%;margin:0px 0px 0px 0px;overflow:hidden;overflow:hidden;}
  45. #div_qc {position:relative;float:left;width:100%;margin:0px 0px 0px 0px;overflow:hidden;display:block;}
  46. #div_fc {position:relative;float:left;width:100%;margin:0px 0px 0px 0px;overflow:hidden;display:none;}
  47. .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;}
  48. .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;}
  49. </style>
  50. <script type="text/javascript" src="../js/public.js"></script>
  51. <script language=javascript>
  52. if (window.ActiveXObject){
  53. var myreq = new ActiveXObject("Microsoft.XMLHTTP");
  54. }else{
  55. var myreq = new XMLHttpRequest();
  56. }
  57. var m_prodcode = '';
  58. var m_prodintro = '';
  59. var m_iffc = 0;
  60. function order_product()
  61. {
  62. location.href = 'reserve.html?prodcode=' + m_prodcode;
  63. }
  64. window.onload = function ()
  65. {
  66. m_prodcode = getPar('prodcode');
  67. var tt= getDateTime(4);
  68. var myURL = '/core/detail.asp?prodcode=' + m_prodcode;
  69. myreq.open("get",myURL,true);
  70. myreq.onreadystatechange = show_detail;
  71. myreq.send(null);
  72. }
  73. function show_detail()
  74. {
  75. if (myreq.readyState == 4)
  76. {
  77. var newstr = myreq.responseText;
  78. var myJason = JSON.parse(newstr);
  79. var c_errcode = myJason.code;
  80. if (c_errcode == '0')
  81. {
  82. m_prodintro = myJason.circuitry_intro;
  83. show_info(m_prodintro);
  84. }else{
  85. var c_errinfo = myJason.info;
  86. alert(c_errinfo);
  87. }
  88. }
  89. }
  90. function show_info(cstr1)
  91. {
  92. cstr1 = cstr1.replace(/\[T\]\[S\]/g,'\[\/T\]\[S\]');
  93. cstr1 = cstr1.replace(/\[SC\]/g,'<li class="li_21"><span class="span_1">上车</span></li>\n');
  94. cstr1 = cstr1.replace(/\[\/SC\]/g,'\n');
  95. // cstr1 = cstr1.replace(/\[SC1\]/g,'<li class="li_211"><span class="span_1">上车</span></li>\n');
  96. // cstr1 = cstr1.replace(/\[\/SC1\]/g,'\n');
  97. cstr1 = cstr1.replace(/\[T\]/g,'<li class="li_3"><span class="span_2">\n');
  98. cstr1 = cstr1.replace(/\[\/T\]/g,'');
  99. // cstr1 = cstr1.replace(/\[S\]/g,'&nbsp;');
  100. cstr1 = cstr1.replace(/\[\/S\]/g,'');
  101. cstr1 = cstr1.replace(/\[A\]/g,'<br/>');
  102. cstr1 = cstr1.replace(/\[\/A\]/g,'</li>\n');
  103. cstr1 = cstr1.replace(/\[X\]/g,'<li class="li_22"><span class="span_1">路程</span></li>\n<li class="li_3"><span class="span_2">');
  104. cstr1 = cstr1.replace(/\[\/X\]/g,'</span></li>\n');
  105. cstr1 = cstr1.replace(/\[J\]/g,'<li class="li_24"><span class="span_1">接驳</span></li>\n<li class="li_3"><span class="span_2">');
  106. cstr1 = cstr1.replace(/\[\/J\]/g,'</span></li>\n');
  107. // cstr1 = cstr1.replace(/\[J1\]/g,'<li class="li_241"><span class="span_1">接驳</span></li>\n<li class="li_3"><span class="span_2">');
  108. // cstr1 = cstr1.replace(/\[\/J1\]/g,'</span></li>\n');
  109. cstr1 = cstr1.replace(/\[XC\]/g,'<li class="li_23"><span class="span_1">下车</span></li>\n');
  110. cstr1 = cstr1.replace(/\[\/XC\]/g,'\n');
  111. cstr1 = cstr1.replace(/\[\/S\]\[T\]/g,'</span></li>\n<li class="li_3"><span class="span_2">');
  112. cstr1 = cstr1.replace(/\[S\]/g,'<li class="li_3"><span class="span_2">\n');
  113. cstr1 = cstr1.replace(/\[\/S\]/g,'</span></li>\n');
  114. console.log(cstr1)
  115. cstr1 = cstr1.replace(/\[QC\]/g,'<li class="li_11">去程</li>\n');
  116. cstr1 = cstr1.replace(/\[\/QC\]/g,'\n');
  117. cstr1 = cstr1.replace(/\[FC\]/g,'<li class="li_12">返程</li>\n');
  118. cstr1 = cstr1.replace(/\[\/FC\]/g,'\n');
  119. cstr1 = cstr1.replace(/\[S\]/g,'<li class="li_3"><span class="span_2">\n');
  120. cstr1 = cstr1.replace(/\[\/S\]/g,'</span></li>\n');
  121. cstr1 = cstr1.replace(/\[D1\]/g,'');
  122. cstr1 = cstr1.replace(/\[\/D1\]/g,'');
  123. cstr1 = cstr1.replace(/\[D2\]/g,'');
  124. cstr1 = cstr1.replace(/\[\/D2\]/g,'');
  125. cstr1 = cstr1.replace(/\[D3\]/g,'');
  126. cstr1 = cstr1.replace(/\[\/D3\]/g,'');
  127. cstr1 = '<ul>' + cstr1 + '</ul>';
  128. var obj1 = document.getElementById('div_detail');
  129. obj1.innerHTML = cstr1;
  130. }
  131. </script>
  132. <!-- 百度统计star -->
  133. <script>
  134. var _hmt = _hmt || [];
  135. (function() {
  136. var hm = document.createElement("script");
  137. hm.src = "//hm.baidu.com/hm.js?3d4ede42cef05a99fcd8bda849831ada";
  138. var s = document.getElementsByTagName("script")[0];
  139. s.parentNode.insertBefore(hm, s);
  140. })();
  141. </script>
  142. <!-- 百度统计end -->
  143. </head>
  144. <body>
  145. <div id="div_main">
  146. <div id="div_detail"></div>
  147. </div>
  148. <div id="div_bottom" onclick="order_product()">立即预订</div>
  149. </body>
  150. </html>