index.wxss 9.3 KB

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