index.wxss 7.1 KB

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