index.less 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. .readingBox {
  2. position: relative;
  3. height: 100vh;
  4. width: 100vw;
  5. display: flex;
  6. flex-direction: column;
  7. background-color: white;
  8. .poster {
  9. top: 0px;
  10. left: 0px;
  11. position: absolute;
  12. width: 100%;
  13. height: 422rpx;
  14. z-index: 10;
  15. }
  16. #myVideo {
  17. width: 100%;
  18. height: 422rpx;
  19. }
  20. .contentBox {
  21. flex: 1;
  22. width: 100%;
  23. overflow: hidden;
  24. position: relative;
  25. .articleMask {
  26. position: absolute;
  27. top: 0rpx;
  28. width: 100%;
  29. height: 80rpx;
  30. z-index: 10;
  31. background: linear-gradient(to bottom, rgb(255, 255, 255), rgba(255, 255, 255, 0.4))
  32. }
  33. .content {
  34. width: 100%;
  35. height: 100%;
  36. padding: 0rpx 30rpx;
  37. padding-bottom: calc(170rpx + env(safe-area-inset-bottom));
  38. text-align: center;
  39. box-sizing: border-box;
  40. .row {
  41. padding: 18rpx 0rpx;
  42. font-size: 40rpx;
  43. }
  44. .currentRow {
  45. font-weight: bold;
  46. color: #019e45;
  47. }
  48. .article {
  49. height: 2000rpx;
  50. background-color: red;
  51. }
  52. }
  53. }
  54. .controller {
  55. width: 100%;
  56. height: 110rpx;
  57. position: absolute;
  58. bottom: 0px;
  59. left: 0px;
  60. display: flex;
  61. align-items: center;
  62. flex-direction: column;
  63. padding-bottom: env(safe-area-inset-bottom);
  64. box-shadow: rgba(14, 30, 37, 0.12) 0px 2rpx 4rpx 0px, rgba(14, 30, 37, 0.32) 0px 2rpx 16rpx 0px;
  65. background-color: white;
  66. z-index: 10;
  67. .playImg {
  68. position: absolute;
  69. top: -62rpx;
  70. border-radius: 50%;
  71. width: 114rpx;
  72. height: 114rpx;
  73. box-shadow: #4EC4FF 0px 0rpx 14rpx;
  74. background-color: #4EC4FF;
  75. }
  76. .text {
  77. position: absolute;
  78. top: 60rpx;
  79. font-size: 28rpx;
  80. }
  81. .btnPosition {
  82. position: absolute;
  83. right: 30rpx;
  84. top: 20rpx;
  85. }
  86. }
  87. .playImgBg {
  88. position: absolute;
  89. width: 134rpx;
  90. height: 124rpx;
  91. z-index: 1;
  92. left: -1rpx;
  93. right: 0px;
  94. margin: auto;
  95. bottom: calc(56rpx + env(safe-area-inset-bottom));
  96. background-color: white;
  97. box-shadow: rgba(14, 30, 37, 0.12) 0px 2rpx 4rpx 0px, rgba(14, 30, 37, 0.32) 0px 2rpx 16rpx 0px;
  98. border-radius: 50%;
  99. }
  100. .countDownBox {
  101. position: fixed;
  102. width: 100%;
  103. height: 100%;
  104. background-color: rgba(255, 255, 255, 0);
  105. z-index: 999;
  106. .countDown {
  107. position: absolute;
  108. left: 0rpx;
  109. right: 0rpx;
  110. top: 30%;
  111. margin: auto;
  112. width: 293rpx;
  113. height: 293rpx;
  114. border-radius: 30rpx;
  115. color: white;
  116. background-color: rgba(0, 0, 0, 0.8);
  117. text-align: center;
  118. padding: 30rpx 0rpx;
  119. box-sizing: border-box;
  120. .number {
  121. font-size: 124rpx;
  122. margin-bottom: 6rpx;
  123. }
  124. }
  125. }
  126. }