index-list.wxss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. .wx-flex {
  2. display: flex;
  3. align-items: center
  4. }
  5. .wx-flex__item {
  6. flex: 1
  7. }
  8. .thin-border-bottom {
  9. position: relative
  10. }
  11. .thin-border-bottom:after {
  12. content: "";
  13. position: absolute;
  14. left: 0;
  15. bottom: 0;
  16. right: 0;
  17. height: 1px;
  18. border-bottom: 1px solid #EAEAEA;
  19. color: #e5e5e5;
  20. -webkit-transform-origin: 0 0;
  21. transform-origin: 0 0;
  22. -webkit-transform: scaleY(.5);
  23. transform: scaleY(.5);
  24. z-index: 2
  25. }
  26. .thin-border-top {
  27. position: relative
  28. }
  29. .thin-border-top:after {
  30. content: "";
  31. position: absolute;
  32. left: 0;
  33. top: 0;
  34. right: 0;
  35. height: 1px;
  36. border-bottom: 1px solid #EAEAEA;
  37. color: #e5e5e5;
  38. -webkit-transform-origin: 0 0;
  39. transform-origin: 0 0;
  40. -webkit-transform: scaleY(.5);
  41. transform: scaleY(.5);
  42. z-index: 2
  43. }
  44. .square-tag {
  45. color: #9a9a9a;
  46. text-align: center;
  47. height: 30px;
  48. line-height: 30px;
  49. box-sizing: border-box;
  50. border-radius: 2px;
  51. background-color: #f7f7f7;
  52. font-size: 12px;
  53. position: relative
  54. }
  55. .square-tag:after {
  56. content: "";
  57. width: 200%;
  58. height: 200%;
  59. border: 1px solid #f7f7f7;
  60. transform: scale(.5);
  61. transform-origin: 0 0;
  62. position: absolute;
  63. left: 0;
  64. top: 0;
  65. box-sizing: border-box;
  66. border-radius: 4px
  67. }
  68. .square-tag.selected {
  69. background: rgba(26, 173, 25, 0.1);
  70. color: #1AAD19
  71. }
  72. .square-tag.selected:after {
  73. border: 1px solid #1AAD19
  74. }
  75. .select-city__hd {
  76. padding: 0 15px;
  77. position: fixed;
  78. height: 50px;
  79. background-color: #fff;
  80. left: 0;
  81. right: 0;
  82. z-index: 990
  83. }
  84. .select-city__hd.thin-border-bottom:after {
  85. left: 12px;
  86. right: 12px
  87. }
  88. .current-city__name {
  89. display: inline-block;
  90. margin-right: 10px;
  91. margin-left: 11px
  92. }
  93. .city-group_part .city-group__content {
  94. padding: 0 15px
  95. }
  96. .city-group_part .city-group__title {
  97. padding-bottom: 12px
  98. }
  99. .city-group__title {
  100. padding: 12px 12px 11px
  101. }
  102. .city-group__content {
  103. font-size: 0
  104. }
  105. .square-tag {
  106. width: 100px;
  107. display: inline-block;
  108. margin-right: 12px;
  109. margin-bottom: 12px;
  110. height: 40px;
  111. line-height: 40px;
  112. font-size: 15px;
  113. color: #000;
  114. background-color: rgba(0, 0, 0, 0.02);
  115. overflow: hidden;
  116. white-space: nowrap;
  117. text-overflow: ellipsis
  118. }
  119. .city-group__item {
  120. padding: 15px 12px;
  121. font-size: 15px
  122. }
  123. .city-group__item.thin-border-bottom:after {
  124. left: 12px
  125. }
  126. .city-group_all {
  127. padding-bottom: 50px
  128. }
  129. .fixed__top {
  130. position: fixed;
  131. top: 0
  132. }
  133. .anchor-bar__wrp {
  134. position: fixed;
  135. top: 0;
  136. bottom: 0;
  137. right: 0;
  138. width: 30px;
  139. z-index: 999
  140. }
  141. .anchor-item {
  142. font-size: 0;
  143. text-align: center;
  144. position: relative
  145. }
  146. .anchor-item__inner {
  147. line-height: 14px;
  148. height: 14px;
  149. width: 14px;
  150. border-radius: 50%;
  151. display: inline-block;
  152. font-size: 10px;
  153. margin: 1px 0;
  154. font-weight: 500
  155. }
  156. .tapped .anchor-item__pop {
  157. display: block
  158. }
  159. .anchor-item__pop {
  160. position: absolute;
  161. font-size: 62px;
  162. width: 50px;
  163. height: 50px;
  164. line-height: 50px;
  165. color: #fff;
  166. background-color: #C9C9C9;
  167. border-radius: 50%;
  168. right: 40px;
  169. top: 50%;
  170. transform: translateY(-50%);
  171. display: none
  172. }
  173. .anchor-item__pop:after {
  174. content: "";
  175. display: block;
  176. position: absolute;
  177. width: 0;
  178. height: 0;
  179. left: 40px;
  180. border: 20px solid;
  181. border-color: transparent transparent transparent #C9C9C9;
  182. top: 50%;
  183. transform: translateY(-50%)
  184. }
  185. .anchor-item.selected .anchor-item__inner {
  186. color: #fff;
  187. background-color: #1aad19
  188. }