switchcity.wxss 2.8 KB

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