index.wxss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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: 99;
  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 .playImgBg {
  84. position: absolute;
  85. width: 134rpx;
  86. height: 124rpx;
  87. z-index: 1;
  88. left: -1rpx;
  89. right: 0px;
  90. margin: auto;
  91. bottom: calc(56rpx + env(safe-area-inset-bottom));
  92. background-color: white;
  93. box-shadow: rgba(14, 30, 37, 0.12) 0px 2rpx 4rpx 0px, rgba(14, 30, 37, 0.32) 0px 2rpx 16rpx 0px;
  94. border-radius: 50%;
  95. }
  96. .readingBox .countDownBox {
  97. position: fixed;
  98. width: 100%;
  99. height: 100%;
  100. background-color: rgba(255, 255, 255, 0);
  101. z-index: 999;
  102. }
  103. .readingBox .countDownBox .countDown {
  104. position: absolute;
  105. left: 0rpx;
  106. right: 0rpx;
  107. top: 30%;
  108. margin: auto;
  109. width: 293rpx;
  110. height: 293rpx;
  111. border-radius: 30rpx;
  112. color: white;
  113. background-color: rgba(0, 0, 0, 0.8);
  114. text-align: center;
  115. padding: 30rpx 0rpx;
  116. box-sizing: border-box;
  117. }
  118. .readingBox .countDownBox .countDown .number {
  119. font-size: 124rpx;
  120. margin-bottom: 6rpx;
  121. }