index.wxss 2.6 KB

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