index.wxss 2.4 KB

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