index.less 8.3 KB

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