index.wxss 8.0 KB

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