switchcity.wxss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. .container {
  2. display: flex;
  3. flex-direction: column;
  4. padding: 10rpx;
  5. margin-right: 50rpx;
  6. }
  7. input{
  8. margin: 6rpx 20rpx;
  9. text-align: center;
  10. border: 2rpx solid lightgray;
  11. border-radius: 20rpx;
  12. }
  13. .searchLetter {
  14. position: fixed;
  15. right: 0;
  16. width: 50rpx;
  17. text-align: center;
  18. justify-content: center;
  19. display: flex;
  20. flex-direction: column;
  21. color: #666;
  22. z-index: 1;
  23. }
  24. .searchLetter view {
  25. margin-top: 20rpx;
  26. }
  27. .touchClass {
  28. background-color: #fff;
  29. color: #fff;
  30. padding-top: 100rpx;
  31. }
  32. .showSlectedLetter {
  33. background-color: rgba(0, 0, 0, 0.5);
  34. color: #fff;
  35. display: flex;
  36. justify-content: center;
  37. align-items: center;
  38. position: fixed;
  39. top: 50%;
  40. left: 50%;
  41. margin: -100rpx;
  42. width: 200rpx;
  43. height: 200rpx;
  44. border-radius: 20rpx;
  45. font-size: 52rpx;
  46. z-index: 1;
  47. }
  48. .selection {
  49. display: flex;
  50. width: 100%;
  51. flex-direction: column;
  52. margin-top: 10rpx;
  53. }
  54. .selectCity {
  55. background-color: #f5f5f5;
  56. margin-bottom: -10rpx;
  57. }
  58. .item_letter {
  59. display: flex;
  60. background-color: #f5f5f5;
  61. height: 40rpx;
  62. padding-left: 34rpx;
  63. align-items: center;
  64. font-size: 24rpx;
  65. color: #666;
  66. }
  67. .item_city {
  68. display: flex;
  69. background-color: #fff;
  70. height: 100rpx;
  71. padding-left: 34rpx;
  72. align-items: center;
  73. border-bottom: 1rpx solid #ededed;
  74. font-size: 24rpx;
  75. color: #666;
  76. }
  77. .hotcity-common {
  78. font-size: 24rpx;
  79. color: #666;
  80. padding: 20rpx;
  81. padding-bottom: 0;
  82. }
  83. .hotCity {
  84. padding-right: 50rpx;
  85. margin: auto;
  86. }
  87. .thisCityName {
  88. display: inline-block;
  89. border: 1rpx solid #2ab4ff;
  90. border-radius: 8rpx;
  91. padding: 10rpx 0;
  92. font-size: 24rpx;
  93. color: #2ab4ff;
  94. text-align: center;
  95. min-width: 149.5rpx;
  96. margin: 20rpx 0 20rpx 20rpx;
  97. }
  98. .thishotText {
  99. color: #2ab4ff;
  100. font-size: 20rpx;
  101. margin: 0 !important;
  102. }
  103. .slectCity {
  104. border-color: #2ab4ff !important;
  105. }
  106. .slectCity view {
  107. color: #2ab4ff !important;
  108. }
  109. .weui-grid {
  110. /*float: left;*/
  111. /*flex-direction: row;*/
  112. padding: 10rpx 0;
  113. width: 200rpx;
  114. box-sizing: border-box;
  115. border: 1rpx solid #ececec;
  116. border-radius: 8rpx;
  117. margin: 10rpx 12rpx;
  118. background-color: white;
  119. }
  120. .weui-grids {
  121. display: flex;
  122. flex-direction: row;
  123. flex-wrap: wrap;
  124. }
  125. .weui-grid__label {
  126. display: block;
  127. text-align: center;
  128. color: #333;
  129. font-size: 24rpx;
  130. white-space: nowrap;
  131. text-overflow: ellipsis;
  132. overflow: hidden;
  133. }
  134. .ul {
  135. display: block;
  136. color: grey;
  137. margin-left: 20rpx;
  138. }
  139. .li {
  140. font-weight:100;
  141. font-size: 30rpx;
  142. }
  143. input {
  144. background-color: lightgrey;
  145. }
  146. .input {
  147. padding: 16rpx 32rpx;
  148. /*width: 100%;*/
  149. margin: 0 10rpx;
  150. border-bottom: 1rpx solid #F1F1F1;
  151. }
  152. /*.clearfix:before,
  153. .clearfix:after {
  154. content: " ";
  155. display: table;
  156. }
  157. .clearfix:after {
  158. clear: both;
  159. }*/
  160. /*.clearfix {
  161. display: flex;
  162. flex-direction: column;
  163. }*/