index.wxss 6.6 KB

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