index.wxss 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  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 .playImgBg {
  198. position: absolute;
  199. width: 134rpx;
  200. height: 124rpx;
  201. z-index: 1;
  202. left: -1rpx;
  203. right: 0px;
  204. margin: auto;
  205. bottom: calc(56rpx + env(safe-area-inset-bottom));
  206. background-color: white;
  207. box-shadow: rgba(14, 30, 37, 0.12) 0px 2rpx 4rpx 0px, rgba(14, 30, 37, 0.32) 0px 2rpx 16rpx 0px;
  208. border-radius: 50%;
  209. }
  210. .readingBox .countDownBox {
  211. position: fixed;
  212. width: 100%;
  213. height: 100%;
  214. background-color: rgba(255, 255, 255, 0);
  215. z-index: 999;
  216. }
  217. .readingBox .countDownBox .countDown {
  218. position: absolute;
  219. left: 0rpx;
  220. right: 0rpx;
  221. top: 30%;
  222. margin: auto;
  223. width: 293rpx;
  224. height: 293rpx;
  225. border-radius: 30rpx;
  226. color: white;
  227. background-color: rgba(0, 0, 0, 0.8);
  228. text-align: center;
  229. padding: 30rpx 0rpx;
  230. box-sizing: border-box;
  231. }
  232. .readingBox .countDownBox .countDown .number {
  233. font-size: 124rpx;
  234. margin-bottom: 6rpx;
  235. }
  236. .readingBox .uploadBox {
  237. position: fixed;
  238. top: 0px;
  239. left: 0px;
  240. width: 100%;
  241. height: 100%;
  242. background-color: rgba(255, 255, 255, 0);
  243. z-index: 999;
  244. }
  245. .readingBox .uploadBox .upload {
  246. position: absolute;
  247. left: 0rpx;
  248. right: 0rpx;
  249. top: 30%;
  250. margin: auto;
  251. width: 293rpx;
  252. height: 293rpx;
  253. border-radius: 30rpx;
  254. color: white;
  255. background-color: rgba(0, 0, 0, 0.8);
  256. text-align: center;
  257. padding: 0rpx 38rpx;
  258. box-sizing: border-box;
  259. font-size: 30rpx;
  260. z-index: 998;
  261. }
  262. .readingBox .uploadBox .upload .speed {
  263. margin-top: 70rpx;
  264. }
  265. .readingBox .uploadBox .upload .speedProgress {
  266. border-radius: 50rpx;
  267. overflow: hidden;
  268. margin: 18rpx 0rpx 60rpx;
  269. }
  270. .scoreBoxC {
  271. flex: 1;
  272. width: 100%;
  273. overflow: auto;
  274. position: relative;
  275. padding-bottom: calc(170rpx + env(safe-area-inset-bottom));
  276. }
  277. .scoreBoxC .scoreBox {
  278. width: 610rpx;
  279. margin: 80rpx auto 0rpx;
  280. }
  281. .scoreBoxC .scoreBox .lightBox {
  282. position: relative;
  283. height: 180rpx;
  284. }
  285. .scoreBoxC .scoreBox .lightBox .light {
  286. position: absolute;
  287. width: 360rpx;
  288. height: 180rpx;
  289. left: 0px;
  290. right: 0px;
  291. margin: auto;
  292. }
  293. .scoreBoxC .scoreBox .lightBox .stars {
  294. position: absolute;
  295. width: 62rpx;
  296. height: 62rpx;
  297. }
  298. .scoreBoxC .scoreBox .lightBox .stars-1 {
  299. top: 64rpx;
  300. left: 132rpx;
  301. }
  302. .scoreBoxC .scoreBox .lightBox .stars-2 {
  303. top: 25rpx;
  304. left: 198rpx;
  305. }
  306. .scoreBoxC .scoreBox .lightBox .stars-3 {
  307. top: 6rpx;
  308. left: 276rpx;
  309. }
  310. .scoreBoxC .scoreBox .lightBox .stars-4 {
  311. top: 25rpx;
  312. right: 198rpx;
  313. }
  314. .scoreBoxC .scoreBox .lightBox .stars-5 {
  315. top: 62rpx;
  316. right: 132rpx;
  317. }
  318. .scoreBoxC .scoreBox .score {
  319. position: relative;
  320. width: 100%;
  321. box-sizing: border-box;
  322. padding: 70rpx 40rpx 32rpx;
  323. border-radius: 18rpx;
  324. background-color: white;
  325. box-shadow: rgba(255, 255, 255, 0.15) 0px 6px 12px -2px, rgba(255, 255, 255, 0.1) 0px 3px 7px -3px;
  326. }
  327. .scoreBoxC .scoreBox .score .avatarBox {
  328. position: absolute;
  329. top: -72rpx;
  330. left: 0px;
  331. right: 0px;
  332. margin: 0 auto;
  333. width: 100rpx;
  334. height: 100rpx;
  335. padding: 16rpx;
  336. border-radius: 50%;
  337. background-color: white;
  338. font-size: 0px;
  339. }
  340. .scoreBoxC .scoreBox .score .avatarBox .avatar {
  341. width: 100%;
  342. height: 100%;
  343. border-radius: 50%;
  344. }
  345. .scoreBoxC .scoreBox .score .nickName {
  346. font-size: 36rpx;
  347. text-align: center;
  348. }
  349. .scoreBoxC .scoreBox .score .totalScore {
  350. display: flex;
  351. align-items: center;
  352. justify-content: center;
  353. margin-top: 26rpx;
  354. font-size: 42rpx;
  355. }
  356. .scoreBoxC .scoreBox .score .totalScore .num {
  357. color: #58C5FF;
  358. font-size: 42rpx;
  359. }
  360. .scoreBoxC .scoreBox .score .progressBox {
  361. margin-top: 50rpx;
  362. }
  363. .scoreBoxC .scoreBox .score .progressBox .row {
  364. display: flex;
  365. align-items: center;
  366. justify-content: space-between;
  367. margin-bottom: 42rpx;
  368. }
  369. .scoreBoxC .scoreBox .score .progressBox .row .name {
  370. font-size: 32rpx;
  371. width: 96rpx;
  372. }
  373. .scoreBoxC .scoreBox .score .progressBox .row .progress {
  374. width: 306rpx;
  375. border-radius: 20rpx;
  376. overflow: hidden;
  377. }
  378. .scoreBoxC .scoreBox .score .progressBox .row .scoreInfo {
  379. font-size: 27rpx;
  380. color: #666666;
  381. }