index.less 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  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. .readingNow {
  120. position: absolute;
  121. top: -62rpx;
  122. border-radius: 50%;
  123. width: 114rpx;
  124. height: 114rpx;
  125. padding: 26rpx;
  126. box-sizing: border-box;
  127. box-shadow: #4EC4FF 0px 0rpx 14rpx;
  128. background-color: #4EC4FF;
  129. }
  130. .playImg {
  131. position: absolute;
  132. top: -62rpx;
  133. border-radius: 50%;
  134. width: 114rpx;
  135. height: 114rpx;
  136. box-shadow: #4EC4FF 0px 0rpx 14rpx;
  137. background-color: #4EC4FF;
  138. }
  139. .text {
  140. position: absolute;
  141. top: 60rpx;
  142. font-size: 28rpx;
  143. }
  144. .btnPosition {
  145. position: absolute;
  146. right: 30rpx;
  147. top: 20rpx;
  148. }
  149. }
  150. .playImgBg {
  151. position: absolute;
  152. width: 134rpx;
  153. height: 124rpx;
  154. z-index: 1;
  155. left: -1rpx;
  156. right: 0px;
  157. margin: auto;
  158. bottom: calc(56rpx + env(safe-area-inset-bottom));
  159. background-color: white;
  160. box-shadow: rgba(14, 30, 37, 0.12) 0px 2rpx 4rpx 0px, rgba(14, 30, 37, 0.32) 0px 2rpx 16rpx 0px;
  161. border-radius: 50%;
  162. }
  163. .countDownBox {
  164. position: fixed;
  165. width: 100%;
  166. height: 100%;
  167. background-color: rgba(255, 255, 255, 0);
  168. z-index: 999;
  169. .countDown {
  170. position: absolute;
  171. left: 0rpx;
  172. right: 0rpx;
  173. top: 30%;
  174. margin: auto;
  175. width: 293rpx;
  176. height: 293rpx;
  177. border-radius: 30rpx;
  178. color: white;
  179. background-color: rgba(0, 0, 0, 0.8);
  180. text-align: center;
  181. padding: 30rpx 0rpx;
  182. box-sizing: border-box;
  183. .number {
  184. font-size: 124rpx;
  185. margin-bottom: 6rpx;
  186. }
  187. }
  188. }
  189. .uploadBox {
  190. position: fixed;
  191. top: 0px;
  192. left: 0px;
  193. width: 100%;
  194. height: 100%;
  195. background-color: rgba(255, 255, 255, 0);
  196. z-index: 999;
  197. .upload {
  198. position: absolute;
  199. left: 0rpx;
  200. right: 0rpx;
  201. top: 30%;
  202. margin: auto;
  203. width: 293rpx;
  204. height: 293rpx;
  205. border-radius: 30rpx;
  206. color: white;
  207. background-color: rgba(0, 0, 0, 0.8);
  208. text-align: center;
  209. padding: 0rpx 38rpx;
  210. box-sizing: border-box;
  211. font-size: 30rpx;
  212. z-index: 998;
  213. .speed {
  214. margin-top: 70rpx;
  215. }
  216. .speedProgress {
  217. border-radius: 50rpx;
  218. overflow: hidden;
  219. margin: 18rpx 0rpx 60rpx;
  220. }
  221. }
  222. }
  223. }
  224. .scoreBoxC {
  225. flex: 1;
  226. width: 100%;
  227. overflow: auto;
  228. position: relative;
  229. padding-bottom: calc(170rpx + env(safe-area-inset-bottom));
  230. .scoreBox {
  231. width: 610rpx;
  232. margin: 80rpx auto 0rpx;
  233. .lightBox {
  234. position: relative;
  235. height: 180rpx;
  236. .light {
  237. position: absolute;
  238. width: 360rpx;
  239. height: 180rpx;
  240. left: 0px;
  241. right: 0px;
  242. margin: auto;
  243. }
  244. .stars {
  245. position: absolute;
  246. width: 62rpx;
  247. height: 62rpx;
  248. }
  249. .stars-1 {
  250. top: 64rpx;
  251. left: 132rpx;
  252. }
  253. .stars-2 {
  254. top: 25rpx;
  255. left: 198rpx;
  256. }
  257. .stars-3 {
  258. top: 6rpx;
  259. left: 276rpx;
  260. }
  261. .stars-4 {
  262. top: 25rpx;
  263. right: 198rpx;
  264. }
  265. .stars-5 {
  266. top: 62rpx;
  267. right: 132rpx;
  268. }
  269. }
  270. .score {
  271. position: relative;
  272. width: 100%;
  273. box-sizing: border-box;
  274. padding: 70rpx 40rpx 32rpx;
  275. border-radius: 18rpx;
  276. background-color: white;
  277. box-shadow: rgba(255, 255, 255, 0.15) 0px 6px 12px -2px, rgba(255, 255, 255, 0.1) 0px 3px 7px -3px;
  278. .avatarBox {
  279. position: absolute;
  280. top: -72rpx;
  281. left: 0px;
  282. right: 0px;
  283. margin: 0 auto;
  284. width: 100rpx;
  285. height: 100rpx;
  286. padding: 16rpx;
  287. border-radius: 50%;
  288. background-color: white;
  289. font-size: 0px;
  290. .avatar {
  291. width: 100%;
  292. height: 100%;
  293. border-radius: 50%;
  294. }
  295. }
  296. .nickName {
  297. font-size: 36rpx;
  298. text-align: center;
  299. }
  300. .totalScore {
  301. display: flex;
  302. align-items: center;
  303. justify-content: center;
  304. margin-top: 26rpx;
  305. font-size: 42rpx;
  306. .num {
  307. color: #58C5FF;
  308. font-size: 42rpx;
  309. }
  310. }
  311. .progressBox {
  312. margin-top: 50rpx;
  313. .row {
  314. display: flex;
  315. align-items: center;
  316. justify-content: space-between;
  317. margin-bottom: 42rpx;
  318. .name {
  319. font-size: 32rpx;
  320. width: 96rpx;
  321. }
  322. .progress {
  323. width: 306rpx;
  324. border-radius: 20rpx;
  325. overflow: hidden;
  326. }
  327. .scoreInfo {
  328. font-size: 27rpx;
  329. color: #666666;
  330. }
  331. }
  332. }
  333. }
  334. }
  335. }