index.module.less 4.0 KB

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