index.module.less 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  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. .headHeight {
  24. position: absolute;
  25. bottom: 0;
  26. width: 100%;
  27. height: var(--header-height);
  28. transition: all .3s;
  29. z-index: 10;
  30. &.headHide {
  31. margin-bottom: calc(0Px - var(--header-height));
  32. }
  33. }
  34. .container {
  35. position: sticky;
  36. top: var(--header-height);
  37. height: calc(100vh - var(--header-height));
  38. margin: 0 10px;
  39. border-radius: 10px;
  40. transition: height .2s;
  41. transition: padding-bottom .2s;
  42. overflow: hidden;
  43. }
  44. .pcContainer {
  45. height: calc(100vh - var(--header-height) - var(--pc-header-height));
  46. margin: 0 24px;
  47. }
  48. }
  49. :global {
  50. #cursorImg-0, #cursor-copy {
  51. width: 2PX !important;
  52. min-height: 58PX;
  53. height: 58PX;
  54. content: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
  55. margin-top: -13PX;
  56. border-radius: 4Px;
  57. background-color: rgba(25, 140, 254, 0.7);
  58. opacity: var(--corsor-opacity);
  59. //transform: translateX(10PX);
  60. z-index: 1 !important;
  61. }
  62. .staff {
  63. #cursorImg-0, #cursor-copy {
  64. width: 14Px;
  65. transform: translateX(11Px);
  66. }
  67. #cursor-copy {
  68. transform: translate(0, -34%);
  69. }
  70. }
  71. .jianpuTone {
  72. #cursorImg-0, #cursor-copy {
  73. width: 18Px;
  74. transform: translateX(6.3Px) !important;
  75. }
  76. }
  77. .eyeProtection {
  78. #cursorImg-0, #cursor-copy {
  79. background-color: rgb(255, 159, 88);
  80. }
  81. }
  82. #osmdCanvasPage1 {
  83. padding-bottom: 60px;
  84. }
  85. }
  86. .xiaomi {
  87. :global {
  88. #cursorImg-0, #cursor-copy {
  89. height: 58PX !important;
  90. min-height: auto !important;
  91. }
  92. }
  93. }
  94. .PC {
  95. :global {
  96. #cursorImg-0, #cursor-copy {
  97. margin-top: -18PX;
  98. min-height: 94Px;
  99. border-radius: 10Px;
  100. }
  101. .staff {
  102. #cursorImg-0, #cursor-copy {
  103. width: 35Px;
  104. transform: translateX(21Px) !important;
  105. }
  106. }
  107. .jianpuTone {
  108. #cursorImg-0, #cursor-copy {
  109. width: 29Px;
  110. transform: translateX(13Px) !important;
  111. }
  112. }
  113. .headTopBackBtn {
  114. display: none;
  115. }
  116. .pcTitle {
  117. position: absolute;
  118. left: 20%;
  119. top: 50%;
  120. transform: translate(-50%, -50%);
  121. .van-notice-bar__wrap {
  122. justify-content: center;
  123. }
  124. }
  125. }
  126. .headHeight.headHide {
  127. // margin-top: 0 !important;
  128. }
  129. }
  130. .preViewDetail {
  131. background: #fff !important;
  132. .headHeight {
  133. background: #fff !important;
  134. }
  135. .container {
  136. height: 100%;
  137. padding-bottom: 0 !important;
  138. padding-right: 0 !important;
  139. }
  140. :global {
  141. #osmdCanvasPage1 {
  142. padding-bottom: 0 !important;
  143. }
  144. #cursorImg-0, #cursor-copy {
  145. opacity: 0 !important;
  146. }
  147. }
  148. }
  149. .preJson {
  150. width: 1px;
  151. height: 1px;
  152. visibility: hidden;
  153. background: transparent;
  154. opacity: 0;
  155. }
  156. .singleLineDetail {
  157. :global {
  158. #cursorImg-0 {
  159. display: none;
  160. }
  161. .staveBox {
  162. display: none !important;
  163. }
  164. .cursorAnimate {
  165. animation: cnimate 1s ease-in-out infinite;
  166. }
  167. .leftNoteBg {
  168. position: sticky;
  169. background: rgba(0, 0, 0, 0.3);
  170. ::before {
  171. content: "";
  172. position: absolute;
  173. left: 0;
  174. top: 0;
  175. width: 200px;
  176. height: 100px;
  177. background: rgba(0,0,0,0.4);
  178. z-index: 999;
  179. display: block;
  180. }
  181. }
  182. #cursor-copy {
  183. &::after {
  184. content: "";
  185. position: sticky;
  186. left: 0;
  187. top: 0;
  188. width: 200px;
  189. height: 200px;
  190. background: rgba(0,0,0,0.4);
  191. z-index: 999;
  192. display: block;
  193. }
  194. }
  195. }
  196. }
  197. @keyframes headerDown {
  198. 100% {
  199. transform: translateY(0%);
  200. }
  201. }
  202. .modeView {
  203. position: fixed;
  204. z-index: 99;
  205. top: 0;
  206. left: 0;
  207. width: 100vw;
  208. height: 100vh;
  209. background: url(./images/bg.png) no-repeat;
  210. background-size: 100% 100%;
  211. .back {
  212. position: absolute;
  213. width: 38px;
  214. height: 38px;
  215. left: 27px;
  216. top: 17px;
  217. }
  218. .name {
  219. position: absolute;
  220. left: 50%;
  221. top: 23px;
  222. transform: translateX(-50%);
  223. width: 87px;
  224. height: 21px;
  225. }
  226. .modeBox {
  227. width: 100%;
  228. margin-top: 90px;
  229. display: flex;
  230. justify-content: space-between;
  231. padding: 0 36px;
  232. > img {
  233. width: calc((100% - 2*40px)/3);
  234. }
  235. }
  236. }