index.less 9.1 KB

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