index.module.less 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443
  1. :global(.eyeProtection) {
  2. .container {
  3. background: var(--eye-background-color) !important;
  4. }
  5. }
  6. .container {
  7. position: fixed;
  8. z-index: 9;
  9. top: 0;
  10. right: 0;
  11. left: 0;
  12. display: flex;
  13. align-items: center;
  14. justify-content: center;
  15. height: 28px;
  16. box-sizing: border-box;
  17. padding: 0 16px;
  18. background: #fff;
  19. transition: transform 0.3s ease-out;
  20. }
  21. .outUp {
  22. transform: translateY(-100%);
  23. }
  24. .moreButton {
  25. display: flex;
  26. justify-content: flex-end;
  27. .button {
  28. margin: 0;
  29. }
  30. }
  31. .centerButton {
  32. display: flex;
  33. align-items: center;
  34. justify-content: center;
  35. margin: 0 auto;
  36. }
  37. .leftButton {
  38. display: flex;
  39. align-items: center;
  40. .titleWrap {
  41. margin-left: 6px;
  42. }
  43. .title {
  44. max-width: 20vw;
  45. overflow: hidden;
  46. text-overflow: ellipsis;
  47. white-space: nowrap;
  48. font-size: 10px;
  49. color: #985131;
  50. font-weight: bold;
  51. }
  52. .album {
  53. font-size: 6px;
  54. color: #ab7f6a;
  55. }
  56. }
  57. .button {
  58. height: auto;
  59. line-height: normal;
  60. padding: 0;
  61. margin: 0;
  62. border: none;
  63. background: none;
  64. font-size: 0;
  65. &.hasText {
  66. color: #777;
  67. font-size: 5px;
  68. padding: 0 4.5px;
  69. white-space: nowrap;
  70. img {
  71. width: 13px;
  72. height: 13px;
  73. display: block;
  74. }
  75. :global {
  76. .van-button__text {
  77. display: flex;
  78. align-items: center;
  79. flex-direction: column;
  80. }
  81. }
  82. }
  83. &.bigIcon {
  84. img {
  85. width: 25px;
  86. height: 14px;
  87. display: block;
  88. margin: auto;
  89. margin-bottom: 1px;
  90. }
  91. }
  92. }
  93. .evaluatBtn {
  94. width: 54px;
  95. }
  96. .start {
  97. width: 75px;
  98. height: 75px;
  99. background-color: transparent;
  100. background-size: 100%;
  101. background-position: center;
  102. color: #fff;
  103. border-radius: 100%;
  104. position: fixed;
  105. top: 50%;
  106. left: 50%;
  107. margin-top: 10vh;
  108. transform: translate(-50%, -50%);
  109. font-size: 12px;
  110. }
  111. .evaluatStartBtn {
  112. position: fixed;
  113. top: calc(50% - 37.5px);
  114. left: calc(50% - 37.5px);
  115. width: 75px;
  116. height: 75px;
  117. background-size: 100%;
  118. background-position: center;
  119. z-index: 10;
  120. }
  121. .icon {
  122. width: 100%;
  123. }
  124. .onShow {
  125. transform: translateY(0);
  126. }
  127. .popover {
  128. :global(.van-popover__content) {
  129. border-radius: 3px !important;
  130. }
  131. :global {
  132. .van-popover__arrow {
  133. bottom: 3px;
  134. border-width: 4px !important;
  135. }
  136. }
  137. }
  138. .backbtn {
  139. width: 15px;
  140. height: 15px;
  141. }
  142. .speed {
  143. display: block;
  144. > div {
  145. padding: 2px;
  146. }
  147. :global {
  148. .van-slider__button-wrapper {
  149. background: #ffe8b1;
  150. border-radius: 20px;
  151. border: 1px solid #ffffff;
  152. padding: 2px 4px;
  153. > div {
  154. background-color: transparent !important;
  155. }
  156. span {
  157. color: #f67146 !important;
  158. }
  159. }
  160. .van-slider {
  161. background-color: #ffd571 !important;
  162. margin-top: 2px !important;
  163. margin-bottom: 2px !important;
  164. min-height: 35vh;
  165. }
  166. .van-button {
  167. width: 10px !important;
  168. height: 10px !important;
  169. background-color: transparent !important;
  170. border: none !important;
  171. margin-left: 0 !important;
  172. &:last-child {
  173. margin-top: 4px;
  174. }
  175. }
  176. .van-button__icon,
  177. img {
  178. width: 10px !important;
  179. height: 10px !important;
  180. }
  181. }
  182. }
  183. .schedule {
  184. position: relative;
  185. circle {
  186. display: block;
  187. }
  188. .ring {
  189. position: absolute;
  190. left: 0;
  191. top: 0;
  192. transform-origin: center;
  193. transform: rotate(-90deg);
  194. display: flex;
  195. width: 100%;
  196. height: 100%;
  197. pointer-events: none;
  198. }
  199. }
  200. .speedButton {
  201. position: relative;
  202. .label {
  203. position: absolute;
  204. font-size: 4px;
  205. padding: 0 2px;
  206. color: var(--primary-color);
  207. background: #ffe8b1;
  208. border-radius: 10px;
  209. border: 0.5px solid #ffffff;
  210. right: 0;
  211. top: 0;
  212. }
  213. }
  214. .player {
  215. position: fixed;
  216. z-index: 8;
  217. bottom: 10px;
  218. right: 16px;
  219. display: inline-block;
  220. z-index: 9;
  221. }
  222. .fullbtn {
  223. :global {
  224. .van-button__text {
  225. width: 20px;
  226. height: 20px;
  227. > div,
  228. img {
  229. width: 20px;
  230. height: 20px;
  231. }
  232. }
  233. }
  234. }
  235. .finish {
  236. background-color: transparent;
  237. background-size: 100%;
  238. background-position: center;
  239. background-repeat: no-repeat;
  240. width: 64px;
  241. height: 20px;
  242. border-radius: 12px;
  243. border: none;
  244. color: #6f4900;
  245. font-size: 9px;
  246. }
  247. :global {
  248. .start-enter-active,
  249. .start-leave-active {
  250. transition: all 0.5s ease-out;
  251. }
  252. .start-enter-from {
  253. opacity: 0;
  254. }
  255. .start-enter-to {
  256. opacity: 1;
  257. }
  258. .start-leave-from {
  259. opacity: 1;
  260. }
  261. .start-leave-to {
  262. margin-top: -100px;
  263. margin-left: -30px;
  264. opacity: 0;
  265. transform: scale(0.1);
  266. border-radius: 0;
  267. }
  268. .finish-enter-active,
  269. .finish-leave-active {
  270. transition: all 0.5s ease-out;
  271. }
  272. .finish-enter-from {
  273. transform: scale(0.1);
  274. opacity: 0;
  275. }
  276. .finish-enter-to {
  277. opacity: 1;
  278. transform: scale(1);
  279. }
  280. .finish-leave-from {
  281. opacity: 1;
  282. }
  283. .finish-leave-to {
  284. opacity: 0;
  285. transform: scale(0.1);
  286. }
  287. }
  288. .dialogueBox {
  289. position: fixed;
  290. bottom: -1px;
  291. right: 0;
  292. z-index: 9;
  293. display: flex;
  294. flex-direction: column;
  295. align-items: flex-end;
  296. .dialogue {
  297. position: fixed;
  298. bottom: 60px;
  299. }
  300. .dialogue > div {
  301. width: 96px;
  302. height: 32px;
  303. background: url('./icons/task-bg.png') no-repeat center;
  304. background-size: 100% 100%;
  305. margin-right: 10px;
  306. color: #fff;
  307. font-size: 6px;
  308. line-height: 8px;
  309. padding: 4px;
  310. box-sizing: border-box;
  311. }
  312. .dialogueIcon {
  313. width: 66px;
  314. height: 72px;
  315. margin-right: 6px;
  316. }
  317. .inRadioIcon {
  318. width: 66px;
  319. height: 72px;
  320. margin-right: 6px;
  321. }
  322. }
  323. .inRadio {
  324. width: 32px;
  325. height: 14px;
  326. font-size: 6px;
  327. background: linear-gradient(180deg, #ff975b, #ff6a3a);
  328. border-radius: 7px;
  329. border: 1px solid #ffffff;
  330. color: #fff;
  331. line-height: 12px;
  332. box-sizing: border-box;
  333. text-align: center;
  334. position: fixed;
  335. bottom: 0.12rem;
  336. right: 1.2rem;
  337. z-index: 9;
  338. }
  339. .animation {
  340. width: 80px;
  341. height: 67px;
  342. margin-right: 0;
  343. }
  344. .btnMusicList {
  345. position: fixed;
  346. right: 0;
  347. top: 50%;
  348. transform: translateY(-50%);
  349. z-index: 10;
  350. margin: 0;
  351. width: 40px;
  352. img {
  353. width: 100%;
  354. }
  355. }
  356. .toggleMusicType {
  357. :global {
  358. .van-popover__content {
  359. padding: 4px 0;
  360. border-radius: 8px;
  361. }
  362. .van-popover__action {
  363. width: 60px;
  364. height: 16px;
  365. padding: 0 6px;
  366. & > img {
  367. width: 14px;
  368. margin-right: 8px;
  369. }
  370. }
  371. .action-text {
  372. flex: 1;
  373. font-size: 8px;
  374. text-align: justify;
  375. text-align-last: justify;
  376. text-justify: distribute-all-lines; // 这行必加,兼容ie浏览器
  377. &::before,
  378. &::after {
  379. display: inline-block; /*行内元素*/
  380. content: '';
  381. width: 100%; /*可以挤掉文字,保证不跟文字在同一行*/
  382. height: 0;
  383. visibility: hidden;
  384. }
  385. }
  386. .action-active {
  387. color: var(--primary-color);
  388. }
  389. }
  390. }
  391. .slider {
  392. width: 20px;
  393. color: #fff;
  394. font-size: 8px;
  395. line-height: 10px;
  396. text-align: center;
  397. background-color: var(--van-primary-color);
  398. border-radius: 100px;
  399. }
  400. :global(.van-popup.van-popover.cameraPopover) {
  401. width: 140px;
  402. :global {
  403. .van-popover__arrow {
  404. right: 6px;
  405. border-width: 4px;
  406. }
  407. .cameraOpacity {
  408. .van-cell__value {
  409. flex: 2;
  410. overflow: visible;
  411. }
  412. }
  413. }
  414. }
  415. .followEndBtn {
  416. background-color: transparent;
  417. background-size: 100%;
  418. background-position: center;
  419. color: #fff;
  420. }