Sin descripción

choose_city.html 3.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>选择城市</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  7. <link rel="stylesheet" href="./css/reset.css?vv=10">
  8. <link rel="stylesheet" href="./css/choose_city.css?vv=14">
  9. <link rel="stylesheet" href="./css/choice_city.css?v=11">
  10. <script src="./js/jquery.min.js"></script>
  11. <div style="display: none;">
  12. <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1274146775'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s13.cnzz.com/z_stat.php%3Fid%3D1274146775' type='text/javascript'%3E%3C/script%3E"));</script>
  13. </div>
  14. <script type="text/javascript" src="kuxuan/api-url.js?vv=3"></script>
  15. <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=SBS0f01OE1zsuRIQ0hkzV3fA0jVcYnGx"></script>
  16. <style type="text/css">
  17. #allmap{position: absolute;left: -2000px;}
  18. </style>
  19. <script src="./js/common.js?vv=10"></script>
  20. </head>
  21. <body style='display: none;'>
  22. <div id="allmap"></div>
  23. <nav>
  24. <i id='back'></i>
  25. <p>选择城市</p>
  26. </nav>
  27. <div class="searchBox">
  28. <div class="search" id="search">
  29. <i></i>
  30. <input type="text" placeholder="请输入城市名称"/>
  31. <em onclick="deleteSearch()"></em>
  32. </div>
  33. </div>
  34. <!--<div class="search">
  35. <i></i>
  36. <input type="text" placeholder="请输入城市名称" autofocus="autofocus"/>
  37. </div>-->
  38. <div id="city_01">
  39. <div class="current-city-wrapper" id="top">
  40. <p>当前定位城市</p>
  41. <div class="current-city">
  42. <!--<i></i>-->
  43. <span data-code='00111000'>北京</span>
  44. </div>
  45. </div>
  46. <div class="city-list-wrapper">
  47. <div class="city-list-content">
  48. <div id="hot" class="city-list-hot-wrapper">
  49. <!-- 热门城市 -->
  50. <p>热门城市</p>
  51. <ul class="city-list-hot"></ul>
  52. </div>
  53. <div class="city-list">
  54. <!-- 城市列表 -->
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. <div id="city_02">
  60. <div class="container">
  61. <ul>
  62. </ul>
  63. </div>
  64. </div>
  65. <div class="alert-info" style="display: none;">
  66. <!-- tip提示,3s后消失 -->
  67. <p></p>
  68. </div>
  69. <script src="./js/auto_size.js?vv=10"></script>
  70. <script src="./js/tips.js?vv=4"></script>
  71. <script src="./js/city_picker.js?vv=10"></script>
  72. <script src="./js/choose_city.js?vv=12"></script>
  73. <script src="./js/choice_city.js?v=12"></script>
  74. </body>
  75. </html>
  76. <script type="text/javascript">
  77. $(".search input").focus(function () {
  78. if ($('html').scrollTop()) {
  79. $('html').scrollTop(0);
  80. return false;
  81. }
  82. $('body').scrollTop(0);
  83. })
  84. </script>