index.module.less 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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. }
  38. }
  39. :global {
  40. #cursorImg-0 {
  41. width: 2PX !important;
  42. min-height: 58PX;
  43. content: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
  44. margin-top: -14PX;
  45. border-radius: 4Px;
  46. background-color: rgba(25, 140, 254, 0.7);
  47. opacity: var(--corsor-opacity);
  48. //transform: translateX(10PX);
  49. }
  50. .staff {
  51. #cursorImg-0 {
  52. width: 14Px;
  53. transform: translateX(11Px);
  54. }
  55. }
  56. .jianpuTone {
  57. #cursorImg-0 {
  58. width: 18Px;
  59. transform: translateX(6.3Px) !important;
  60. }
  61. }
  62. .eyeProtection {
  63. #cursorImg-0 {
  64. background-color: rgb(255, 159, 88);
  65. }
  66. }
  67. #osmdCanvasPage1 {
  68. padding-bottom: 60px;
  69. }
  70. }
  71. .xiaomi {
  72. :global {
  73. #cursorImg-0 {
  74. height: 58PX !important;
  75. min-height: auto !important;
  76. }
  77. }
  78. }
  79. .PC {
  80. :global {
  81. #cursorImg-0 {
  82. margin-top: -18PX;
  83. min-height: 94Px;
  84. border-radius: 10Px;
  85. }
  86. .staff {
  87. #cursorImg-0 {
  88. width: 35Px;
  89. transform: translateX(21Px) !important;
  90. }
  91. }
  92. .jianpuTone {
  93. #cursorImg-0 {
  94. width: 29Px;
  95. transform: translateX(13Px) !important;
  96. }
  97. }
  98. .headTopBackBtn {
  99. display: none;
  100. }
  101. .pcTitle {
  102. position: absolute;
  103. left: 50%;
  104. top: 50%;
  105. transform: translate(-50%, -50%);
  106. .van-notice-bar__wrap {
  107. justify-content: center;
  108. }
  109. }
  110. }
  111. .headHeight.headHide {
  112. // margin-top: 0 !important;
  113. }
  114. }