lee-select-city.wxss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. @charset "UTF-8";
  2. /* 页面左右间距 */
  3. /* 文字尺寸 */
  4. /*文字颜色*/
  5. /* 边框颜色 */
  6. /*颜色*/
  7. /* 图片加载中颜色 */
  8. /* 行为相关颜色 */
  9. /* 功能栏字体大小 */
  10. /*功能栏左侧小图标*/
  11. .lee-select-city {
  12. display: flex;
  13. flex-direction: column;
  14. position: relative;
  15. background-color: #ffffff;
  16. }
  17. .swiper {
  18. flex: 1;
  19. width: 100%;
  20. height: 0;
  21. overflow: hidden;
  22. position: relative;
  23. }
  24. .swiper-wrapper {
  25. width: 300%;
  26. height: 100%;
  27. display: flex;
  28. position: relative;
  29. }
  30. .swiper-item {
  31. width: calc(100% / 3);
  32. height: 100%;
  33. position: relative;
  34. box-sizing: border-box;
  35. }
  36. .swiper-content {
  37. position: relative;
  38. box-sizing: border-box;
  39. padding: 30rpx;
  40. }
  41. .swiper-content > .caption {
  42. color: #999;
  43. font-size: 28rpx;
  44. margin-bottom: 30rpx;
  45. }
  46. .swiper-content > .caption > .action {
  47. float: right;
  48. }
  49. .lee-select-display {
  50. padding: 30rpx;
  51. box-shadow: 0 2rpx 2rpx rgba(0, 0, 0, 0.15);
  52. }
  53. .lee-select-display-item {
  54. height: 80rpx;
  55. line-height: 80rpx;
  56. box-sizing: border-box;
  57. padding: 0 30rpx;
  58. font-size: 28rpx;
  59. border-left: 1px solid #5dbc7c;
  60. position: relative;
  61. }
  62. .lee-select-display-item.active {
  63. color: #5dbc7c;
  64. }
  65. .lee-select-display-item::before {
  66. content: '';
  67. top: 0;
  68. left: -4rpx;
  69. width: 8rpx;
  70. height: 50%;
  71. background-color: #ffffff;
  72. position: absolute;
  73. display: none;
  74. }
  75. .lee-select-display-item:first-child::before, .lee-select-display-item:last-child::before {
  76. display: block;
  77. }
  78. .lee-select-display-item:last-child::before {
  79. top: 50%;
  80. }
  81. .lee-select-display-item::after {
  82. top: 50%;
  83. left: 0;
  84. content: '';
  85. width: 14rpx;
  86. height: 14rpx;
  87. border-radius: 50%;
  88. position: absolute;
  89. background-color: #5dbc7c;
  90. -webkit-transform: translate(-50%, -50%);
  91. transform: translate(-50%, -50%);
  92. }
  93. .lee-select-display-item:last-child::after {
  94. background-color: #999;
  95. }
  96. .gird {
  97. display: flex;
  98. flex-wrap: wrap;
  99. position: relative;
  100. margin-bottom: 30rpx;
  101. }
  102. .gird-item {
  103. width: 20%;
  104. height: 80rpx;
  105. box-sizing: border-box;
  106. padding: 10rpx;
  107. }
  108. .gird-item > view {
  109. width: 100%;
  110. height: 100%;
  111. display: flex;
  112. align-items: center;
  113. justify-content: center;
  114. font-size: 28rpx;
  115. background-color: #f1f1f1;
  116. border-radius: 8rpx;
  117. }
  118. .current-position {
  119. height: 80rpx;
  120. line-height: 80rpx;
  121. text-align: center;
  122. font-size: 28rpx;
  123. margin-bottom: 30rpx;
  124. color: #5dbc7c;
  125. background-color: #edf8f1;
  126. border-radius: 8rpx;
  127. }