index.less 12 KB

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