index.module.less 4.3 KB

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