index.scss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. .popup-container {
  2. height: 100vh;
  3. padding: 66px 0 0 0;
  4. box-sizing: border-box;
  5. overflow: hidden;
  6. // overflow-y: scroll;
  7. .popup-radio {
  8. padding: 10px 0 10px 0;
  9. // position: relative;
  10. // height: calc(100vh - 66px);
  11. .popup-radio-item {
  12. color: #000;
  13. font-size: 16px;
  14. font-weight: bold;
  15. line-height: 50px;
  16. text-align: center;
  17. &.selected {
  18. color: #409EFF;
  19. }
  20. }
  21. }
  22. .popup-checkbox {
  23. box-sizing: border-box;
  24. position: relative;
  25. height: calc(100vh - 66px);
  26. min-height: calc(100vh - 66px);
  27. overflow: hidden;
  28. padding: 0;
  29. .popup-checkbox-header {
  30. background: #67C23A;
  31. font-size: 12px;
  32. text-align: center;
  33. height: 30px;
  34. line-height: 26px;
  35. color: #fff;
  36. margin: 0;
  37. position: absolute;
  38. width: 100%;
  39. top: 0;
  40. left: 0;
  41. z-index: 9999;
  42. }
  43. .popup-checkbox-main {
  44. padding: 42px 16px 100px 16px;
  45. overflow: scroll;
  46. box-sizing: border-box;
  47. height: 100%;
  48. .popup-checkbox-item {
  49. color: #000;
  50. font-size: 16px;
  51. font-weight: bold;
  52. line-height: 42px;
  53. background: rgb(244, 244, 245);
  54. padding: 6px 12px;
  55. margin: 0 0 10px 0;
  56. border-radius: 7px;
  57. border: 1px solid rgb(244, 244, 245);
  58. display: flex;
  59. &.selected {
  60. color: #409EFF;
  61. border: 1px solid #409EFF;
  62. }
  63. .popup-checkbox-label {
  64. flex: 5;
  65. }
  66. .popup-checkbox-icon {
  67. width: 20px;
  68. height: 20px;
  69. line-height: 20px;
  70. display: block;
  71. border-radius: 50%;
  72. overflow: hidden;
  73. margin: 11px 0 0 0;
  74. }
  75. }
  76. }
  77. .popup-checkbox-footer {
  78. position: absolute;
  79. z-index: 9999;
  80. left: 0;
  81. bottom: 0;
  82. height: 66px;
  83. width: 100%;
  84. padding: 5px 16px;
  85. box-sizing: border-box;
  86. background: #fff;
  87. border-top: 1px solid #f0f0f0;
  88. box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  89. }
  90. }
  91. .popup-time {
  92. position: relative;
  93. height: calc(100vh - 66px);
  94. }
  95. .popup-city {
  96. height: calc(100vh - 66px);
  97. overflow: scroll;
  98. .city-item {
  99. background: #eee;
  100. .city-value-row {
  101. background: #fff;
  102. &.current-city-value {
  103. height: 50px;
  104. line-height: 50px;
  105. text-align: center;
  106. color: #409EFF;
  107. }
  108. }
  109. .city-value-item {
  110. text-align: center;
  111. height: 50px;
  112. line-height: 50px;
  113. border-bottom: 2px solid #eee;
  114. overflow: hidden;
  115. text-overflow: ellipsis;
  116. &.not-border {
  117. border: 2px solid transparent;
  118. }
  119. &.changed {
  120. color: #409EFF;
  121. }
  122. }
  123. }
  124. }
  125. }