No Description

choose_city02.html 2.8KB

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