selectCss.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. .select-content-activity {
  2. position: sticky;
  3. top: 0;
  4. left: 0;
  5. z-index: 9;
  6. .screen-item {
  7. background-color: #fff;
  8. height: 111rpx;
  9. padding: 0 34rpx;
  10. font-size: 24rpx;
  11. color: #333;
  12. display: flex;
  13. align-items: center;
  14. justify-content: space-between;
  15. .text-item {
  16. width: 150rpx;
  17. text-align: center;
  18. line-height: 51rpx;
  19. box-sizing: border-box;
  20. border-radius: 26rpx;
  21. background-color: #f8f8fa;
  22. // margin-right: 20rpx;
  23. }
  24. .medium-item {
  25. width: 135rpx;
  26. }
  27. .active {
  28. background-color: $uni-color-new;
  29. color: #fff;
  30. }
  31. }
  32. .select-conyent {
  33. .items-box {
  34. width: 40rpx;
  35. }
  36. .menu-items {
  37. background-color: #f8f8fa;
  38. width: 100%;
  39. display: flex;
  40. flex-wrap: wrap;
  41. padding: 30rpx 30rpx 0;
  42. .menu-items-box {
  43. display: flex;
  44. width: 50%;
  45. font-size: 28rpx;
  46. font-weight: 400;
  47. margin-bottom: 40rpx;
  48. }
  49. }
  50. .replacement {
  51. margin: 0rpx 30rpx 20rpx;
  52. display: flex;
  53. background-color: $uni-color-new;
  54. height: 60rpx;
  55. line-height: 58rpx;
  56. font-size: 28rpx;
  57. font-weight: 400;
  58. color: #ffffff;
  59. border-radius: 30rpx;
  60. text {
  61. flex: 1;
  62. text-align: center;
  63. line-height: 60rpx;
  64. }
  65. .replacement-box {
  66. border: 1rpx solid $uni-color-new;
  67. line-height: 58rpx;
  68. color: $uni-color-new;
  69. background: #ffffff;
  70. border-radius: 28rpx 0rpx 28rpx 28rpx;
  71. }
  72. }
  73. }
  74. .select-item-multiple {
  75. padding: 10rpx 24rpx;
  76. border-radius: 26rpx;
  77. background-color: #f8f8fa;
  78. flex-shrink: 0;
  79. margin-right: 20rpx;
  80. }
  81. .screen-item-ul {
  82. height: 80rpx !important;
  83. margin-top: -30rpx;
  84. }
  85. }
  86. /deep/.van-dropdown-menu {
  87. background-color: #fff;
  88. box-shadow: none !important;
  89. display: flex;
  90. align-items: center;
  91. }
  92. /deep/.van-dropdown-menu__item {
  93. box-sizing: border-box;
  94. width: 160rpx;
  95. // margin-right: 20rpx;
  96. padding-right: 20rpx;
  97. height: 51rpx;
  98. border-radius: 26rpx;
  99. background: #f8f8fa;
  100. }
  101. /deep/.van-dropdown-item {
  102. margin-top: -10rpx;
  103. }
  104. /deep/[data-index="2"] {
  105. margin-right: 0rpx;
  106. }
  107. /deep/ .van-ellipsis {
  108. font-size: 24rpx;
  109. }