index.less 8.7 KB

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