No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
 
 

159 líneas
7.4 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  6. <title>目的地</title>
  7. <style>
  8. .search-div {
  9. position: relative;
  10. width: 87.9%;
  11. height: 32px;
  12. /* line-height:32px;*/
  13. }
  14. .xsearch {
  15. width: 91.2%;
  16. height: 27px;
  17. background-color: #e5e5e5;
  18. border:none;
  19. border-radius: 2px;
  20. outline: none;
  21. padding-left: 13.8%;
  22. font-size: 15px;
  23. color: #2e2e2e;
  24. font-family: "黑体";
  25. padding-top:0px;
  26. padding-bottom:0px;
  27. }
  28. .xsearchlogo {
  29. position: absolute;
  30. top: 6px;
  31. left: 4%;
  32. height:15px;
  33. width: 14px;
  34. }
  35. .xresetlogo {
  36. position: absolute;
  37. top: 6.5px;
  38. right: -3.3%;
  39. display: none;
  40. width: 15px;
  41. height: 14px;
  42. }
  43. </style>
  44. <link rel="stylesheet" href="../css/endArea.css" />
  45. <script type="text/javascript" src="../js/endArea.js"></script>
  46. <!-- 百度统计star -->
  47. <script>
  48. var _hmt = _hmt || [];
  49. (function() {
  50. var hm = document.createElement("script");
  51. hm.src = "//hm.baidu.com/hm.js?3d4ede42cef05a99fcd8bda849831ada";
  52. var s = document.getElementsByTagName("script")[0];
  53. s.parentNode.insertBefore(hm, s);
  54. })();
  55. </script>
  56. <!-- 百度统计end -->
  57. </head>
  58. <body onload="init_page()">
  59. <div class="container" style="margin-left:-13px;margin-top:-18px;">
  60. <!--
  61. 作者:fuhongcheng_fhc@163.com
  62. 时间:2016-04-20
  63. 描述:目的地的选择--新建的一个div
  64. -->
  65. <div id="m_mudidi" class="m_mudidi zh">
  66. <!-- header -->
  67. <div id="m_header" class="m_header zh">
  68. <!-- destination 目的地 -->
  69. <div style="height: 36px;margin-top: 10px;">
  70. <!--<input id="m_destination" class="m_destination z" onblur="get_focus()" oninput="m_destination_change()" placeholder=" 目的地" type="search" />-->
  71. <div class="z search-div" placeholder=" 目的地">
  72. <input onblur="get_focus()" oninput="m_destination_change()" class="xsearch" id="xsearch" type="text" maxlength="15">
  73. <img class="xsearchlogo" src="../img/xsearch.png" alt="">
  74. <img class="xresetlogo" id="xreset" src="../img/xreset.png" alt="">
  75. </div>
  76. <button id="m_cancel" class="m_cancel y" onclick="click_m_cancel()" style="position:absolute;top:12px;right:-3px;background: none;margin:0px;padding: 0px;height:28px;line-height:28px;">取消</button>
  77. </div>
  78. <div id="sy_destination" class="sy_destination">
  79. <!--<div class="div_input" onclick="click_select()">舟山</div>-->
  80. </div>
  81. </div>
  82. <div class="m_center"" >
  83. <p style="font-size:16px;">城市</p>
  84. <div class="xxian2" style="width:105%;"></div>
  85. <ul class="m_city">
  86. <li id="li1" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'上海')">上海</li>
  87. <!--
  88. <li id="li2" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'苏州')">苏州</li>
  89. <li id="li3" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'杭州')">杭州</li>
  90. <li id="li4" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'常州')">常州</li>
  91. <li id="li5" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'嘉兴')">嘉兴</li>
  92. <li id="li6" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'湖州')">湖州</li>
  93. <li id="li7" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'扬州')">扬州</li>
  94. -->
  95. </ul>
  96. </div>
  97. <div class="m_footer" style="width:114%;" >
  98. <p style="font-size:16px;">景区</p>
  99. <div class="xxian3" style="width:105%;"></div>
  100. <!-- scenery 景区 -->
  101. <ul class="m_scenery">
  102. <li id="li4" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'千岛湖')">千岛湖</li>
  103. <li id="li5" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'乌镇')">乌镇</li>
  104. <li id="li6" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'萧山机场')">萧山机场</li>
  105. <li id="li7" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'西塘')">西塘</li>
  106. <!--
  107. <li id="li4" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'千岛湖')">千岛湖</li>
  108. <li id="li5" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'安吉')">安吉</li>
  109. <li id="li6" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'天目湖')">天目湖</li>
  110. <li id="li7" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'南山竹海')">南山竹海</li>
  111. <li id="li8" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'乌镇')">乌镇</li>
  112. <li id="li9" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'同里')">同里</li>
  113. <li id="li10" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'留园')">留园</li>
  114. <li id="li11" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'灵山大佛')">灵山大佛</li>
  115. <li id="li12" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'甪直')">甪直</li>
  116. <li id="li13" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'锦溪')">锦溪</li>
  117. <li id="li14" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'周庄')">周庄</li>
  118. <li id="li15" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'萧山机场')">萧山机场</li>
  119. <li id="li16" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'恐龙园')">恐龙园</li>
  120. <li id="li17" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'嬉戏谷')">嬉戏谷</li>
  121. <li id="li18" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'大明山')">大明山</li>
  122. <li id="li19" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'青山湖')">青山湖</li>
  123. <li id="li20" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'西塘')">西塘</li>
  124. <li id="li21" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'南浔')">南浔</li>
  125. <li id="li22" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'桐庐')">桐庐</li>
  126. <li id="li23" class="m_button" style="font-size:14px;" onclick="m_get_target_area(id,'莫干山')">莫干山</li>
  127. -->
  128. </ul>
  129. </div>
  130. </div>
  131. <!--m_mudidi end-->
  132. </div>
  133. </body>
  134. <script>
  135. var xreset = document.getElementById('xreset');
  136. var xsearch = document.getElementById('xsearch');
  137. // xsearch.oninput = function() {
  138. // if (xsearch.value == "") {
  139. // xreset.style.display = "none";
  140. // } else if (xsearch.value != "") {
  141. // xreset.style.display = "block";
  142. // }
  143. // }
  144. xreset.onclick = function() {
  145. xsearch.value = "";
  146. xreset.style.display = "none";
  147. var sy_destination = document.getElementById("sy_destination");
  148. sy_destination.style.display = 'none';
  149. }
  150. </script>
  151. </html>