index.module.less 5.2 KB

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