index.less 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. .readingBox {
  2. position: relative;
  3. height: 100vh;
  4. width: 100vw;
  5. display: flex;
  6. flex-direction: column;
  7. background-color: white;
  8. .poster {
  9. top: 0px;
  10. left: 0px;
  11. position: absolute;
  12. width: 100%;
  13. height: 422rpx;
  14. z-index: 10;
  15. }
  16. #myVideo {
  17. width: 100%;
  18. height: 422rpx;
  19. }
  20. .contentBox {
  21. flex: 1;
  22. width: 100%;
  23. overflow: hidden;
  24. position: relative;
  25. .articleMask {
  26. position: absolute;
  27. top: 0rpx;
  28. width: 100%;
  29. height: 80rpx;
  30. z-index: 10;
  31. background: linear-gradient(to bottom, rgb(255, 255, 255), rgba(255, 255, 255, 0.4))
  32. }
  33. .content {
  34. width: 100%;
  35. height: 100%;
  36. padding: 0rpx 30rpx;
  37. padding-bottom: calc(170rpx + env(safe-area-inset-bottom));
  38. text-align: center;
  39. box-sizing: border-box;
  40. .row {
  41. padding: 18rpx 0rpx;
  42. font-size: 40rpx;
  43. }
  44. .currentRow {
  45. font-weight: bold;
  46. color: #019e45;
  47. }
  48. .article {
  49. height: 2000rpx;
  50. background-color: red;
  51. }
  52. }
  53. }
  54. .controller {
  55. width: 100%;
  56. height: 110rpx;
  57. position: absolute;
  58. bottom: 0px;
  59. left: 0px;
  60. display: flex;
  61. align-items: center;
  62. flex-direction: column;
  63. padding-bottom: env(safe-area-inset-bottom);
  64. box-shadow: rgba(14, 30, 37, 0.12) 0px 2rpx 4rpx 0px, rgba(14, 30, 37, 0.32) 0px 2rpx 16rpx 0px;
  65. background-color: white;
  66. z-index: 10;
  67. .playImg {
  68. position: absolute;
  69. top: -62rpx;
  70. border-radius: 50%;
  71. width: 114rpx;
  72. height: 114rpx;
  73. box-shadow: #4EC4FF 0px 0rpx 14rpx;
  74. background-color: #4EC4FF;
  75. }
  76. .text {
  77. position: absolute;
  78. top: 60rpx;
  79. font-size: 28rpx;
  80. }
  81. .btnPosition {
  82. position: absolute;
  83. right: 30rpx;
  84. top: 20rpx;
  85. }
  86. }
  87. .playImgBg {
  88. position: absolute;
  89. width: 134rpx;
  90. height: 124rpx;
  91. z-index: 1;
  92. left: -1rpx;
  93. right: 0px;
  94. margin: auto;
  95. bottom: calc(56rpx + env(safe-area-inset-bottom));
  96. background-color: white;
  97. box-shadow: rgba(14, 30, 37, 0.12) 0px 2rpx 4rpx 0px, rgba(14, 30, 37, 0.32) 0px 2rpx 16rpx 0px;
  98. border-radius: 50%;
  99. }
  100. .countDownBox {
  101. position: fixed;
  102. width: 100%;
  103. height: 100%;
  104. background-color: rgba(255, 255, 255, 0);
  105. z-index: 999;
  106. .countDown {
  107. position: absolute;
  108. left: 0rpx;
  109. right: 0rpx;
  110. top: 30%;
  111. margin: auto;
  112. width: 293rpx;
  113. height: 293rpx;
  114. border-radius: 30rpx;
  115. color: white;
  116. background-color: rgba(0, 0, 0, 0.8);
  117. text-align: center;
  118. padding: 30rpx 0rpx;
  119. box-sizing: border-box;
  120. .number {
  121. font-size: 124rpx;
  122. margin-bottom: 6rpx;
  123. }
  124. }
  125. }
  126. }
  127. .scoreBoxC {
  128. flex: 1;
  129. width: 100%;
  130. overflow: auto;
  131. position: relative;
  132. padding-bottom: calc(170rpx + env(safe-area-inset-bottom));
  133. .scoreBox {
  134. width: 610rpx;
  135. margin: 80rpx auto 0rpx;
  136. .lightBox {
  137. position: relative;
  138. height: 180rpx;
  139. .light {
  140. position: absolute;
  141. width: 360rpx;
  142. height: 180rpx;
  143. left: 0px;
  144. right: 0px;
  145. margin: auto;
  146. }
  147. .stars {
  148. position: absolute;
  149. width: 62rpx;
  150. height: 62rpx;
  151. }
  152. .stars-1 {
  153. top: 64rpx;
  154. left: 132rpx;
  155. }
  156. .stars-2 {
  157. top: 25rpx;
  158. left: 198rpx;
  159. }
  160. .stars-3 {
  161. top: 6rpx;
  162. left: 276rpx;
  163. }
  164. .stars-4 {
  165. top: 25rpx;
  166. right: 198rpx;
  167. }
  168. .stars-5 {
  169. top: 62rpx;
  170. right: 132rpx;
  171. }
  172. }
  173. .score {
  174. position: relative;
  175. width: 100%;
  176. box-sizing: border-box;
  177. padding: 70rpx 40rpx 32rpx;
  178. border-radius: 18rpx;
  179. background-color: white;
  180. box-shadow: rgba(255, 255, 255, 0.15) 0px 6px 12px -2px, rgba(255, 255, 255, 0.1) 0px 3px 7px -3px;
  181. .avatarBox {
  182. position: absolute;
  183. top: -72rpx;
  184. left: 0px;
  185. right: 0px;
  186. margin: 0 auto;
  187. width: 100rpx;
  188. height: 100rpx;
  189. padding: 16rpx;
  190. border-radius: 50%;
  191. background-color: white;
  192. font-size: 0px;
  193. .avatar {
  194. width: 100%;
  195. height: 100%;
  196. border-radius: 50%;
  197. }
  198. }
  199. .nickName {
  200. font-size: 36rpx;
  201. text-align: center;
  202. }
  203. .totalScore {
  204. display: flex;
  205. align-items: center;
  206. justify-content: center;
  207. margin-top: 26rpx;
  208. font-size: 42rpx;
  209. .num {
  210. color: #58C5FF;
  211. font-size: 42rpx;
  212. }
  213. }
  214. .progressBox {
  215. margin-top: 50rpx;
  216. .row {
  217. display: flex;
  218. align-items: center;
  219. justify-content: space-between;
  220. margin-bottom: 42rpx;
  221. .name {
  222. font-size: 32rpx;
  223. width: 96rpx;
  224. }
  225. .progress {
  226. width: 306rpx;
  227. border-radius: 20rpx;
  228. overflow: hidden;
  229. }
  230. .scoreInfo {
  231. font-size: 27rpx;
  232. color: #666666;
  233. }
  234. }
  235. }
  236. }
  237. }
  238. }