index.module.less 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. .changeSubject {
  2. padding: 49px 17px 19px 24px;
  3. &.changeSubjectPc {
  4. // .changeSubjectContainer {
  5. // height: 140px;
  6. // }
  7. }
  8. }
  9. .changeSubjectContainer {
  10. height: 187px;
  11. overflow-x: hidden;
  12. overflow-y: auto;
  13. padding: 0;
  14. &::-webkit-scrollbar {
  15. display: none;
  16. }
  17. }
  18. .title {
  19. display: flex;
  20. align-items: center;
  21. font-size: 16px;
  22. font-weight: 500;
  23. color: #AE8967;
  24. line-height: 22px;
  25. &::before {
  26. content: '';
  27. display: inline-block;
  28. width: 4px;
  29. height: 11px;
  30. background: #D5AD89;
  31. border-radius: 3px;
  32. margin-right: 6px;
  33. }
  34. }
  35. .subjectContainer {
  36. display: flex;
  37. align-items: center;
  38. flex-wrap: wrap;
  39. padding-top: 7px;
  40. .subjectItem {
  41. width: 31%;
  42. height: 34px;
  43. line-height: 34px;
  44. text-align: center;
  45. // background: #F6F6F6;
  46. border-radius: 50px;
  47. font-size: 13px;
  48. color: #333333;
  49. border: 1px solid #D8D8D8;
  50. margin-bottom: 12px;
  51. cursor: pointer;
  52. &:nth-child(3n + 2) {
  53. margin-left: 2.333%;
  54. margin-right: 2.333%;
  55. }
  56. // &:nth-child(3n + 3) {
  57. // margin-left: 2.333%;
  58. // }
  59. &.arrow::after {
  60. content: '';
  61. display: inline-block;
  62. margin-left: 3px;
  63. width: 0;
  64. height: 0;
  65. border-left: 4px solid transparent;
  66. border-right: 4px solid transparent;
  67. border-top: 4px solid transparent;
  68. border-bottom: 4px solid #777777;
  69. transform: translateY(3px) rotate(180deg);
  70. }
  71. &.active {
  72. background: #FFF6E7;
  73. border-radius: 16px;
  74. border: 1px solid #AE8967;
  75. color: #A98464;
  76. &::after {
  77. border-bottom: 4px solid #C4A78D;
  78. transform: translateY(-2px) rotate(0deg);
  79. }
  80. }
  81. }
  82. }
  83. .btnGroups {
  84. border-top: 1px solid #EBEBEB;
  85. display: flex;
  86. align-items: center;
  87. padding: 8px 15px 0;
  88. // :global {
  89. // .van-button+.van-button {
  90. // margin-left: 15px;
  91. // }
  92. // }
  93. .btn {
  94. width: 143px;
  95. height: 44px;
  96. cursor: pointer;
  97. &+.btn {
  98. margin-left: 9px;
  99. }
  100. }
  101. .resetBtn {
  102. background: url('../image/subject-btn1.png') no-repeat center;
  103. background-size: contain;
  104. }
  105. .confirmBtn {
  106. background: url('../image/subject-btn2.png') no-repeat center;
  107. background-size: contain;
  108. }
  109. }