index.less 3.0 KB

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