index.less 8.8 KB

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