index.module.less 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. .headerTop {
  2. display: flex;
  3. align-items: center;
  4. width: 100%;
  5. height: 100%;
  6. flex-shrink: 0;
  7. padding: 0 10px;
  8. background: var(--container-background);
  9. padding-bottom: 0;
  10. transform: translateY(-100%);
  11. animation: headerDown .3s .5s ease-in-out forwards;
  12. }
  13. @keyframes headerDown {
  14. 100% {
  15. transform: translateY(0%);
  16. }
  17. }
  18. .back {
  19. display: flex;
  20. align-items: center;
  21. height: 100%;
  22. padding: 0 11px 0 6px;
  23. img {
  24. display: block;
  25. width: 24px;
  26. height: 24px;
  27. }
  28. }
  29. .headRight {
  30. display: flex;
  31. align-items: flex-end;
  32. margin-left: auto;
  33. height: 100%;
  34. }
  35. .btn {
  36. position: relative;
  37. display: flex;
  38. flex-direction: column;
  39. justify-content: center;
  40. align-items: center;
  41. font-size: 10px;
  42. line-height: 14px;
  43. font-weight: 400;
  44. padding: 4px 6px;
  45. border-radius: 4px;
  46. color: #999;
  47. cursor: pointer;
  48. &:hover{
  49. background-color: rgba(0, 0, 0, .1);
  50. }
  51. .iconBtn {
  52. display: block;
  53. width: 25px;
  54. height: 25px;
  55. }
  56. span {
  57. white-space: nowrap;
  58. margin-top: 2px;
  59. }
  60. .btnWrap {
  61. position: relative;
  62. width: 25px;
  63. height: 25px;
  64. }
  65. .progress {
  66. position: absolute;
  67. left: 50%;
  68. top: 50%;
  69. transform: translate(-50%, -50%);
  70. width: 85%;
  71. height: 85%;
  72. }
  73. }
  74. .disabled {
  75. pointer-events: none;
  76. opacity: .6;
  77. }
  78. .badge {
  79. :global {
  80. .van-badge {
  81. border: none;
  82. color: #135D4F;
  83. background: linear-gradient(180deg, #FFF884 0%, #FFC850 100%);
  84. border: 1px solid #FFFFFF;
  85. font-weight: 400;
  86. box-shadow: 0 0 5px rgba(0, 0, 0, .1);
  87. }
  88. }
  89. }
  90. .playBtn {
  91. position: fixed;
  92. right: 32px;
  93. bottom: 32px;
  94. .btnWrap {
  95. width: 36px;
  96. height: 36px;
  97. .iconBtn {
  98. display: block;
  99. width: 100%;
  100. height: 100%;
  101. }
  102. }
  103. }
  104. .resetBtn {
  105. position: fixed;
  106. right: 88px;
  107. bottom: 32px;
  108. padding: 0;
  109. .iconBtn {
  110. display: block;
  111. width: 36px;
  112. height: 36px;
  113. }
  114. }
  115. :global {
  116. .var-popup {
  117. overflow: hidden;
  118. pointer-events: none;
  119. .var-popup__overlay,
  120. .var-popup__content {
  121. pointer-events: auto;
  122. }
  123. }
  124. }