index.module.less 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. .headerTop {
  2. display: flex;
  3. align-items: center;
  4. width: 100vw;
  5. height: 100%;
  6. flex-shrink: 0;
  7. margin-left: calc(-1 * var(--detailDataPaddingLeft));
  8. padding: 0 30px;
  9. background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
  10. }
  11. .headTopLeftBox {
  12. position: fixed;
  13. top: 20px;
  14. left: 30px;
  15. display: flex;
  16. align-items: center;
  17. .img {
  18. width: 32px;
  19. height: 32px;
  20. &:first-child {
  21. margin-right: 10px;
  22. }
  23. }
  24. .title {
  25. width: 216px;
  26. &.isMusicList {
  27. :global {
  28. .van-notice-bar .van-notice-bar__content::after {
  29. position: absolute;
  30. top: 50%;
  31. right: 0;
  32. transform: translateY(-50%);
  33. content: "";
  34. width: 11px;
  35. height: 6px;
  36. background: url("./image/sj.png") no-repeat;
  37. background-size: 100% 100%;
  38. }
  39. }
  40. }
  41. :global {
  42. .van-notice-bar {
  43. height: 30px;
  44. line-height: 30px;
  45. padding: 0;
  46. font-weight: 600;
  47. font-size: 18px;
  48. color: #FFFFFF;
  49. .van-notice-bar__content {
  50. position: relative;
  51. padding-right: 16px;
  52. }
  53. }
  54. }
  55. }
  56. .hidenBack {
  57. opacity: 0;
  58. pointer-events: none;
  59. }
  60. }
  61. .modeChangeBox {
  62. position: fixed;
  63. top: 20px;
  64. right: 30px;
  65. height: 32px;
  66. background: rgba(0, 0, 0, .4);
  67. border-radius: 16px;
  68. display: flex;
  69. align-items: center;
  70. padding: 0 10px;
  71. .img {
  72. width: 18px;
  73. height: 18px;
  74. }
  75. .title {
  76. margin-left: 6px;
  77. font-weight: 500;
  78. font-size: 14px;
  79. color: #FFFFFF;
  80. }
  81. }
  82. .headRight {
  83. display: flex;
  84. align-items: center;
  85. height: 100%;
  86. .btn {
  87. position: relative;
  88. display: flex;
  89. flex-direction: column;
  90. align-items: center;
  91. cursor: pointer;
  92. padding: 0 8px;
  93. margin-right: 14px;
  94. &:first-child {
  95. margin-left: -8px;
  96. }
  97. &:last-child {
  98. margin-right: 0;
  99. }
  100. .iconBtn {
  101. width: 24px;
  102. height: 24px;
  103. }
  104. span {
  105. margin-top: 3px;
  106. font-weight: 500;
  107. font-size: 12px;
  108. color: #FFFFFF;
  109. line-height: 17px;
  110. }
  111. }
  112. .metronomeBtn {
  113. position: relative;
  114. .speedCon {
  115. transform: scale(0.83);
  116. transform-origin: left bottom;
  117. padding: 2px;
  118. position: absolute;
  119. left: 14px;
  120. top: -9px;
  121. display: flex;
  122. align-items: center;
  123. background: #FFC121;
  124. border-radius: 120px 120px 120px 1px;
  125. border: 1px solid #FFFFFF;
  126. >img {
  127. width: 15px;
  128. height: 11px;
  129. }
  130. >div {
  131. margin-left: 1px;
  132. font-weight: 600;
  133. font-size: 12px;
  134. color: #673207;
  135. line-height: 1;
  136. }
  137. }
  138. }
  139. }
  140. .disabled {
  141. pointer-events: none;
  142. opacity: .5;
  143. }
  144. .playBtn {
  145. position: fixed;
  146. right: 30px;
  147. bottom: 12px;
  148. transition: bottom .2s ease;
  149. .btnWrap {
  150. width: 50px;
  151. height: 50px;
  152. .iconBtn {
  153. display: block;
  154. width: 100%;
  155. height: 100%;
  156. }
  157. }
  158. &.playLeftButton {
  159. left: 46px !important;
  160. right: auto !important;
  161. bottom: 12px !important;
  162. }
  163. &.playRightButton {
  164. right: 46px !important;
  165. left: auto !important;
  166. bottom: 12px !important;
  167. }
  168. .progress {
  169. position: absolute;
  170. left: 50%;
  171. top: 50%;
  172. transform: translate(-50%, -50%);
  173. width: 85%;
  174. height: 85%;
  175. }
  176. }
  177. .resetBtn {
  178. position: fixed;
  179. right: 100px;
  180. bottom: 12px;
  181. transition: bottom .2s ease;
  182. .iconBtn {
  183. display: block;
  184. width: 50px;
  185. height: 50px;
  186. }
  187. &.pauseLeftButton {
  188. left: 88px !important;
  189. right: auto !important;
  190. bottom: 12px !important;
  191. }
  192. &.pauseRightButton {
  193. right: 88px !important;
  194. left: auto !important;
  195. bottom: 12px !important;
  196. }
  197. }
  198. :global {
  199. .var-popup {
  200. overflow: hidden;
  201. pointer-events: none;
  202. .var-popup__overlay,
  203. .var-popup__content {
  204. pointer-events: auto;
  205. }
  206. }
  207. }
  208. .pcTransPop {
  209. z-index: 999 !important;
  210. }
  211. .modeView {
  212. position: fixed;
  213. z-index: 10000;
  214. top: 0;
  215. left: 0;
  216. width: 100vw;
  217. height: 100vh;
  218. background: url(./image/bg.png) no-repeat;
  219. background-size: 100% 100%;
  220. transition: all .3s;
  221. &.hidden {
  222. opacity: 0;
  223. transform: translateY(100%);
  224. pointer-events: none;
  225. }
  226. .back {
  227. position: absolute;
  228. width: 38px;
  229. height: 38px;
  230. left: 27px;
  231. top: 17px;
  232. cursor: pointer;
  233. }
  234. .name {
  235. position: absolute;
  236. left: 50%;
  237. top: 23px;
  238. transform: translateX(-50%);
  239. width: 87px;
  240. height: 21px;
  241. }
  242. .modeBox {
  243. width: 100%;
  244. margin-top: 90px;
  245. display: flex;
  246. justify-content: space-between;
  247. padding: 0 36px;
  248. &.twoModeBox {
  249. justify-content: center;
  250. >.modeImg+.modeImg {
  251. margin-left: 150px;
  252. }
  253. }
  254. >.modeImg {
  255. width: calc((100% - 2*40px)/3);
  256. max-width: 220px;
  257. }
  258. }
  259. }