index.wxss 6.9 KB

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