index.module.less 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. .skeleton {
  2. position: fixed;
  3. left: 0;
  4. top: 0;
  5. width: 100vw;
  6. height: 100vh;
  7. padding: 20px 30px;
  8. background-color: #fff;
  9. z-index: 1000;
  10. --van-skeleton-paragraph-height: .8rem;
  11. }
  12. :global {
  13. // .headHeight>.driver-active-element,
  14. // #noticeBarRollDom>.driver-active-element,
  15. // :not(body):has(>.headHeight),
  16. // :not(body):has(>#noticeBarRollDom),
  17. body .headeTopTitleBtn,
  18. body #noticeBarRollDom {
  19. overflow: initial !important;
  20. }
  21. }
  22. .detail {
  23. position: relative;
  24. width: 100vw;
  25. height: 100vh;
  26. overflow: hidden;
  27. --header-height: 80px;
  28. --pc-header-height: 72px;
  29. // &.practise{
  30. // background: url("./images/bg1.png") no-repeat;
  31. // background-size: 100% 100%;
  32. // }
  33. // &.follow{
  34. // background: url("./images/bg3.png") no-repeat;
  35. // background-size: 100% 100%;
  36. // }
  37. // &.evaluating{
  38. // background: rgba(255, 255, 255, 0.2) url("./images/bg2.png") no-repeat;
  39. // background-size: 100% 100%;
  40. // }
  41. .pageBg {
  42. position: absolute;
  43. left: 0;
  44. top: 0;
  45. width: 100%;
  46. height: 100%;
  47. object-fit: cover;
  48. /* 保持宽高比 */
  49. }
  50. .headHeight {
  51. position: absolute;
  52. bottom: 0;
  53. width: 100%;
  54. height: var(--header-height);
  55. transition: all .3s;
  56. z-index: 99;
  57. &.headHide {
  58. margin-bottom: calc(0Px - var(--header-height));
  59. :global {
  60. .practiseModeWarn {
  61. opacity: 1;
  62. img {
  63. opacity: 0.7;
  64. }
  65. }
  66. }
  67. }
  68. }
  69. .container {
  70. position: sticky;
  71. top: 0;
  72. height: 100vh;
  73. border-radius: 10px;
  74. transition: height .2s;
  75. transition: padding-bottom .2s;
  76. overflow: hidden;
  77. <<<<<<< HEAD :global {
  78. ======= :global {
  79. >>>>>>>feature-wxl-newVersion #musicAndSelection {
  80. // 其他位置 这个高度留白是36,这里加了一点,让旋律线靠下一点
  81. padding-top: 40px;
  82. }
  83. }
  84. }
  85. .pcContainer {
  86. // height: calc(100vh - var(--header-height) - var(--pc-header-height));
  87. }
  88. .fingeringCon {
  89. transition: scale 0.2s;
  90. }
  91. }
  92. :global {
  93. #cursorImg-0 {
  94. width: 2PX !important;
  95. min-height: 58PX;
  96. height: 58PX;
  97. content: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
  98. margin-top: -13PX;
  99. border-radius: 4Px;
  100. background-color: rgba(25, 140, 254, 0.7);
  101. // opacity: var(--corsor-opacity);
  102. //transform: translateX(10PX);
  103. z-index: 1 !important;
  104. opacity: 0; // 新版小酷AI不显示光标指针
  105. }
  106. .staff {
  107. #cursorImg-0 {
  108. width: 14Px;
  109. transform: translateX(11Px);
  110. }
  111. }
  112. .jianpuTone {
  113. #cursorImg-0 {
  114. width: 18Px;
  115. transform: translateX(6.3Px) !important;
  116. }
  117. }
  118. .eyeProtection {
  119. #cursorImg-0 {
  120. background-color: rgb(255, 159, 88);
  121. }
  122. }
  123. #osmdCanvasPage1 {
  124. //padding-bottom: 60px;
  125. }
  126. }
  127. .xiaomi {
  128. :global {
  129. #cursorImg-0 {
  130. height: 58PX !important;
  131. min-height: auto !important;
  132. }
  133. }
  134. }
  135. .PC {
  136. :global {
  137. #cursorImg-0 {
  138. margin-top: -18PX;
  139. min-height: 94Px;
  140. border-radius: 10Px;
  141. }
  142. .staff {
  143. #cursorImg-0 {
  144. width: 35Px;
  145. transform: translateX(21Px) !important;
  146. }
  147. }
  148. .jianpuTone {
  149. #cursorImg-0 {
  150. width: 29Px;
  151. transform: translateX(13Px) !important;
  152. }
  153. }
  154. .headTopBackBtn {
  155. display: none;
  156. }
  157. .pcTitle {
  158. position: absolute;
  159. left: 20%;
  160. top: 50%;
  161. transform: translate(-50%, -50%);
  162. .van-notice-bar__wrap {
  163. justify-content: center;
  164. }
  165. }
  166. }
  167. .headHeight.headHide {
  168. // margin-top: 0 !important;
  169. }
  170. }
  171. .preViewDetail {
  172. background: #fff !important;
  173. >.pageBg {
  174. display: none;
  175. }
  176. .headHeight {
  177. background: #fff !important;
  178. }
  179. .container {
  180. height: 100%;
  181. padding-bottom: 0 !important;
  182. padding-right: 0 !important;
  183. }
  184. :global {
  185. #osmdCanvasPage1 {
  186. padding-bottom: 0 !important;
  187. }
  188. #cursorImg-0 {
  189. opacity: 0 !important;
  190. }
  191. .noteActive {
  192. path {
  193. fill: #000000;
  194. stroke: #000000;
  195. }
  196. rect {
  197. stroke: #000000;
  198. }
  199. }
  200. }
  201. }
  202. .preJson {
  203. width: 1px;
  204. height: 1px;
  205. visibility: hidden;
  206. background: transparent;
  207. opacity: 0;
  208. }
  209. @keyframes headerDown {
  210. 100% {
  211. transform: translateY(0%);
  212. }
  213. }
  214. .loadingPop {
  215. position: fixed;
  216. left: 0;
  217. top: 0;
  218. right: 0;
  219. bottom: 0;
  220. width: 100vw;
  221. height: 100vh;
  222. display: flex;
  223. flex-direction: column;
  224. justify-content: center;
  225. align-items: center;
  226. z-index: 10000;
  227. background: rgba(0, 0, 0, .6);
  228. &.isPreView {
  229. background: transparent;
  230. .loadingTip {
  231. color: #999;
  232. }
  233. }
  234. .lottie {
  235. width: 120px;
  236. }
  237. .loadingTip {
  238. font-size: 14px;
  239. color: #fff;
  240. }
  241. }
  242. .bg2Left {
  243. width: 52px;
  244. height: 125px;
  245. position: absolute;
  246. left: 0;
  247. top: 0;
  248. }
  249. .bg2Right {
  250. width: 52px;
  251. height: 125px;
  252. position: absolute;
  253. right: 0;
  254. top: 0;
  255. }