index.less 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488
  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. .readingNow {
  181. position: absolute;
  182. top: -62rpx;
  183. border-radius: 50%;
  184. width: 114rpx;
  185. height: 114rpx;
  186. padding: 26rpx;
  187. box-sizing: border-box;
  188. box-shadow: #4EC4FF 0px 0rpx 14rpx;
  189. background-color: #4EC4FF;
  190. }
  191. .playImg {
  192. position: absolute;
  193. top: -62rpx;
  194. border-radius: 50%;
  195. width: 114rpx;
  196. height: 114rpx;
  197. box-shadow: #4EC4FF 0px 0rpx 14rpx;
  198. background-color: #4EC4FF;
  199. }
  200. .text {
  201. position: absolute;
  202. top: 60rpx;
  203. font-size: 28rpx;
  204. }
  205. .btnPosition {
  206. position: absolute;
  207. right: 30rpx;
  208. top: 20rpx;
  209. }
  210. .stBtn {
  211. position: absolute;
  212. left: 30rpx;
  213. top: 20rpx;
  214. padding: 16rpx 0rpx;
  215. text-align: center;
  216. border-radius: 50rpx;
  217. width: 220rpx;
  218. font-size: 30rpx;
  219. color: white;
  220. background-color: #66C5FF;
  221. box-shadow: 0 6px 14px 0 rgba(50, 197, 255, 0.65);
  222. }
  223. }
  224. .playImgBg {
  225. position: absolute;
  226. width: 134rpx;
  227. height: 124rpx;
  228. z-index: 1;
  229. left: -1rpx;
  230. right: 0px;
  231. margin: auto;
  232. bottom: calc(56rpx + env(safe-area-inset-bottom));
  233. background-color: white;
  234. box-shadow: rgba(14, 30, 37, 0.12) 0px 2rpx 4rpx 0px, rgba(14, 30, 37, 0.32) 0px 2rpx 16rpx 0px;
  235. border-radius: 50%;
  236. }
  237. .countDownBox {
  238. position: fixed;
  239. width: 100%;
  240. height: 100%;
  241. background-color: rgba(255, 255, 255, 0);
  242. z-index: 999;
  243. .countDown {
  244. position: absolute;
  245. left: 0rpx;
  246. right: 0rpx;
  247. top: 30%;
  248. margin: auto;
  249. width: 293rpx;
  250. height: 293rpx;
  251. border-radius: 30rpx;
  252. color: white;
  253. background-color: rgba(0, 0, 0, 0.8);
  254. text-align: center;
  255. padding: 30rpx 0rpx;
  256. box-sizing: border-box;
  257. .number {
  258. font-size: 124rpx;
  259. margin-bottom: 6rpx;
  260. }
  261. }
  262. }
  263. .uploadBox {
  264. position: fixed;
  265. top: 0px;
  266. left: 0px;
  267. width: 100vw;
  268. height: 100vh;
  269. background-color: rgba(0, 0, 0, 0.3);
  270. z-index: 999;
  271. .upload {
  272. position: absolute;
  273. left: 0rpx;
  274. right: 0rpx;
  275. top: 30%;
  276. margin: auto;
  277. color: white;
  278. text-align: center;
  279. box-sizing: border-box;
  280. font-size: 32rpx;
  281. font-weight: bold;
  282. z-index: 998;
  283. .tipsImg {
  284. width: 221rpx;
  285. height: 190rpx;
  286. margin-right: 30rpx;
  287. margin-bottom: 12rpx;
  288. }
  289. .speed {
  290. position: relative;
  291. margin: 14rpx auto;
  292. text-align: center;
  293. font-size: 50rpx;
  294. animation: jump 1s ease-out infinite;
  295. }
  296. @keyframes jump {
  297. 0% {
  298. opacity: 0;
  299. }
  300. 50% {
  301. opacity: 1;
  302. }
  303. 100% {
  304. opacity: 0;
  305. }
  306. }
  307. }
  308. }
  309. }
  310. .scoreBoxC {
  311. flex: 1;
  312. width: 100%;
  313. overflow: auto;
  314. position: relative;
  315. padding-bottom: calc(170rpx + env(safe-area-inset-bottom));
  316. .scoreBox {
  317. width: 610rpx;
  318. margin: 80rpx auto 0rpx;
  319. .lightBox {
  320. position: relative;
  321. height: 180rpx;
  322. .light {
  323. position: absolute;
  324. width: 360rpx;
  325. height: 180rpx;
  326. left: 0px;
  327. right: 0px;
  328. margin: auto;
  329. }
  330. .stars {
  331. position: absolute;
  332. width: 62rpx;
  333. height: 62rpx;
  334. }
  335. .stars-1 {
  336. top: 64rpx;
  337. left: 132rpx;
  338. }
  339. .stars-2 {
  340. top: 25rpx;
  341. left: 198rpx;
  342. }
  343. .stars-3 {
  344. top: 6rpx;
  345. left: 276rpx;
  346. }
  347. .stars-4 {
  348. top: 25rpx;
  349. right: 198rpx;
  350. }
  351. .stars-5 {
  352. top: 62rpx;
  353. right: 132rpx;
  354. }
  355. }
  356. .score {
  357. position: relative;
  358. width: 100%;
  359. box-sizing: border-box;
  360. padding: 70rpx 40rpx 32rpx;
  361. border-radius: 18rpx;
  362. background-color: white;
  363. box-shadow: rgba(255, 255, 255, 0.15) 0px 6px 12px -2px, rgba(255, 255, 255, 0.1) 0px 3px 7px -3px;
  364. .avatarBox {
  365. position: absolute;
  366. top: -72rpx;
  367. left: 0px;
  368. right: 0px;
  369. margin: 0 auto;
  370. width: 100rpx;
  371. height: 100rpx;
  372. padding: 16rpx;
  373. border-radius: 50%;
  374. background-color: white;
  375. font-size: 0px;
  376. .avatar {
  377. width: 100%;
  378. height: 100%;
  379. border-radius: 50%;
  380. }
  381. }
  382. .nickName {
  383. font-size: 36rpx;
  384. text-align: center;
  385. }
  386. .totalScore {
  387. display: flex;
  388. align-items: center;
  389. justify-content: center;
  390. margin-top: 26rpx;
  391. font-size: 42rpx;
  392. .num {
  393. color: #58C5FF;
  394. font-size: 42rpx;
  395. }
  396. }
  397. .progressBox {
  398. margin-top: 50rpx;
  399. .row {
  400. display: flex;
  401. align-items: center;
  402. justify-content: space-between;
  403. margin-bottom: 42rpx;
  404. .name {
  405. font-size: 32rpx;
  406. width: 96rpx;
  407. }
  408. .progress {
  409. width: 306rpx;
  410. border-radius: 20rpx;
  411. overflow: hidden;
  412. }
  413. .scoreInfo {
  414. font-size: 27rpx;
  415. color: #666666;
  416. }
  417. }
  418. }
  419. }
  420. }
  421. }