No Description

choose_city.html 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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?v=11">
  8. <link rel="stylesheet" href="./css/choose_city.css?v=12">
  9. <link rel="stylesheet" href="./css/choice_city.css?v=0">
  10. <script src="./js/jquery.min.js"></script>
  11. <script type="text/javascript" src="kuxuan/api-url.js?v=1"></script>
  12. <div style="display: none;">
  13. <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1274276190'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s22.cnzz.com/z_stat.php%3Fid%3D1274276190' type='text/javascript'%3E%3C/script%3E"));</script>
  14. </div>
  15. <script src="./js/common.js"></script>
  16. </head>
  17. <body style='display: none;'>
  18. <nav>
  19. <i id='back'></i>
  20. <p>选择城市</p>
  21. </nav>
  22. <!--<div class="search">
  23. <i></i>
  24. <input type="text" onclick="searchCity()" placeholder="请输入城市名称" />
  25. </div>-->
  26. <div class="searchBox">
  27. <div class="search" id="search">
  28. <i></i>
  29. <input type="text" placeholder="请输入城市名称"/>
  30. <em onclick="deleteSearch()"></em>
  31. </div>
  32. </div>
  33. <div id="city_01">
  34. <div class="current-city-wrapper" id="top">
  35. <p>当前定位城市</p>
  36. <div class="current-city">
  37. <!--<i></i>-->
  38. <span data-code='00111000'>北京</span>
  39. </div>
  40. </div>
  41. <div class="city-list-wrapper">
  42. <div class="city-list-content">
  43. <div id="hot" class="city-list-hot-wrapper">
  44. <!-- 热门城市 -->
  45. <p>热门城市</p>
  46. <ul class="city-list-hot"></ul>
  47. </div>
  48. <div class="city-list">
  49. <!-- 城市列表 -->
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. <div id="city_02">
  55. <div class="container">
  56. <ul>
  57. </ul>
  58. </div>
  59. </div>
  60. <div class="alert-info" style="display: none;">
  61. <!-- tip提示,3s后消失 -->
  62. <p></p>
  63. </div>
  64. <script src="./js/auto_size.js"></script>
  65. <script src="./js/city_picker.js?v=10"></script>
  66. <script src="./js/choose_city.js?v=17"></script>
  67. <script src="./js/choice_city.js?v=0"></script>
  68. </body>
  69. </html>
  70. <script type="text/javascript">
  71. $(".search input").focus(function () {
  72. if ($('html').scrollTop()) {
  73. $('html').scrollTop(0);
  74. return false;
  75. }
  76. $('body').scrollTop(0);
  77. })
  78. // $('.search input').click(function() {
  79. // $('body,html').animate({
  80. // scrollTop: 0
  81. // }, 600);
  82. // })
  83. </script>