index.less 7.3 KB

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