index.module.less 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405
  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. }
  191. :global {
  192. .authorName {
  193. display: none !important;
  194. }
  195. #musicAndSelection{
  196. padding-top: 0 !important;
  197. }
  198. #osmdCanvasPage1 {
  199. padding-bottom: 0 !important;
  200. }
  201. #cursorImg-0 {
  202. opacity: 0 !important;
  203. }
  204. .noteActive {
  205. path {
  206. fill: #000000;
  207. stroke: #000000;
  208. }
  209. rect {
  210. stroke: #000000;
  211. }
  212. }
  213. .lyricActive {
  214. text {
  215. fill: #000000;
  216. stroke: #000000;
  217. }
  218. }
  219. .voiceActive {
  220. rect {
  221. fill: #000000;
  222. stroke: #000000;
  223. }
  224. }
  225. .rectActive {
  226. fill: #000000;
  227. stroke: #000000;
  228. }
  229. }
  230. }
  231. .cbsViewDetail {
  232. background: #fff !important;
  233. >.pageBg {
  234. display: none;
  235. }
  236. .headHeight {
  237. // background: #fff !important;
  238. }
  239. :global {
  240. #cursorImg-0 {
  241. opacity: 0 !important;
  242. }
  243. // .noteActive {
  244. // path {
  245. // fill: #000000;
  246. // stroke: #000000;
  247. // }
  248. // rect {
  249. // stroke: #000000;
  250. // }
  251. // }
  252. // .lyricActive {
  253. // text {
  254. // fill: #000000;
  255. // stroke: #000000;
  256. // }
  257. // }
  258. // .voiceActive {
  259. // rect {
  260. // fill: #000000;
  261. // stroke: #000000;
  262. // }
  263. // }
  264. // .rectActive {
  265. // fill: #000000;
  266. // stroke: #000000;
  267. // }
  268. #selectionBgBox {
  269. display: none;
  270. }
  271. }
  272. }
  273. .preJson {
  274. width: 1px;
  275. height: 1px;
  276. visibility: hidden;
  277. background: transparent;
  278. opacity: 0;
  279. }
  280. @keyframes headerDown {
  281. 100% {
  282. transform: translateY(0%);
  283. }
  284. }
  285. @keyframes rotate {
  286. from {
  287. transform: rotate(0deg);
  288. }
  289. to {
  290. transform: rotate(360deg);
  291. }
  292. }
  293. .loadingPop {
  294. position: fixed;
  295. left: 0;
  296. top: 0;
  297. right: 0;
  298. bottom: 0;
  299. width: 100%;
  300. min-width: 100vw;
  301. height: 100%;
  302. min-height: 100vh;
  303. display: flex;
  304. flex-direction: column;
  305. justify-content: center;
  306. align-items: center;
  307. z-index: 10000;
  308. background: rgba(0, 0, 0, .6);
  309. &.isPreView {
  310. background: transparent;
  311. .loadingTip {
  312. color: #999;
  313. }
  314. }
  315. .loadingCssBox{
  316. width: 27px;
  317. height: 27px;
  318. display: flex;
  319. justify-content: space-between;
  320. flex-wrap: wrap;
  321. align-content: space-between;
  322. margin-bottom: 24px;
  323. animation: rotate 1.5s linear infinite;
  324. .loadingCssItem{
  325. width: 11px;
  326. height: 11px;
  327. border-radius: 50%;
  328. background: #20BDFF;
  329. opacity: 0.5;
  330. &:nth-child(2){
  331. opacity:1;
  332. }
  333. }
  334. }
  335. .lottie{
  336. width: 120px;
  337. }
  338. .loadingTip {
  339. font-size: 14px;
  340. color: #fff;
  341. }
  342. }
  343. .bg2Left {
  344. width: 52px;
  345. position: absolute;
  346. left: 0px;
  347. top: 0;
  348. }
  349. .bg2Right {
  350. width: 52px;
  351. position: absolute;
  352. right: 0;
  353. top: 0;
  354. }