index.module.less 6.1 KB

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