index.module.less 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  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. width: 100vw;
  14. height: 100vh;
  15. overflow: hidden;
  16. --header-height: 62px;
  17. background: var(--container-background);
  18. .headHeight {
  19. position: relative;
  20. width: 100%;
  21. height: var(--header-height);
  22. transition: margin .3s;
  23. z-index: 10;
  24. &.headHide {
  25. margin-top: calc(0Px - var(--header-height));
  26. }
  27. }
  28. .container {
  29. position: sticky;
  30. top: 0;
  31. height: calc(100vh - var(--header-height));
  32. margin: 0 10px;
  33. border-radius: 10px;
  34. transition: height .2s;
  35. transition: padding-bottom .2s;
  36. overflow: hidden;
  37. //overflow-x: scroll;
  38. }
  39. }
  40. :global {
  41. #cursorImg-0, #cursor-copy {
  42. width: 2PX !important;
  43. min-height: 58PX;
  44. height: 58PX;
  45. content: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
  46. margin-top: -13PX;
  47. border-radius: 4Px;
  48. background-color: rgba(25, 140, 254, 0.7);
  49. opacity: var(--corsor-opacity);
  50. //transform: translateX(10PX);
  51. z-index: 1 !important;
  52. }
  53. .staff {
  54. #cursorImg-0, #cursor-copy {
  55. width: 14Px;
  56. transform: translateX(11Px);
  57. }
  58. #cursor-copy {
  59. transform: translate(0, -34%);
  60. }
  61. }
  62. .jianpuTone {
  63. #cursorImg-0, #cursor-copy {
  64. width: 18Px;
  65. transform: translateX(6.3Px) !important;
  66. }
  67. }
  68. .eyeProtection {
  69. #cursorImg-0, #cursor-copy {
  70. background-color: rgb(255, 159, 88);
  71. }
  72. }
  73. #osmdCanvasPage1 {
  74. padding-bottom: 60px;
  75. }
  76. }
  77. .xiaomi {
  78. :global {
  79. #cursorImg-0, #cursor-copy {
  80. height: 58PX !important;
  81. min-height: auto !important;
  82. }
  83. }
  84. }
  85. .PC {
  86. :global {
  87. #cursorImg-0, #cursor-copy {
  88. margin-top: -18PX;
  89. min-height: 94Px;
  90. border-radius: 10Px;
  91. }
  92. .staff {
  93. #cursorImg-0, #cursor-copy {
  94. width: 35Px;
  95. transform: translateX(21Px) !important;
  96. }
  97. }
  98. .jianpuTone {
  99. #cursorImg-0, #cursor-copy {
  100. width: 29Px;
  101. transform: translateX(13Px) !important;
  102. }
  103. }
  104. .headTopBackBtn {
  105. display: none;
  106. }
  107. .pcTitle {
  108. position: absolute;
  109. left: 20%;
  110. top: 50%;
  111. transform: translate(-50%, -50%);
  112. .van-notice-bar__wrap {
  113. justify-content: center;
  114. }
  115. }
  116. }
  117. .headHeight.headHide {
  118. // margin-top: 0 !important;
  119. }
  120. }
  121. .preViewDetail {
  122. background: #fff !important;
  123. .headHeight {
  124. background: #fff !important;
  125. }
  126. .container {
  127. height: 100%;
  128. padding-bottom: 0 !important;
  129. padding-right: 0 !important;
  130. }
  131. :global {
  132. #osmdCanvasPage1 {
  133. padding-bottom: 0 !important;
  134. }
  135. #cursorImg-0, #cursor-copy {
  136. opacity: 0 !important;
  137. }
  138. }
  139. }
  140. .preJson {
  141. width: 1px;
  142. height: 1px;
  143. visibility: hidden;
  144. background: transparent;
  145. opacity: 0;
  146. }
  147. .singleLineDetail {
  148. :global {
  149. #cursorImg-0 {
  150. display: none;
  151. }
  152. .staveBox {
  153. display: none !important;
  154. }
  155. .cursorAnimate {
  156. animation: cnimate 1s ease-in-out infinite;
  157. }
  158. .leftNoteBg {
  159. position: relative;
  160. background: rgba(0, 0, 0, 0.3);
  161. ::before {
  162. content: "";
  163. position: absolute;
  164. left: 0;
  165. top: 0;
  166. width: 200px;
  167. height: 100px;
  168. background: rgba(0,0,0,0.4);
  169. z-index: 999;
  170. display: block;
  171. }
  172. }
  173. #cursor-copy {
  174. ::after {
  175. content: "";
  176. position: sticky;
  177. left: 0;
  178. top: 0;
  179. width: 200px;
  180. height: 200px;
  181. background: rgba(0,0,0,0.4);
  182. z-index: 999;
  183. display: block;
  184. }
  185. }
  186. }
  187. }