index.module.less 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  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. background-color: #fff;
  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. transition: height .2s;
  74. transition: padding-bottom .2s;
  75. overflow: hidden;
  76. :global {
  77. #musicAndSelection {
  78. --musicAndSelectionTop: 40px;
  79. padding-top: var(--musicAndSelectionTop);
  80. }
  81. }
  82. }
  83. .pcContainer {
  84. // height: calc(100vh - var(--header-height) - var(--pc-header-height));
  85. }
  86. .fingeringCon {
  87. transition: scale 0.2s;
  88. }
  89. }
  90. :global {
  91. #cursorImg-0 {
  92. width: 2PX !important;
  93. min-height: 58PX;
  94. height: 58PX;
  95. content: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
  96. margin-top: -13PX;
  97. border-radius: 4Px;
  98. background-color: rgba(25, 140, 254, 0.7);
  99. // opacity: var(--corsor-opacity);
  100. //transform: translateX(10PX);
  101. z-index: 1 !important;
  102. opacity: 0; // 新版小酷AI不显示光标指针
  103. }
  104. .staff {
  105. #cursorImg-0 {
  106. width: 14Px;
  107. transform: translateX(11Px);
  108. }
  109. }
  110. .jianpuTone {
  111. #cursorImg-0 {
  112. width: 18Px;
  113. transform: translateX(6.3Px) !important;
  114. }
  115. }
  116. .eyeProtection {
  117. #cursorImg-0 {
  118. background-color: rgb(255, 159, 88);
  119. }
  120. }
  121. #osmdCanvasPage1 {
  122. //padding-bottom: 60px;
  123. }
  124. }
  125. .xiaomi {
  126. :global {
  127. #cursorImg-0 {
  128. height: 58PX !important;
  129. min-height: auto !important;
  130. }
  131. }
  132. }
  133. .PC {
  134. :global {
  135. #cursorImg-0 {
  136. margin-top: -18PX;
  137. min-height: 94Px;
  138. border-radius: 10Px;
  139. }
  140. .staff {
  141. #cursorImg-0 {
  142. width: 35Px;
  143. transform: translateX(21Px) !important;
  144. }
  145. }
  146. .jianpuTone {
  147. #cursorImg-0 {
  148. width: 29Px;
  149. transform: translateX(13Px) !important;
  150. }
  151. }
  152. .headTopBackBtn {
  153. // display: none;
  154. }
  155. .pcTitle {
  156. position: absolute;
  157. left: 20%;
  158. top: 50%;
  159. transform: translate(-50%, -50%);
  160. .van-notice-bar__wrap {
  161. justify-content: center;
  162. }
  163. }
  164. }
  165. .headHeight.headHide {
  166. // margin-top: 0 !important;
  167. }
  168. }
  169. .preViewDetail {
  170. background: #fff !important;
  171. >.pageBg {
  172. display: none;
  173. }
  174. .headHeight {
  175. background: #fff !important;
  176. }
  177. .container {
  178. height: 100%;
  179. padding-bottom: 0 !important;
  180. padding-right: 0 !important;
  181. padding-left: 0 !important;
  182. }
  183. :global {
  184. .authorName {
  185. display: none !important;
  186. }
  187. #musicAndSelection{
  188. padding-top: 0 !important;
  189. }
  190. #osmdCanvasPage1 {
  191. padding-bottom: 0 !important;
  192. }
  193. #cursorImg-0 {
  194. opacity: 0 !important;
  195. }
  196. .noteActive {
  197. path {
  198. fill: #000000;
  199. stroke: #000000;
  200. }
  201. rect {
  202. stroke: #000000;
  203. }
  204. }
  205. .lyricActive {
  206. text {
  207. fill: #000000;
  208. stroke: #000000;
  209. }
  210. }
  211. .voiceActive {
  212. rect {
  213. fill: #000000;
  214. stroke: #000000;
  215. }
  216. }
  217. .rectActive {
  218. fill: #000000;
  219. stroke: #000000;
  220. }
  221. }
  222. }
  223. .cbsViewDetail {
  224. background: #fff !important;
  225. >.pageBg {
  226. display: none;
  227. }
  228. .headHeight {
  229. // background: #fff !important;
  230. }
  231. :global {
  232. #cursorImg-0 {
  233. opacity: 0 !important;
  234. }
  235. .noteActive {
  236. path {
  237. fill: #0097FF;
  238. stroke: #0097FF;
  239. }
  240. rect {
  241. stroke: #0097FF;
  242. }
  243. }
  244. .lyricActive {
  245. text {
  246. fill: #0097FF;
  247. stroke: #0097FF;
  248. }
  249. }
  250. .voiceActive {
  251. rect {
  252. fill: #0097FF;
  253. stroke: #0097FF;
  254. }
  255. }
  256. .rectActive {
  257. fill: #0097FF;
  258. stroke: #0097FF;
  259. }
  260. #selectionBgBox {
  261. display: none;
  262. }
  263. .vf-numbered_note_lines {
  264. rect {
  265. fill: #000;
  266. stroke: #000;
  267. }
  268. }
  269. }
  270. }
  271. .preJson {
  272. width: 1px;
  273. height: 1px;
  274. visibility: hidden;
  275. background: transparent;
  276. opacity: 0;
  277. }
  278. @keyframes headerDown {
  279. 100% {
  280. transform: translateY(0%);
  281. }
  282. }
  283. @keyframes rotate {
  284. from {
  285. transform: rotate(0deg);
  286. }
  287. to {
  288. transform: rotate(360deg);
  289. }
  290. }
  291. .loadingPop {
  292. position: fixed;
  293. left: 0;
  294. top: 0;
  295. right: 0;
  296. bottom: 0;
  297. width: 100%;
  298. min-width: 100vw;
  299. height: 100%;
  300. min-height: 100vh;
  301. display: flex;
  302. flex-direction: column;
  303. justify-content: center;
  304. align-items: center;
  305. z-index: 10000;
  306. background: rgba(0, 0, 0, .6);
  307. &.isPreView {
  308. background: transparent;
  309. .loadingTip {
  310. color: #999;
  311. }
  312. }
  313. .loadingCssBox{
  314. width: 27px;
  315. height: 27px;
  316. display: flex;
  317. justify-content: space-between;
  318. flex-wrap: wrap;
  319. align-content: space-between;
  320. margin-bottom: 24px;
  321. animation: rotate 1.5s linear infinite;
  322. .loadingCssItem{
  323. width: 11px;
  324. height: 11px;
  325. border-radius: 50%;
  326. background: #20BDFF;
  327. opacity: 0.5;
  328. &:nth-child(2){
  329. opacity:1;
  330. }
  331. }
  332. }
  333. .lottie{
  334. width: 120px;
  335. }
  336. .loadingTip {
  337. font-size: 14px;
  338. color: #fff;
  339. }
  340. }