index.less 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  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. .uploadBox {
  178. position: fixed;
  179. top: 0px;
  180. left: 0px;
  181. width: 100%;
  182. height: 100%;
  183. background-color: rgba(255, 255, 255, 0);
  184. z-index: 999;
  185. .upload {
  186. position: absolute;
  187. left: 0rpx;
  188. right: 0rpx;
  189. top: 30%;
  190. margin: auto;
  191. width: 293rpx;
  192. height: 293rpx;
  193. border-radius: 30rpx;
  194. color: white;
  195. background-color: rgba(0, 0, 0, 0.8);
  196. text-align: center;
  197. padding: 0rpx 38rpx;
  198. box-sizing: border-box;
  199. font-size: 30rpx;
  200. z-index: 998;
  201. .speed {
  202. margin-top: 70rpx;
  203. }
  204. .speedProgress {
  205. border-radius: 50rpx;
  206. overflow: hidden;
  207. margin: 18rpx 0rpx 60rpx;
  208. }
  209. }
  210. }
  211. }
  212. .scoreBoxC {
  213. flex: 1;
  214. width: 100%;
  215. overflow: auto;
  216. position: relative;
  217. padding-bottom: calc(170rpx + env(safe-area-inset-bottom));
  218. .scoreBox {
  219. width: 610rpx;
  220. margin: 80rpx auto 0rpx;
  221. .lightBox {
  222. position: relative;
  223. height: 180rpx;
  224. .light {
  225. position: absolute;
  226. width: 360rpx;
  227. height: 180rpx;
  228. left: 0px;
  229. right: 0px;
  230. margin: auto;
  231. }
  232. .stars {
  233. position: absolute;
  234. width: 62rpx;
  235. height: 62rpx;
  236. }
  237. .stars-1 {
  238. top: 64rpx;
  239. left: 132rpx;
  240. }
  241. .stars-2 {
  242. top: 25rpx;
  243. left: 198rpx;
  244. }
  245. .stars-3 {
  246. top: 6rpx;
  247. left: 276rpx;
  248. }
  249. .stars-4 {
  250. top: 25rpx;
  251. right: 198rpx;
  252. }
  253. .stars-5 {
  254. top: 62rpx;
  255. right: 132rpx;
  256. }
  257. }
  258. .score {
  259. position: relative;
  260. width: 100%;
  261. box-sizing: border-box;
  262. padding: 70rpx 40rpx 32rpx;
  263. border-radius: 18rpx;
  264. background-color: white;
  265. box-shadow: rgba(255, 255, 255, 0.15) 0px 6px 12px -2px, rgba(255, 255, 255, 0.1) 0px 3px 7px -3px;
  266. .avatarBox {
  267. position: absolute;
  268. top: -72rpx;
  269. left: 0px;
  270. right: 0px;
  271. margin: 0 auto;
  272. width: 100rpx;
  273. height: 100rpx;
  274. padding: 16rpx;
  275. border-radius: 50%;
  276. background-color: white;
  277. font-size: 0px;
  278. .avatar {
  279. width: 100%;
  280. height: 100%;
  281. border-radius: 50%;
  282. }
  283. }
  284. .nickName {
  285. font-size: 36rpx;
  286. text-align: center;
  287. }
  288. .totalScore {
  289. display: flex;
  290. align-items: center;
  291. justify-content: center;
  292. margin-top: 26rpx;
  293. font-size: 42rpx;
  294. .num {
  295. color: #58C5FF;
  296. font-size: 42rpx;
  297. }
  298. }
  299. .progressBox {
  300. margin-top: 50rpx;
  301. .row {
  302. display: flex;
  303. align-items: center;
  304. justify-content: space-between;
  305. margin-bottom: 42rpx;
  306. .name {
  307. font-size: 32rpx;
  308. width: 96rpx;
  309. }
  310. .progress {
  311. width: 306rpx;
  312. border-radius: 20rpx;
  313. overflow: hidden;
  314. }
  315. .scoreInfo {
  316. font-size: 27rpx;
  317. color: #666666;
  318. }
  319. }
  320. }
  321. }
  322. }
  323. }