index.module.less 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. .header-settting {
  2. position: relative;
  3. }
  4. .content {
  5. position: relative;
  6. overflow: hidden;
  7. border-radius: 16PX;
  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. &.pcContent {
  66. height: 230px;
  67. :global {
  68. .van-tab__panel {
  69. height: 180px;
  70. }
  71. }
  72. }
  73. }
  74. .noticebar {
  75. border-radius: 6px;
  76. background: linear-gradient(45deg, #FFF6EE, #FFECDD);
  77. color: #FEAD15;
  78. }
  79. .reactionTime {
  80. :global {
  81. .van-cell__title {
  82. width: 60%;
  83. }
  84. .van-cell__value {
  85. text-align: right;
  86. }
  87. }
  88. }
  89. .radioGroup {
  90. display: flex;
  91. align-items: center;
  92. border-radius: 14px;
  93. background: linear-gradient(180deg, #5BECFF, #259CFE);
  94. padding: 4px;
  95. :global {
  96. .van-radio {
  97. display: flex;
  98. align-items: center;
  99. justify-content: center;
  100. height: 22px;
  101. margin: 0 3px;
  102. border-radius: 6px;
  103. padding: 0 4px;
  104. }
  105. .van-radio__icon {
  106. display: none;
  107. }
  108. .van-radio__label {
  109. margin: 0 auto;
  110. font-size: 10px;
  111. color: #fff;
  112. font-weight: bold;
  113. white-space: nowrap;
  114. text-align: center;
  115. }
  116. .van-radio[aria-checked='true'] {
  117. background: linear-gradient(180deg, #FFFFFF, #DAF1FF);
  118. box-shadow: 0px 0px 1px 0px #DAF1FF;
  119. .van-radio__label {
  120. color: var(--van-primary-color);
  121. font-weight: bold;
  122. }
  123. }
  124. }
  125. }
  126. .sliderWrap {
  127. :global {
  128. .var-cell__extra {
  129. flex: 2;
  130. }
  131. }
  132. }
  133. .slider {
  134. width: 60%;
  135. margin-right: 20px;
  136. .sliderBtn {
  137. width: 40px;
  138. color: #fff;
  139. font-size: 12px;
  140. line-height: 20px;
  141. text-align: center;
  142. background-color: var(--van-primary-color);
  143. border-radius: 20px;
  144. }
  145. }
  146. .sliderVolume {
  147. width: 55%;
  148. }
  149. .btnsbar {
  150. position: absolute;
  151. bottom: 12px;
  152. left: 0;
  153. width: 100%;
  154. display: flex;
  155. align-items: center;
  156. justify-content: space-evenly;
  157. .btn {
  158. display: flex;
  159. justify-content: space-evenly;
  160. align-items: center;
  161. width: 42%;
  162. height: 30px;
  163. padding: 0 6px;
  164. border-radius: 6px;
  165. font-size: 10px;
  166. background: #fff6e8;
  167. color: #6c442d;
  168. border: none;
  169. white-space: nowrap;
  170. & > img {
  171. width: 22px;
  172. height: 22px;
  173. }
  174. &:active {
  175. opacity: .8;
  176. }
  177. }
  178. }
  179. .disabled{
  180. opacity: .3;
  181. pointer-events: none;
  182. }
  183. .operateHz {
  184. display: flex;
  185. align-items: center;
  186. font-size: 14px;
  187. color: var(--van-primary-color);
  188. font-weight: 500;
  189. img {
  190. width: 28px;
  191. height: 28px;
  192. }
  193. span {
  194. margin: 0 6px;
  195. width: 50px;
  196. text-align: center;
  197. }
  198. }