index.wxss 8.6 KB

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