index.module.less 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. .closeBtn {
  2. position: absolute;
  3. right: -34px;
  4. top: -6px;
  5. width: 24px;
  6. height: 24px;
  7. border-radius: 50%;
  8. background-color: #fff;
  9. overflow: hidden;
  10. padding: 6px;
  11. img {
  12. width: 100%;
  13. height: 100%;
  14. display: block;
  15. }
  16. &:active {
  17. opacity: .8;
  18. }
  19. }
  20. .content {
  21. position: relative;
  22. border-radius: 8px;
  23. width: 300px;
  24. // height: 90vh;
  25. max-height: 370px;
  26. background-color: #fff;
  27. --van-tabs-line-height: 42px;
  28. overflow: hidden;
  29. :global {
  30. .van-tabs__wrap{
  31. border-bottom: 1Px solid #F0F0F0;
  32. }
  33. .van-tabs__content {
  34. max-height: calc(90vh - var(--van-tabs-line-height));
  35. overflow-y: auto;
  36. &::-webkit-scrollbar {
  37. width: 0;
  38. display: none;
  39. }
  40. }
  41. .van-field{
  42. font-size: 12Px;
  43. line-height: 16Px;
  44. }
  45. .van-field__value{
  46. background-color: #F8F8F8;
  47. padding: 9px;
  48. }
  49. }
  50. }
  51. .tags {
  52. display: flex;
  53. justify-content: space-between;
  54. text-align: center;
  55. flex-wrap: wrap;
  56. padding: 0 var(--van-cell-horizontal-padding) var(--van-cell-vertical-padding) var(--van-cell-horizontal-padding);
  57. >span {
  58. margin: 3px 12px 3px 0;
  59. border-radius: 3PX;
  60. display: block;
  61. width: 30%;
  62. font-size: 12PX;
  63. padding: 6PX 0;
  64. background-color: #F8F8F8;
  65. color: #999999;
  66. border: 1PX solid #F8F8F8;
  67. &:nth-child(3n+3) {
  68. margin-right: 0px;
  69. }
  70. &.active {
  71. color: var(--van-primary-color);
  72. border-color: var(--van-primary-color);
  73. background-color: #ECF9FF;
  74. pointer-events: none;
  75. }
  76. }
  77. }
  78. .btn{
  79. display: block;
  80. height: 36px;
  81. font-size: 13px;
  82. margin: 0 auto;
  83. }