index.module.less 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. .container {
  2. width: 490px;
  3. height: 300px;
  4. .head{
  5. height: 42px;
  6. position: relative;
  7. .headTit{
  8. position: absolute;
  9. bottom: 0;
  10. left: 50%;
  11. transform: translateX(-50%);
  12. width: 157px;
  13. height: 32px;
  14. }
  15. .closeImg{
  16. position: absolute;
  17. top: 0;
  18. right: -38px;
  19. width: 32px;
  20. height: 32px;
  21. cursor: pointer;
  22. }
  23. }
  24. .pickerCon{
  25. margin-top: -26px;
  26. height: 290px;
  27. background: #FFFFFF;
  28. border-radius: 16px;
  29. padding: 36px 20px 12px 20px;
  30. .pickerBox{
  31. width: 100%;
  32. height: calc(100% - 52px);
  33. margin-bottom: 12px;
  34. display: flex;
  35. flex-direction: column;
  36. overflow-y: auto;
  37. &::-webkit-scrollbar {
  38. width: 0;
  39. display: none;
  40. }
  41. .titCon{
  42. display: flex;
  43. align-items: center;
  44. padding-top: 10px;
  45. &.stickyTit{
  46. position: sticky;
  47. top: -1px;
  48. background-color: #fff;
  49. }
  50. .tit{
  51. font-weight: 600;
  52. font-size: 15px;
  53. color: #131415;
  54. line-height: 21px;
  55. }
  56. .tips{
  57. margin-left: 6px;
  58. font-weight: 400;
  59. font-size: 13px;
  60. color: #777777;
  61. line-height: 1;
  62. }
  63. }
  64. .content{
  65. display: flex;
  66. flex-wrap: wrap;
  67. .specialBtn {
  68. width: 96px;
  69. }
  70. .selBtn{
  71. height: 34px;
  72. line-height: 34px;
  73. background: #F6F6F6;
  74. border-radius: 6px;
  75. font-weight: 400;
  76. font-size: 14px;
  77. color: #333333;
  78. text-align: center;
  79. cursor: pointer;
  80. border:1px solid transparent;
  81. margin-top: 10px;
  82. margin-right: 10px;
  83. padding: 0 8px;
  84. &.active{
  85. background: #F2FFFC;
  86. border-color: #01C1B5;
  87. color: #00B2A7;
  88. }
  89. }
  90. }
  91. }
  92. .btnCon{
  93. display: flex;
  94. justify-content: center;
  95. .btn{
  96. width: 118px;
  97. height: 39px;
  98. cursor: pointer;
  99. &:active,&:hover{
  100. opacity: 0.8;
  101. }
  102. & + img{
  103. margin-left: 20px;
  104. }
  105. }
  106. }
  107. }
  108. }