index.less 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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: 90rpx;
  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: 16rpx 0rpx;
  34. font-size: 42rpx;
  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. }
  67. .text {
  68. position: absolute;
  69. top: 60rpx;
  70. font-size: 28rpx;
  71. }
  72. }
  73. .playImgBg {
  74. position: absolute;
  75. width: 126rpx;
  76. height: 126rpx;
  77. z-index: 1;
  78. left: -2rpx;
  79. right: 0px;
  80. margin: auto;
  81. bottom: calc(54rpx + env(safe-area-inset-bottom));
  82. background-color: white;
  83. box-shadow: rgba(14, 30, 37, 0.12) 0px 2rpx 4rpx 0px, rgba(14, 30, 37, 0.32) 0px 2rpx 16rpx 0px;
  84. border-radius: 50%;
  85. }
  86. .countDownBox {
  87. position: fixed;
  88. width: 100%;
  89. height: 100%;
  90. background-color: rgba(255, 255, 255, 0);
  91. z-index: 999;
  92. .countDown {
  93. position: absolute;
  94. left: 0rpx;
  95. right: 0rpx;
  96. top: 30%;
  97. margin: auto;
  98. width: 293rpx;
  99. height: 293rpx;
  100. border-radius: 30rpx;
  101. color: white;
  102. background-color: rgba(0, 0, 0, 0.8);
  103. text-align: center;
  104. padding: 30rpx 0rpx;
  105. box-sizing: border-box;
  106. .number {
  107. font-size: 124rpx;
  108. margin-bottom: 6rpx;
  109. }
  110. }
  111. }
  112. }