index.module.less 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  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: 99;
  30. &.headHide {
  31. margin-bottom: calc(0Px - var(--header-height));
  32. }
  33. }
  34. .container {
  35. position: sticky;
  36. top: 36px;
  37. height: calc(100vh - 36px);
  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. .fingeringCon{
  49. transition: scale 0.2s;
  50. }
  51. }
  52. :global {
  53. #cursorImg-0 {
  54. width: 2PX !important;
  55. min-height: 58PX;
  56. height: 58PX;
  57. content: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
  58. margin-top: -13PX;
  59. border-radius: 4Px;
  60. background-color: rgba(25, 140, 254, 0.7);
  61. opacity: var(--corsor-opacity);
  62. //transform: translateX(10PX);
  63. z-index: 1 !important;
  64. display: none; // 新版小酷AI不显示光标指针
  65. }
  66. .staff {
  67. #cursorImg-0 {
  68. width: 14Px;
  69. transform: translateX(11Px);
  70. }
  71. }
  72. .jianpuTone {
  73. #cursorImg-0 {
  74. width: 18Px;
  75. transform: translateX(6.3Px) !important;
  76. }
  77. }
  78. .eyeProtection {
  79. #cursorImg-0 {
  80. background-color: rgb(255, 159, 88);
  81. }
  82. }
  83. #osmdCanvasPage1 {
  84. //padding-bottom: 60px;
  85. }
  86. }
  87. .xiaomi {
  88. :global {
  89. #cursorImg-0 {
  90. height: 58PX !important;
  91. min-height: auto !important;
  92. }
  93. }
  94. }
  95. .PC {
  96. :global {
  97. #cursorImg-0 {
  98. margin-top: -18PX;
  99. min-height: 94Px;
  100. border-radius: 10Px;
  101. }
  102. .staff {
  103. #cursorImg-0 {
  104. width: 35Px;
  105. transform: translateX(21Px) !important;
  106. }
  107. }
  108. .jianpuTone {
  109. #cursorImg-0 {
  110. width: 29Px;
  111. transform: translateX(13Px) !important;
  112. }
  113. }
  114. .headTopBackBtn {
  115. display: none;
  116. }
  117. .pcTitle {
  118. position: absolute;
  119. left: 20%;
  120. top: 50%;
  121. transform: translate(-50%, -50%);
  122. .van-notice-bar__wrap {
  123. justify-content: center;
  124. }
  125. }
  126. }
  127. .headHeight.headHide {
  128. // margin-top: 0 !important;
  129. }
  130. }
  131. .preViewDetail {
  132. background: #fff !important;
  133. .headHeight {
  134. background: #fff !important;
  135. }
  136. .container {
  137. height: 100%;
  138. padding-bottom: 0 !important;
  139. padding-right: 0 !important;
  140. }
  141. :global {
  142. #osmdCanvasPage1 {
  143. padding-bottom: 0 !important;
  144. }
  145. #cursorImg-0 {
  146. opacity: 0 !important;
  147. }
  148. }
  149. }
  150. .preJson {
  151. width: 1px;
  152. height: 1px;
  153. visibility: hidden;
  154. background: transparent;
  155. opacity: 0;
  156. }
  157. @keyframes headerDown {
  158. 100% {
  159. transform: translateY(0%);
  160. }
  161. }