index.wxss 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  1. page {
  2. background: #f5f5f5;
  3. }
  4. /* 搜索 */
  5. /*
  6. .search-box {
  7. display: flex;
  8. align-items: center;
  9. }
  10. .search {
  11. display: flex;
  12. flex-grow: 1;
  13. align-items: center;
  14. height: 70rpx;
  15. padding: 0 20rpx;
  16. margin: 0 30rpx;
  17. background: #f5f5f5;
  18. border-radius: 35rpx;
  19. line-height: 70rpx;
  20. font-size: 28rpx;
  21. color: #999;
  22. }
  23. .search-icon {
  24. width: 40rpx;
  25. height: 40rpx;
  26. }
  27. .search-input {
  28. flex-grow: 1;
  29. margin-left: 10rpx;
  30. color: #333;
  31. }
  32. .search-box {
  33. padding-left: 20rpx;
  34. padding-right: 30rpx;
  35. } */
  36. /* 顶部 */
  37. .app-header {
  38. display: flex;
  39. align-items: center;
  40. justify-content: space-between;
  41. height: 114rpx;
  42. /* box-shadow: 0 0 10rpx 10rpx #eaeaea; *//* border-top: 1rpx solid #f5f5f5; */
  43. padding: 0 30rpx;
  44. box-sizing: border-box;
  45. background: #fff;
  46. margin-bottom: 15rpx;
  47. }
  48. .map {
  49. display: flex;
  50. align-items: center;
  51. /* white-space: nowrap; */
  52. font-size: 28rpx;
  53. /* padding: 0 10rpx 0 20rpx; */
  54. color: #999;
  55. margin-right: 15rpx;
  56. padding-left: 26rpx;
  57. box-sizing: border-box;
  58. }
  59. .location {
  60. width: 28rpx;
  61. height: 34rpx;
  62. padding-right: 10rpx;
  63. }
  64. .location image {
  65. width: 100%;
  66. height: 100%;
  67. }
  68. .map .cityname {
  69. color: #006be7;
  70. font-size: 36rpx;
  71. max-width: 120rpx;
  72. -webkit-line-clamp: 1;
  73. overflow: hidden;
  74. text-overflow: ellipsis;
  75. -webkit-box-orient: vertical;
  76. white-space: nowrap;
  77. }
  78. .arrow-down {
  79. transform: rotate(90deg);
  80. margin-left: 10rpx;
  81. }
  82. .search {
  83. width: 500rpx;
  84. height: 74rpx;
  85. font-size: 28rpx;
  86. color: #aaa;
  87. padding-left: 20rpx;
  88. box-sizing: border-box;
  89. border: 4rpx solid #0177ff;
  90. border-radius: 37rpx;
  91. display: flex;
  92. align-items: center;
  93. justify-content: space-between;
  94. }
  95. .search-content {
  96. display: flex;
  97. align-items: center;
  98. justify-content: space-between;
  99. }
  100. .search .i_search {
  101. width: 29rpx;
  102. height: 29rpx;
  103. display: flex;
  104. align-items: center;
  105. }
  106. .search .i_search image {
  107. width: 100%;
  108. height: 100%;
  109. }
  110. .search-input {
  111. margin-left: 15rpx;
  112. color: #aaa;
  113. }
  114. .btn-search {
  115. height: 100%;
  116. width: 128rpx;
  117. color: #fff;
  118. font-size: 28rpx;
  119. background: #0177ff;
  120. border-radius: 34rpx;
  121. display: flex;
  122. align-items: center;
  123. justify-content: center;
  124. }
  125. .panel {
  126. color: #333;
  127. font-size: 28rpx;
  128. background: #fff;
  129. padding: 30rpx;
  130. }
  131. /* 定位城市 */
  132. .location_city {
  133. height: 102rpx;
  134. padding: 0 30rpx;
  135. display: flex;
  136. justify-content: space-between;
  137. align-items: center;
  138. font-size: 34rpx;
  139. background: #fff;
  140. border-bottom: 2rpx solid #eee;
  141. /* margin: 0 25px 0 15px; */
  142. }
  143. /* .location_city .btn {
  144. width: 155rpx;
  145. background-image: linear-gradient(90deg, #3ecafe 0%, #12a8ff 100%),
  146. linear-gradient(#f0f5f6, #f0f5f6);
  147. background-blend-mode: normal, normal;
  148. color: #fff;
  149. } */
  150. .btn {
  151. color: #333;
  152. }
  153. /* .btn.active {
  154. background: #2db7f5;
  155. } */
  156. .active {
  157. font-size: 28rpx;
  158. color: #999;
  159. margin-left: 30rpx;
  160. }
  161. .position {
  162. font-size: 28rpx;
  163. /* letter-spacing: 1px; */
  164. color: #327ae1;
  165. }
  166. /* 热门城市 */
  167. .hot_city {
  168. font-size: 28rpx;
  169. padding: 0 30rpx;
  170. background: #fff;
  171. display: flex;
  172. flex-wrap: wrap;
  173. align-items: center;
  174. justify-content: space-between;
  175. }
  176. .hot_city .btn {
  177. min-width: 218rpx;
  178. height: 68rpx;
  179. text-align: center;
  180. line-height: 68rpx;
  181. font-size: 28rpx;
  182. color: #0177ff;
  183. border-radius: 10rpx;
  184. background: #f2f8ff;
  185. /* margin-right: 18rpx; */
  186. margin-bottom: 18rpx;
  187. }
  188. /* 其他 */
  189. .dw {
  190. position: absolute;
  191. top: 0;
  192. right: 0;
  193. width: 100px;
  194. height: 100%;
  195. }
  196. .wxSortPickerViewTag {
  197. background-color: #f1f1f1;
  198. font-size: 16px;
  199. font-weight: bold;
  200. color: #999;
  201. line-height: 30px;
  202. height: 30px;
  203. padding: 0 15px;
  204. }
  205. .wxSortPickerViewItem {
  206. height: 40px;
  207. line-height: 40px;
  208. border-bottom: 1px solid #eee;
  209. margin-left: 15px;
  210. color: #444;
  211. }
  212. .hor {
  213. font-size: 14px;
  214. color: #999;
  215. font-weight: 500;
  216. display: block;
  217. padding: 14px 25px 5px 0px;
  218. }
  219. .kuai {
  220. height: 30px;
  221. width: 28%;
  222. text-align: center;
  223. line-height: 30px;
  224. color: #444;
  225. font-weight: 500;
  226. display: inline-block;
  227. margin: 10px 10px 0 0;
  228. background: #fff;
  229. border: 1px solid #eee;
  230. border-radius: 2px;
  231. }
  232. .searchLetter {
  233. position: fixed;
  234. right: 0;
  235. width: 20px;
  236. height: 80%;
  237. text-align: center;
  238. justify-content: center;
  239. display: flex;
  240. flex-direction: column;
  241. color: #333;
  242. font-size: 22rpx;
  243. z-index: 1;
  244. }
  245. .searchLetter view {
  246. height: 70rpx;
  247. }
  248. .touchClass {
  249. top: 50px;
  250. margin-top: 35px;
  251. right: 0;
  252. color: #636363;
  253. font-weight: 700;
  254. }
  255. .showSlectedLetter {
  256. background-color: rgba(0, 0, 0, 0.5);
  257. color: #fff;
  258. display: flex;
  259. justify-content: center;
  260. align-items: center;
  261. position: fixed;
  262. top: 50%;
  263. left: 50%;
  264. margin: -50px;
  265. width: 100px;
  266. height: 100px;
  267. border-radius: 10px;
  268. font-size: 26px;
  269. z-index: 1;
  270. }
  271. .selection {
  272. display: flex;
  273. width: 100%;
  274. flex-direction: column;
  275. }
  276. .item_letter, .item_city {
  277. height: 96rpx;
  278. font-size: 34rpx;
  279. color: #333;
  280. background-color: #fff;
  281. border-bottom: 2rpx solid #eee;
  282. display: flex;
  283. align-items: center;
  284. padding: 0 30rpx;
  285. }
  286. .item_letter {
  287. font-size: 28rpx;
  288. color: #0177ff;
  289. margin-top: 20rpx;
  290. }
  291. /* .item_city {
  292. display: flex;
  293. background-color: #fff;
  294. height: 40px;
  295. padding-left: 10px;
  296. align-items: center;
  297. border-bottom: 1px solid #f8f8f8;
  298. } */
  299. .gps {
  300. position: relative;
  301. height: 38px;
  302. border-bottom: 1px solid #ccc;
  303. border-top: 1px solid #ccc;
  304. line-height: 38px;
  305. padding-left: 15px;
  306. font-size: 16px;
  307. }
  308. .gpsif {
  309. font-size: 14px;
  310. color: #ccc;
  311. }