index.wxss 8.5 KB

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