index.wxss 8.5 KB

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