index.wxss 6.6 KB

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