index.less 8.8 KB

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