index.module.less 6.2 KB

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