index.wxss 5.8 KB

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