selectCss.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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: #3385ff;
  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: #2c83ff;
  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 #2c83ff;
  67. line-height: 58rpx;
  68. color: #2c83ff;
  69. background: #ffffff;
  70. border-radius: 28rpx 0rpx 28rpx 28rpx;
  71. }
  72. }
  73. }
  74. .select-item-multiple {
  75. padding: 8rpx 15rpx;
  76. border-radius: 26rpx;
  77. background-color: #f8f8fa;
  78. }
  79. .screen-item-ul {
  80. height: 80rpx !important;
  81. margin-top: -35rpx;
  82. }
  83. }
  84. /deep/.van-dropdown-menu {
  85. background-color: #fff;
  86. box-shadow: none !important;
  87. display: flex;
  88. align-items: center;
  89. }
  90. /deep/.van-dropdown-menu__item {
  91. box-sizing: border-box;
  92. width: 190rpx;
  93. // margin-right: 20rpx;
  94. padding-right: 20rpx;
  95. height: 51rpx;
  96. border-radius: 26rpx;
  97. background: #f8f8fa;
  98. }
  99. /deep/.van-dropdown-item {
  100. margin-top: -10rpx;
  101. }
  102. /deep/[data-index="2"] {
  103. margin-right: 0rpx;
  104. }
  105. /deep/ .van-ellipsis {
  106. font-size: 24rpx;
  107. }