index.module.less 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. .container {
  2. display: flex;
  3. flex-direction: column;
  4. width: 50vw;
  5. height: 80vh;
  6. max-height: 500px;
  7. background-color: #fff;
  8. overflow: hidden;
  9. .top {
  10. display: flex;
  11. align-items: center;
  12. justify-content: space-between;
  13. padding: 8px 10px;
  14. position: relative;
  15. font-size: 14Px;
  16. z-index: 999;
  17. &::before {
  18. content: '';
  19. position: absolute;
  20. left: 4px;
  21. top: 50%;
  22. height: 30%;
  23. transform: translateY(-50%);
  24. width: 2px;
  25. background-color: var(--van-primary-color);
  26. border-radius: 2px;
  27. }
  28. }
  29. .closeIcon{
  30. width: 15px;
  31. height: 15px;
  32. margin: 0 10px;
  33. position: relative;
  34. cursor: pointer;
  35. }
  36. .closeIcon::before,
  37. .closeIcon::after{
  38. content: "";
  39. position: absolute;
  40. height: 15px;
  41. width: 1.5px;
  42. top: 4px;
  43. right: 9px;
  44. background: #000;
  45. }
  46. .closeIcon::before{
  47. transform: rotate(45deg);
  48. }
  49. .closeIcon::after{
  50. transform: rotate(-45deg);
  51. }
  52. .picker {
  53. flex: 1;
  54. height: 100px;
  55. display: flex;
  56. align-items: center;
  57. justify-content: center;
  58. :global {
  59. .van-picker__columns {
  60. //height: 80% !important;
  61. }
  62. }
  63. }
  64. .button {
  65. width: 50%;
  66. height: 40Px;
  67. margin: 10Px auto;
  68. position: relative;
  69. z-index: 9;
  70. }
  71. }