index.wxss 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  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 .contentBox {
  95. flex: 1;
  96. width: 100%;
  97. overflow: hidden;
  98. position: relative;
  99. }
  100. .readingBox .contentBox .articleMask {
  101. position: absolute;
  102. top: 0rpx;
  103. width: 100%;
  104. height: 50rpx;
  105. z-index: 10;
  106. background: linear-gradient(to bottom, #ffffff, rgba(255, 255, 255, 0.4));
  107. }
  108. .readingBox .contentBox .content {
  109. width: 100%;
  110. height: 100%;
  111. padding: 0rpx 30rpx;
  112. padding-bottom: calc(170rpx + env(safe-area-inset-bottom));
  113. text-align: center;
  114. box-sizing: border-box;
  115. }
  116. .readingBox .contentBox .content .row {
  117. min-height: 60rpx;
  118. padding: 18rpx 0rpx;
  119. font-size: 40rpx;
  120. }
  121. .readingBox .contentBox .content .currentRow {
  122. font-weight: bold;
  123. color: #019e45;
  124. }
  125. .readingBox .contentBox .content .article {
  126. height: 2000rpx;
  127. background-color: red;
  128. }
  129. .readingBox .controller {
  130. width: 100%;
  131. height: 110rpx;
  132. position: absolute;
  133. bottom: 0px;
  134. left: 0px;
  135. display: flex;
  136. align-items: center;
  137. flex-direction: column;
  138. padding-bottom: env(safe-area-inset-bottom);
  139. box-shadow: rgba(14, 30, 37, 0.12) 0px 2rpx 4rpx 0px, rgba(14, 30, 37, 0.32) 0px 2rpx 16rpx 0px;
  140. background-color: white;
  141. z-index: 10;
  142. }
  143. .readingBox .controller .readingNow {
  144. position: absolute;
  145. top: -62rpx;
  146. border-radius: 50%;
  147. width: 114rpx;
  148. height: 114rpx;
  149. padding: 26rpx;
  150. box-sizing: border-box;
  151. box-shadow: #4EC4FF 0px 0rpx 14rpx;
  152. background-color: #4EC4FF;
  153. }
  154. .readingBox .controller .playImg {
  155. position: absolute;
  156. top: -62rpx;
  157. border-radius: 50%;
  158. width: 114rpx;
  159. height: 114rpx;
  160. box-shadow: #4EC4FF 0px 0rpx 14rpx;
  161. background-color: #4EC4FF;
  162. }
  163. .readingBox .controller .text {
  164. position: absolute;
  165. top: 60rpx;
  166. font-size: 28rpx;
  167. }
  168. .readingBox .controller .btnPosition {
  169. position: absolute;
  170. right: 30rpx;
  171. top: 20rpx;
  172. }
  173. .readingBox .playImgBg {
  174. position: absolute;
  175. width: 134rpx;
  176. height: 124rpx;
  177. z-index: 1;
  178. left: -1rpx;
  179. right: 0px;
  180. margin: auto;
  181. bottom: calc(56rpx + env(safe-area-inset-bottom));
  182. background-color: white;
  183. box-shadow: rgba(14, 30, 37, 0.12) 0px 2rpx 4rpx 0px, rgba(14, 30, 37, 0.32) 0px 2rpx 16rpx 0px;
  184. border-radius: 50%;
  185. }
  186. .readingBox .countDownBox {
  187. position: fixed;
  188. width: 100%;
  189. height: 100%;
  190. background-color: rgba(255, 255, 255, 0);
  191. z-index: 999;
  192. }
  193. .readingBox .countDownBox .countDown {
  194. position: absolute;
  195. left: 0rpx;
  196. right: 0rpx;
  197. top: 30%;
  198. margin: auto;
  199. width: 293rpx;
  200. height: 293rpx;
  201. border-radius: 30rpx;
  202. color: white;
  203. background-color: rgba(0, 0, 0, 0.8);
  204. text-align: center;
  205. padding: 30rpx 0rpx;
  206. box-sizing: border-box;
  207. }
  208. .readingBox .countDownBox .countDown .number {
  209. font-size: 124rpx;
  210. margin-bottom: 6rpx;
  211. }
  212. .readingBox .uploadBox {
  213. position: fixed;
  214. top: 0px;
  215. left: 0px;
  216. width: 100%;
  217. height: 100%;
  218. background-color: rgba(255, 255, 255, 0);
  219. z-index: 999;
  220. }
  221. .readingBox .uploadBox .upload {
  222. position: absolute;
  223. left: 0rpx;
  224. right: 0rpx;
  225. top: 30%;
  226. margin: auto;
  227. width: 293rpx;
  228. height: 293rpx;
  229. border-radius: 30rpx;
  230. color: white;
  231. background-color: rgba(0, 0, 0, 0.8);
  232. text-align: center;
  233. padding: 0rpx 38rpx;
  234. box-sizing: border-box;
  235. font-size: 30rpx;
  236. z-index: 998;
  237. }
  238. .readingBox .uploadBox .upload .speed {
  239. margin-top: 70rpx;
  240. }
  241. .readingBox .uploadBox .upload .speedProgress {
  242. border-radius: 50rpx;
  243. overflow: hidden;
  244. margin: 18rpx 0rpx 60rpx;
  245. }
  246. .scoreBoxC {
  247. flex: 1;
  248. width: 100%;
  249. overflow: auto;
  250. position: relative;
  251. padding-bottom: calc(170rpx + env(safe-area-inset-bottom));
  252. }
  253. .scoreBoxC .scoreBox {
  254. width: 610rpx;
  255. margin: 80rpx auto 0rpx;
  256. }
  257. .scoreBoxC .scoreBox .lightBox {
  258. position: relative;
  259. height: 180rpx;
  260. }
  261. .scoreBoxC .scoreBox .lightBox .light {
  262. position: absolute;
  263. width: 360rpx;
  264. height: 180rpx;
  265. left: 0px;
  266. right: 0px;
  267. margin: auto;
  268. }
  269. .scoreBoxC .scoreBox .lightBox .stars {
  270. position: absolute;
  271. width: 62rpx;
  272. height: 62rpx;
  273. }
  274. .scoreBoxC .scoreBox .lightBox .stars-1 {
  275. top: 64rpx;
  276. left: 132rpx;
  277. }
  278. .scoreBoxC .scoreBox .lightBox .stars-2 {
  279. top: 25rpx;
  280. left: 198rpx;
  281. }
  282. .scoreBoxC .scoreBox .lightBox .stars-3 {
  283. top: 6rpx;
  284. left: 276rpx;
  285. }
  286. .scoreBoxC .scoreBox .lightBox .stars-4 {
  287. top: 25rpx;
  288. right: 198rpx;
  289. }
  290. .scoreBoxC .scoreBox .lightBox .stars-5 {
  291. top: 62rpx;
  292. right: 132rpx;
  293. }
  294. .scoreBoxC .scoreBox .score {
  295. position: relative;
  296. width: 100%;
  297. box-sizing: border-box;
  298. padding: 70rpx 40rpx 32rpx;
  299. border-radius: 18rpx;
  300. background-color: white;
  301. box-shadow: rgba(255, 255, 255, 0.15) 0px 6px 12px -2px, rgba(255, 255, 255, 0.1) 0px 3px 7px -3px;
  302. }
  303. .scoreBoxC .scoreBox .score .avatarBox {
  304. position: absolute;
  305. top: -72rpx;
  306. left: 0px;
  307. right: 0px;
  308. margin: 0 auto;
  309. width: 100rpx;
  310. height: 100rpx;
  311. padding: 16rpx;
  312. border-radius: 50%;
  313. background-color: white;
  314. font-size: 0px;
  315. }
  316. .scoreBoxC .scoreBox .score .avatarBox .avatar {
  317. width: 100%;
  318. height: 100%;
  319. border-radius: 50%;
  320. }
  321. .scoreBoxC .scoreBox .score .nickName {
  322. font-size: 36rpx;
  323. text-align: center;
  324. }
  325. .scoreBoxC .scoreBox .score .totalScore {
  326. display: flex;
  327. align-items: center;
  328. justify-content: center;
  329. margin-top: 26rpx;
  330. font-size: 42rpx;
  331. }
  332. .scoreBoxC .scoreBox .score .totalScore .num {
  333. color: #58C5FF;
  334. font-size: 42rpx;
  335. }
  336. .scoreBoxC .scoreBox .score .progressBox {
  337. margin-top: 50rpx;
  338. }
  339. .scoreBoxC .scoreBox .score .progressBox .row {
  340. display: flex;
  341. align-items: center;
  342. justify-content: space-between;
  343. margin-bottom: 42rpx;
  344. }
  345. .scoreBoxC .scoreBox .score .progressBox .row .name {
  346. font-size: 32rpx;
  347. width: 96rpx;
  348. }
  349. .scoreBoxC .scoreBox .score .progressBox .row .progress {
  350. width: 306rpx;
  351. border-radius: 20rpx;
  352. overflow: hidden;
  353. }
  354. .scoreBoxC .scoreBox .score .progressBox .row .scoreInfo {
  355. font-size: 27rpx;
  356. color: #666666;
  357. }