index.wxss 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  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-color: rgba(0, 0, 0, 0.3);
  48. display: flex;
  49. align-items: center;
  50. justify-content: center;
  51. }
  52. .readingBox .audio .audioPlay .audioPlayBg {
  53. width: 200rpx;
  54. height: 200rpx;
  55. }
  56. .readingBox .audio .audioPlay .audioPlayZhen {
  57. position: absolute;
  58. right: 270rpx;
  59. top: 118rpx;
  60. width: 42rpx;
  61. height: 50rpx;
  62. }
  63. .readingBox .audio .audioPlay .cover {
  64. position: absolute;
  65. width: 180rpx;
  66. height: 180rpx;
  67. border-radius: 50%;
  68. }
  69. .readingBox .audio .audioPlay .circle {
  70. animation: identifier 12s infinite linear;
  71. }
  72. .readingBox .contentBox {
  73. flex: 1;
  74. width: 100%;
  75. overflow: hidden;
  76. position: relative;
  77. }
  78. .readingBox .contentBox .articleMask {
  79. position: absolute;
  80. top: 0rpx;
  81. width: 100%;
  82. height: 80rpx;
  83. z-index: 10;
  84. background: linear-gradient(to bottom, #ffffff, rgba(255, 255, 255, 0.4));
  85. }
  86. .readingBox .contentBox .content {
  87. width: 100%;
  88. height: 100%;
  89. padding: 0rpx 30rpx;
  90. padding-bottom: calc(170rpx + env(safe-area-inset-bottom));
  91. text-align: center;
  92. box-sizing: border-box;
  93. }
  94. .readingBox .contentBox .content .row {
  95. padding: 18rpx 0rpx;
  96. font-size: 40rpx;
  97. }
  98. .readingBox .contentBox .content .currentRow {
  99. font-weight: bold;
  100. color: #019e45;
  101. }
  102. .readingBox .contentBox .content .article {
  103. height: 2000rpx;
  104. background-color: red;
  105. }
  106. .readingBox .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. }
  120. .readingBox .controller .playImg {
  121. position: absolute;
  122. top: -62rpx;
  123. border-radius: 50%;
  124. width: 114rpx;
  125. height: 114rpx;
  126. box-shadow: #4EC4FF 0px 0rpx 14rpx;
  127. background-color: #4EC4FF;
  128. }
  129. .readingBox .controller .text {
  130. position: absolute;
  131. top: 60rpx;
  132. font-size: 28rpx;
  133. }
  134. .readingBox .controller .btnPosition {
  135. position: absolute;
  136. right: 30rpx;
  137. top: 20rpx;
  138. }
  139. .readingBox .playImgBg {
  140. position: absolute;
  141. width: 134rpx;
  142. height: 124rpx;
  143. z-index: 1;
  144. left: -1rpx;
  145. right: 0px;
  146. margin: auto;
  147. bottom: calc(56rpx + env(safe-area-inset-bottom));
  148. background-color: white;
  149. box-shadow: rgba(14, 30, 37, 0.12) 0px 2rpx 4rpx 0px, rgba(14, 30, 37, 0.32) 0px 2rpx 16rpx 0px;
  150. border-radius: 50%;
  151. }
  152. .readingBox .countDownBox {
  153. position: fixed;
  154. width: 100%;
  155. height: 100%;
  156. background-color: rgba(255, 255, 255, 0);
  157. z-index: 999;
  158. }
  159. .readingBox .countDownBox .countDown {
  160. position: absolute;
  161. left: 0rpx;
  162. right: 0rpx;
  163. top: 30%;
  164. margin: auto;
  165. width: 293rpx;
  166. height: 293rpx;
  167. border-radius: 30rpx;
  168. color: white;
  169. background-color: rgba(0, 0, 0, 0.8);
  170. text-align: center;
  171. padding: 30rpx 0rpx;
  172. box-sizing: border-box;
  173. }
  174. .readingBox .countDownBox .countDown .number {
  175. font-size: 124rpx;
  176. margin-bottom: 6rpx;
  177. }
  178. .scoreBoxC {
  179. flex: 1;
  180. width: 100%;
  181. overflow: auto;
  182. position: relative;
  183. padding-bottom: calc(170rpx + env(safe-area-inset-bottom));
  184. }
  185. .scoreBoxC .scoreBox {
  186. width: 610rpx;
  187. margin: 80rpx auto 0rpx;
  188. }
  189. .scoreBoxC .scoreBox .lightBox {
  190. position: relative;
  191. height: 180rpx;
  192. }
  193. .scoreBoxC .scoreBox .lightBox .light {
  194. position: absolute;
  195. width: 360rpx;
  196. height: 180rpx;
  197. left: 0px;
  198. right: 0px;
  199. margin: auto;
  200. }
  201. .scoreBoxC .scoreBox .lightBox .stars {
  202. position: absolute;
  203. width: 62rpx;
  204. height: 62rpx;
  205. }
  206. .scoreBoxC .scoreBox .lightBox .stars-1 {
  207. top: 64rpx;
  208. left: 132rpx;
  209. }
  210. .scoreBoxC .scoreBox .lightBox .stars-2 {
  211. top: 25rpx;
  212. left: 198rpx;
  213. }
  214. .scoreBoxC .scoreBox .lightBox .stars-3 {
  215. top: 6rpx;
  216. left: 276rpx;
  217. }
  218. .scoreBoxC .scoreBox .lightBox .stars-4 {
  219. top: 25rpx;
  220. right: 198rpx;
  221. }
  222. .scoreBoxC .scoreBox .lightBox .stars-5 {
  223. top: 62rpx;
  224. right: 132rpx;
  225. }
  226. .scoreBoxC .scoreBox .score {
  227. position: relative;
  228. width: 100%;
  229. box-sizing: border-box;
  230. padding: 70rpx 40rpx 32rpx;
  231. border-radius: 18rpx;
  232. background-color: white;
  233. box-shadow: rgba(255, 255, 255, 0.15) 0px 6px 12px -2px, rgba(255, 255, 255, 0.1) 0px 3px 7px -3px;
  234. }
  235. .scoreBoxC .scoreBox .score .avatarBox {
  236. position: absolute;
  237. top: -72rpx;
  238. left: 0px;
  239. right: 0px;
  240. margin: 0 auto;
  241. width: 100rpx;
  242. height: 100rpx;
  243. padding: 16rpx;
  244. border-radius: 50%;
  245. background-color: white;
  246. font-size: 0px;
  247. }
  248. .scoreBoxC .scoreBox .score .avatarBox .avatar {
  249. width: 100%;
  250. height: 100%;
  251. border-radius: 50%;
  252. }
  253. .scoreBoxC .scoreBox .score .nickName {
  254. font-size: 36rpx;
  255. text-align: center;
  256. }
  257. .scoreBoxC .scoreBox .score .totalScore {
  258. display: flex;
  259. align-items: center;
  260. justify-content: center;
  261. margin-top: 26rpx;
  262. font-size: 42rpx;
  263. }
  264. .scoreBoxC .scoreBox .score .totalScore .num {
  265. color: #58C5FF;
  266. font-size: 42rpx;
  267. }
  268. .scoreBoxC .scoreBox .score .progressBox {
  269. margin-top: 50rpx;
  270. }
  271. .scoreBoxC .scoreBox .score .progressBox .row {
  272. display: flex;
  273. align-items: center;
  274. justify-content: space-between;
  275. margin-bottom: 42rpx;
  276. }
  277. .scoreBoxC .scoreBox .score .progressBox .row .name {
  278. font-size: 32rpx;
  279. width: 96rpx;
  280. }
  281. .scoreBoxC .scoreBox .score .progressBox .row .progress {
  282. width: 306rpx;
  283. border-radius: 20rpx;
  284. overflow: hidden;
  285. }
  286. .scoreBoxC .scoreBox .score .progressBox .row .scoreInfo {
  287. font-size: 27rpx;
  288. color: #666666;
  289. }