index.module.less 8.0 KB

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