dropdownmenu.wxss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. .page {
  2. width: 100%;
  3. height: 100%;
  4. background: #fff;
  5. overflow: hidden;
  6. }
  7. .position {
  8. position: absolute;
  9. }
  10. .flexEmpty {
  11. flex: 1;
  12. }
  13. .nav {
  14. position: relative;
  15. z-index: 99;
  16. display: flex;
  17. border-bottom: 1px solid #f7f7f7;
  18. background: #fff;
  19. }
  20. .nav-child {
  21. display: flex;
  22. flex: 1;
  23. text-align: center;
  24. height: 48rpx;
  25. align-items: center;
  26. justify-content: center;
  27. font-size: 24rpx;
  28. margin: 20rpx 0;
  29. }
  30. .borders-right {
  31. border-right: 1px solid #e6e6e6;
  32. }
  33. .borders-left {
  34. border-left: 1px solid #e6e6e6;
  35. }
  36. .borders {
  37. border-left: 1px solid #e6e6e6;
  38. border-right: 1px solid #e6e6e6;
  39. }
  40. .nav-title {
  41. display: inline-block;
  42. }
  43. .icon {
  44. display: inline-block;
  45. border: 4px solid transparent;
  46. border-top: 4px solid #9b9b9b;
  47. margin-left: 5px;
  48. margin-top: 10rpx;
  49. }
  50. .container {
  51. position: relative;
  52. z-index: 4;
  53. font-size: 14px;
  54. }
  55. .slidedown {
  56. transform: translateY(0%);
  57. }
  58. .district {
  59. position: absolute;
  60. display: none;
  61. z-index: 5;
  62. width: 100%;
  63. height: 100%;
  64. overflow-y: scroll;
  65. background-color: rgba(0, 0, 0, 0.5);
  66. }
  67. .district .half {
  68. overflow-y: scroll;
  69. float: left;
  70. width: 50%;
  71. height: 600rpx;
  72. line-height: 80rpx;
  73. box-sizing: border-box;
  74. font-size: 14px;
  75. }
  76. .half view {
  77. text-overflow: ellipsis;
  78. overflow: hidden;
  79. white-space: nowrap;
  80. padding-left: 15rpx;
  81. }
  82. .half-left {
  83. background: #f7f7f7;
  84. }
  85. .half-center {
  86. background: #fff;
  87. }
  88. .half-right {
  89. background: #fff;
  90. }
  91. .half-right view {
  92. border-bottom: 1px solid #f7f7f7;
  93. }
  94. .current_left_select {
  95. background: #fff;
  96. }
  97. .current_right_select {
  98. background: #fff;
  99. color: #fc6060;
  100. }
  101. .nav-child.active .nav-title {
  102. color: #fc6060;
  103. }
  104. .nav-child.active .icon {
  105. border-bottom: 4px solid #fc6060;
  106. border-top: 0;
  107. }
  108. @keyframes slidown {
  109. from {
  110. transform: translateY(-100%);
  111. }
  112. to {
  113. transform: translateY(0%);
  114. }
  115. }
  116. .slidown {
  117. display: block;
  118. animation: slidown 0.2s ease-in both;
  119. }
  120. @keyframes slidup {
  121. from {
  122. transform: translateY(0%);
  123. }
  124. to {
  125. transform: translateY(-100%);
  126. }
  127. }
  128. .z-height {
  129. overflow-y: scroll;
  130. background: #fff;
  131. }
  132. .slidup {
  133. display: block;
  134. animation: slidup 0.2s ease-in both;
  135. }
  136. .disappear {
  137. display: none;
  138. }
  139. .show {
  140. display: inline;
  141. flex: 1;
  142. }
  143. .slidowntop {
  144. display: flex;
  145. flex-direction: row;
  146. padding: 20rpx 24rpx 10rpx 24rpx;
  147. }
  148. .emptyall {
  149. margin-left: 475rpx;
  150. color: #fc6060;
  151. }
  152. .emptyallright {
  153. width: 80rpx;
  154. text-align: center;
  155. }
  156. .endselect {
  157. width: 350rpx;
  158. text-align: left;
  159. }
  160. .return {
  161. margin-left: 200rpx;
  162. color: #fc6060;
  163. }
  164. .slidowncenter {
  165. margin-top: 20rpx;
  166. padding-top: 20rpx;
  167. padding-left: 24rpx;
  168. display: flex;
  169. flex-direction: row;
  170. align-content: space-between;
  171. border-top: solid #d1d3d4 1rpx;
  172. }
  173. .slidownbottom {
  174. margin-top: 10rpx;
  175. padding: 10rpx;
  176. display: flex;
  177. flex-direction: row;
  178. flex-wrap: wrap;
  179. }
  180. .sortitem {
  181. border-bottom: solid #f7f7f7 1rpx;
  182. justify-content: space-between;
  183. padding: 20rpx 30rpx;
  184. }
  185. .sortitem.active {
  186. color: #fc6060;
  187. }
  188. .container_hd {
  189. width: 100%;
  190. margin-top: 88rpx;
  191. position: absolute;
  192. overflow-y: scroll;
  193. background-color: rgba(0, 0, 0, 0.5);
  194. }