index.module.less 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. .header-settting {
  2. position: relative;
  3. }
  4. .closeBtn {
  5. position: absolute;
  6. right: -12px;
  7. top: -12px;
  8. width: 28px;
  9. height: 28px;
  10. border-radius: 50%;
  11. overflow: hidden;
  12. z-index: 10;
  13. img {
  14. width: 100%;
  15. height: 100%;
  16. display: block;
  17. }
  18. &:active {
  19. opacity: .8;
  20. }
  21. }
  22. .content {
  23. position: relative;
  24. overflow: hidden;
  25. border-radius: 18px;
  26. width: 300px;
  27. height: 86vh;
  28. background-color: #fff;
  29. max-height: 310px;
  30. --van-tabs-line-height: 50px;
  31. --van-tab-active-text-color: var(--van-primary-color);
  32. :global {
  33. .van-tab__panel {
  34. position: relative;
  35. height: calc(86vh - 50px);
  36. max-height: calc(310px - 50px);
  37. overflow-y: auto;
  38. padding: 0 20px 10px 20px;
  39. &::-webkit-scrollbar {
  40. width: 0;
  41. display: none;
  42. }
  43. }
  44. .van-tabs__nav--line {
  45. padding-bottom: 0;
  46. }
  47. .van-tabs__line {
  48. bottom: 0;
  49. }
  50. .van-cell {
  51. padding-left: 0;
  52. padding-right: 0;
  53. &:after {
  54. left: 0;
  55. right: 0;
  56. border-color: #F0F0F0;
  57. }
  58. }
  59. .van-switch {
  60. background-color: transparent !important;
  61. background-image: url('../image/off.svg');
  62. background-repeat: no-repeat;
  63. background-size: 100% 100%;
  64. background-position: center;
  65. border-radius: 0;
  66. &.van-switch--on {
  67. background-image: url('../image/on.svg');
  68. }
  69. .van-switch__node {
  70. display: none;
  71. }
  72. }
  73. .van-notice-bar__content {
  74. font-size: 12px;
  75. }
  76. }
  77. }
  78. .reactionTime {
  79. :global {
  80. .van-cell__title {
  81. width: 60%;
  82. }
  83. .van-cell__value {
  84. text-align: right;
  85. }
  86. }
  87. }
  88. .radioGroup {
  89. display: flex;
  90. align-items: center;
  91. border-radius: 4px;
  92. background: var(--van-primary-color);
  93. padding: 4px;
  94. :global {
  95. .van-radio {
  96. display: flex;
  97. align-items: center;
  98. justify-content: center;
  99. margin: 0 3px;
  100. border-radius: 4px;
  101. padding: 0 6px;
  102. }
  103. .van-radio__icon {
  104. display: none;
  105. }
  106. .van-radio__label {
  107. margin: 0 auto;
  108. font-size: 10px;
  109. color: #fff;
  110. font-weight: bold;
  111. white-space: nowrap;
  112. text-align: center;
  113. }
  114. .van-radio[aria-checked='true'] {
  115. background: #fff;
  116. .van-radio__label {
  117. color: var(--van-primary-color);
  118. font-weight: bold;
  119. }
  120. }
  121. }
  122. }
  123. .sliderWrap {
  124. :global {
  125. .var-cell__extra {
  126. flex: 2;
  127. }
  128. }
  129. }
  130. .slider {
  131. width: 60%;
  132. margin-right: 20px;
  133. .sliderBtn {
  134. width: 40px;
  135. color: #fff;
  136. font-size: 12px;
  137. line-height: 20px;
  138. text-align: center;
  139. background-color: var(--van-primary-color);
  140. border-radius: 20px;
  141. }
  142. }
  143. .btnsbar {
  144. position: absolute;
  145. bottom: 12px;
  146. left: 0;
  147. width: 100%;
  148. display: flex;
  149. align-items: center;
  150. justify-content: space-evenly;
  151. .btn {
  152. display: flex;
  153. justify-content: space-evenly;
  154. align-items: center;
  155. width: 30%;
  156. height: 30px;
  157. padding: 0 6px;
  158. border-radius: 6px;
  159. font-size: 10px;
  160. background: #fff6e8;
  161. color: #6c442d;
  162. border: none;
  163. white-space: nowrap;
  164. & > img {
  165. width: 20px;
  166. }
  167. &:active{
  168. opacity: .8;
  169. }
  170. }
  171. }