index.less 7.5 KB

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