index.less 6.1 KB

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