Ei kuvausta

choose_city.css 5.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. html {
  2. background-color: #f3f3f3;
  3. font-size: 100px;
  4. }
  5. nav {
  6. position: fixed;
  7. top: 0;
  8. left: 0;
  9. z-index: 9999;
  10. font-size: 0rem;
  11. height: 0.44rem;
  12. width: 100%;
  13. background-color: #5d7dff;
  14. }
  15. nav i {
  16. display: inline-block;
  17. width: 0.16rem;
  18. height: 0.16rem;
  19. line-height: 0.44rem;
  20. margin-left: 0.1rem;
  21. background-image: url(../img/back.png);
  22. background-repeat: no-repeat;
  23. background-size: 100% auto;
  24. }
  25. nav p {
  26. display: inline-block;
  27. width: 90%;
  28. text-align: center;
  29. line-height: 0.44rem;
  30. color: #fff;
  31. font-size: 0.17rem;
  32. }
  33. .current-city-wrapper {
  34. /*margin: 0.54rem 0.10rem 0;
  35. margin-top: 0rem;*/
  36. position: fixed;
  37. width: 100%;
  38. top: 1.04rem;
  39. z-index: 2;
  40. background: #F3F3F3;
  41. }
  42. .current-city-wrapper>p {
  43. color: #444;
  44. font-size: 0.12rem;
  45. margin-top: 0.10rem;
  46. margin-left: 0.2rem;
  47. }
  48. .current-city {
  49. margin-top: 0.12rem;
  50. width: 100%;
  51. height: 0.50rem;
  52. background-color: #fff;
  53. position: relative;
  54. font-size: 0;
  55. /*border-radius: 0.04rem;*/
  56. }
  57. .current-city span {
  58. margin-left: 0.2rem;
  59. font-size: 0.16rem;
  60. line-height: 0.50rem;
  61. color: #5D7DFF;
  62. font-weight: bold;
  63. vertical-align: middle;
  64. }
  65. .current-city i {
  66. display: inline-block;
  67. background: url(../img/location3.png) no-repeat;
  68. background-size: 100%;
  69. width: 0.17rem;
  70. height: 0.17rem;
  71. vertical-align: middle;
  72. margin-left: 0.09rem;
  73. }
  74. .city-list-wrapper {
  75. position: relative;
  76. margin-top: 2rem;
  77. }
  78. .city-list-content {
  79. /*margin: 0.10rem 0.30rem 0 0.1rem;*/
  80. }
  81. .city-list-hot-wrapper p {
  82. color: #444;
  83. font-size: 0.12rem;
  84. margin-top: 0.12rem;
  85. margin-left: 0.2rem;
  86. }
  87. .city-list-hot {
  88. margin-top: 0.12rem;
  89. /*width: 100%;*/
  90. /*height: 0.94rem;*/
  91. /*margin-bottom: 0.12rem;*/
  92. padding-bottom: 0.1rem;
  93. background-color: #fff;
  94. padding-right: 0.2rem;
  95. /*border-radius: 0.04rem;*/
  96. }
  97. .city-list-hot div{
  98. width: 33.33%;
  99. float: left;
  100. }
  101. .city-list-hot:after{
  102. content: ".";
  103. clear: both;
  104. display: block;
  105. overflow: hidden;
  106. font-size: 0;
  107. height: 0;
  108. }
  109. .city-list-hot li {
  110. width: 0.80rem;
  111. height: 0.30rem;
  112. margin: auto;
  113. margin-top: 0.12rem;
  114. /*margin-right: 0.15rem;*/
  115. /*margin-left: 0.15rem;*/
  116. font-size: 0.16rem;
  117. color: #222;
  118. text-align: center;
  119. line-height: 0.30rem;
  120. /*background-color: #f3f3f3;*/
  121. }
  122. .city-list {
  123. width: 100%;
  124. margin-top: 0.04rem;
  125. /*border-radius: 4px;*/
  126. /*margin-right: 0.30rem;*/
  127. /*background-color: #fff;*/
  128. }
  129. .city-list dl {
  130. /*padding-top: 0.14rem;
  131. margin-left: 0.18rem;
  132. padding-bottom: 0.14rem;
  133. border-bottom: 0.5px solid #d8d8d8;*/
  134. }
  135. .city-list dt {
  136. font-size: 0.16rem;
  137. font-weight: bold;
  138. color: #222;
  139. line-height: 0.22rem;
  140. margin-left: 0.2rem;
  141. padding: 0.05rem 0;
  142. }
  143. .city-list dd {
  144. height: 0.5rem;
  145. /*margin-top: 0.14rem;*/
  146. font-size: 0.15rem;
  147. color: #222;
  148. line-height: 0.5rem;
  149. background: #FFFFFF;
  150. border-bottom: 0.005rem solid #D8D8D8;
  151. padding-left:0.2rem ;
  152. }
  153. .city-list dl dd:last-of-type{
  154. border-bottom: none;
  155. }
  156. .navbar {
  157. position: fixed;
  158. right: 0;
  159. top: 1.54rem;
  160. width: 0.20rem;
  161. /*height: 4.10rem;*/
  162. /*height: 70%;*/
  163. background-color: #F3F3F3;
  164. font-size: 0;
  165. overflow-y:auto ;
  166. padding-bottom: 0.05rem;
  167. z-index: 3;
  168. }
  169. .navbar a {
  170. margin-top: 0.04rem;
  171. color: #5d7dff;
  172. font-size: 0.10rem;
  173. display: block;
  174. text-align: center;
  175. }
  176. .to-top {
  177. margin-top: 0.06rem;
  178. background-image: url(../img/hide.png);
  179. background-repeat: no-repeat;
  180. background-position: center;
  181. background-size: 50%;
  182. width: 0.20rem;
  183. height: 0.10rem;
  184. margin-bottom: 0.10rem;
  185. }
  186. .prompt {
  187. display: block;
  188. width: 0.40rem;
  189. height: 0.40rem;
  190. line-height: 0.40rem;
  191. font-size: 0.18rem;
  192. border-radius: 50%;
  193. background-color: rgba(0, 0, 0, 0.7);
  194. color: #fff;
  195. text-align: center;
  196. position: fixed;
  197. top: 50%;
  198. left: 50%;
  199. -webkit-transform: translate(-50%, -50%);
  200. transform: translate(-50%, -50%);
  201. }
  202. .alert-info {
  203. position: absolute;
  204. top: 1.74rem;
  205. right: 0.1rem;
  206. left: 0.1rem;
  207. font-size: 0;
  208. text-align: center;
  209. z-index: 999;
  210. }
  211. .alert-info p {
  212. display: inline-block;
  213. height: 0.38rem;
  214. color: #fff;
  215. font-size: 0.14rem;
  216. line-height: 0.38rem;
  217. padding: 0 0.10rem;
  218. background-color: rgba(0, 0, 0, 0.7);
  219. border-radius: 5px;
  220. }
  221. /*search*/
  222. .searchBox{
  223. position: fixed;
  224. width: 100%;
  225. top: 0.44rem;
  226. z-index: 10;
  227. padding-top:0.1rem ;
  228. background: #F3F3F3;
  229. border-bottom: 0.02rem solid #F3F3F3;
  230. }
  231. .search{
  232. height: 0.5rem;
  233. /*margin: 0 0.1rem;*/
  234. /*margin-top: 0.54rem;*/
  235. background: #FFFFFF;
  236. /*border-radius: 0.06rem;*/
  237. display: flex;
  238. align-items: center;
  239. }
  240. .search i{
  241. display: inline-block;
  242. width: 0.17rem;
  243. height: 0.17rem;
  244. background: url(../img/search.png) no-repeat;
  245. background-size:100% ;
  246. margin-left: 0.21rem;
  247. }
  248. .search input{
  249. border: none;
  250. outline: none;
  251. font-size: 0.16rem;
  252. margin-left: 0.08rem;
  253. flex: 1;
  254. height: 0.4rem;
  255. }