index.less 7.1 KB

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