index.wxss 6.9 KB

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