index.wxss 2.9 KB

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