index.wxss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. page{
  2. font-size: 14px;
  3. }
  4. /* 搜索 */
  5. .search-box{
  6. display: flex;
  7. align-items: center;
  8. }
  9. .search{
  10. display: flex;
  11. flex-grow: 1;
  12. align-items: center;
  13. height: 70rpx;
  14. padding: 0 20rpx;
  15. margin: 0 30rpx;
  16. background:#f5f5f5;
  17. border-radius: 35rpx;
  18. line-height: 70rpx;
  19. font-size: 28rpx;
  20. color: #999;
  21. }
  22. .search-icon{
  23. width: 40rpx;
  24. height: 40rpx;
  25. }
  26. .search-input{
  27. flex-grow: 1;
  28. margin-left: 10rpx;
  29. color: #333;
  30. }
  31. .search-box{
  32. padding-left: 20rpx;
  33. padding-right: 30rpx;
  34. }
  35. .panel{
  36. margin: 34rpx 0 34rpx 30rpx;
  37. }
  38. /* 定位城市 */
  39. .location_city{
  40. display: flex;
  41. justify-content: space-between;
  42. align-items: center;
  43. font-size: 28rpx;
  44. margin: 0 25px 0 15px;
  45. }
  46. .location_city .btn{
  47. width: 155rpx;
  48. background-image: linear-gradient(90deg,#3ecafe 0%, #12a8ff 100%), linear-gradient(#f0f5f6, #f0f5f6);
  49. background-blend-mode: normal, normal;
  50. color:#fff;
  51. }
  52. .btn{
  53. width: 147rpx;
  54. height: 64rpx;
  55. line-height: 64rpx;
  56. text-align: center;
  57. background: #f2f4f6;
  58. color: #82838a;
  59. border-radius: 32rpx;
  60. overflow: hidden;
  61. white-space: nowrap;
  62. text-overflow: ellipsis;
  63. }
  64. .btn.active{
  65. background: #2db7f5;
  66. }
  67. .position{
  68. font-size: 25rpx;
  69. letter-spacing: 1px;
  70. color: #28b0f9;
  71. }
  72. /* 热门城市 */
  73. .hot_city{
  74. display: flex;
  75. align-items: center;
  76. flex-wrap: wrap;
  77. font-size: 28rpx;
  78. margin: 0 25px 10px 15px;
  79. }
  80. .hot_city .btn{
  81. margin-bottom: 30rpx;
  82. margin-right: 20rpx;
  83. }
  84. /* 其他 */
  85. .dw{
  86. position: absolute;
  87. top:0;
  88. right: 0;
  89. width:100px;
  90. height: 100%;
  91. }
  92. .wxSortPickerViewTag{
  93. background-color: #f1f1f1;
  94. font-size: 16px;
  95. font-weight: bold;
  96. color: #999999;
  97. line-height: 30px;
  98. height: 30px;
  99. padding: 0 15px;
  100. }
  101. .wxSortPickerViewItem{
  102. height: 40px;
  103. line-height: 40px;
  104. border-bottom: 1px solid #eee;
  105. margin-left: 15px;
  106. color: #444;
  107. }
  108. .hor{
  109. font-size: 14px;
  110. color: #999999;
  111. font-weight: 500;
  112. display: block;
  113. padding: 14px 25px 5px 0px;
  114. }
  115. .kuai{
  116. height: 30px;
  117. width: 28%;
  118. text-align: center;
  119. line-height: 30px;
  120. color: #444;
  121. font-weight: 500;
  122. display: inline-block;
  123. margin: 10px 10px 0 0;
  124. background: #fff;
  125. border: 1px solid #eee;
  126. border-radius: 2px;
  127. }
  128. .searchLetter{
  129. position: fixed;
  130. right: 0;
  131. width: 20px;
  132. height: 80%;
  133. text-align: center;
  134. justify-content: center;
  135. display: flex;
  136. flex-direction: column;
  137. color: #666;
  138. z-index: 1
  139. }
  140. .searchLetter view{
  141. height: 70rpx;
  142. }
  143. .touchClass{
  144. top: 50px;
  145. margin-top: 35px;
  146. right: 0;
  147. background-color: #fff;
  148. color: #636363;
  149. font-weight: 700;
  150. }
  151. .showSlectedLetter{
  152. background-color: rgba(0, 0, 0,0.5);
  153. color: #fff;
  154. display: flex;
  155. justify-content: center;
  156. align-items: center;
  157. position: fixed;
  158. top:50%;
  159. left: 50%;
  160. margin: -50px;
  161. width: 100px;
  162. height: 100px;
  163. border-radius:10px;
  164. font-size: 26px;
  165. z-index: 1
  166. }
  167. .selection{
  168. display: flex;
  169. width: 100%;
  170. flex-direction: column;
  171. }
  172. .item_letter{
  173. display: flex;
  174. background-color: #f8f8f8;
  175. height: 30px;
  176. padding-left: 10px;
  177. align-items: center;
  178. }
  179. .item_city{
  180. display: flex;
  181. background-color: #fff;
  182. height: 40px;
  183. padding-left: 10px;
  184. align-items: center;
  185. border-bottom: 1px solid #f8f8f8
  186. }
  187. .gps{
  188. position: relative;
  189. height: 38px;
  190. border-bottom: 1px solid #ccc;
  191. border-top: 1px solid #ccc;
  192. line-height: 38px;
  193. padding-left: 15px;
  194. font-size: 16px;
  195. }
  196. .gpsif {
  197. font-size: 14px;
  198. color: #ccc;
  199. }