index.wxss 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  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 .contentBox {
  22. flex: 1;
  23. width: 100%;
  24. overflow: hidden;
  25. position: relative;
  26. }
  27. .readingBox .contentBox .articleMask {
  28. position: absolute;
  29. top: 0rpx;
  30. width: 100%;
  31. height: 80rpx;
  32. z-index: 10;
  33. background: linear-gradient(to bottom, #ffffff, rgba(255, 255, 255, 0.4));
  34. }
  35. .readingBox .contentBox .content {
  36. width: 100%;
  37. height: 100%;
  38. padding: 0rpx 30rpx;
  39. padding-bottom: calc(170rpx + env(safe-area-inset-bottom));
  40. text-align: center;
  41. box-sizing: border-box;
  42. }
  43. .readingBox .contentBox .content .row {
  44. padding: 18rpx 0rpx;
  45. font-size: 40rpx;
  46. }
  47. .readingBox .contentBox .content .currentRow {
  48. font-weight: bold;
  49. color: #019e45;
  50. }
  51. .readingBox .contentBox .content .article {
  52. height: 2000rpx;
  53. background-color: red;
  54. }
  55. .readingBox .controller {
  56. width: 100%;
  57. height: 110rpx;
  58. position: absolute;
  59. bottom: 0px;
  60. left: 0px;
  61. display: flex;
  62. align-items: center;
  63. flex-direction: column;
  64. padding-bottom: env(safe-area-inset-bottom);
  65. box-shadow: rgba(14, 30, 37, 0.12) 0px 2rpx 4rpx 0px, rgba(14, 30, 37, 0.32) 0px 2rpx 16rpx 0px;
  66. background-color: white;
  67. z-index: 10;
  68. }
  69. .readingBox .controller .playImg {
  70. position: absolute;
  71. top: -62rpx;
  72. border-radius: 50%;
  73. width: 114rpx;
  74. height: 114rpx;
  75. box-shadow: #4EC4FF 0px 0rpx 14rpx;
  76. background-color: #4EC4FF;
  77. }
  78. .readingBox .controller .text {
  79. position: absolute;
  80. top: 60rpx;
  81. font-size: 28rpx;
  82. }
  83. .readingBox .controller .btnPosition {
  84. position: absolute;
  85. right: 30rpx;
  86. top: 20rpx;
  87. }
  88. .readingBox .playImgBg {
  89. position: absolute;
  90. width: 134rpx;
  91. height: 124rpx;
  92. z-index: 1;
  93. left: -1rpx;
  94. right: 0px;
  95. margin: auto;
  96. bottom: calc(56rpx + env(safe-area-inset-bottom));
  97. background-color: white;
  98. box-shadow: rgba(14, 30, 37, 0.12) 0px 2rpx 4rpx 0px, rgba(14, 30, 37, 0.32) 0px 2rpx 16rpx 0px;
  99. border-radius: 50%;
  100. }
  101. .readingBox .countDownBox {
  102. position: fixed;
  103. width: 100%;
  104. height: 100%;
  105. background-color: rgba(255, 255, 255, 0);
  106. z-index: 999;
  107. }
  108. .readingBox .countDownBox .countDown {
  109. position: absolute;
  110. left: 0rpx;
  111. right: 0rpx;
  112. top: 30%;
  113. margin: auto;
  114. width: 293rpx;
  115. height: 293rpx;
  116. border-radius: 30rpx;
  117. color: white;
  118. background-color: rgba(0, 0, 0, 0.8);
  119. text-align: center;
  120. padding: 30rpx 0rpx;
  121. box-sizing: border-box;
  122. }
  123. .readingBox .countDownBox .countDown .number {
  124. font-size: 124rpx;
  125. margin-bottom: 6rpx;
  126. }
  127. .scoreBoxC {
  128. flex: 1;
  129. width: 100%;
  130. overflow: auto;
  131. position: relative;
  132. padding-bottom: calc(170rpx + env(safe-area-inset-bottom));
  133. }
  134. .scoreBoxC .scoreBox {
  135. width: 610rpx;
  136. margin: 80rpx auto 0rpx;
  137. }
  138. .scoreBoxC .scoreBox .lightBox {
  139. position: relative;
  140. height: 180rpx;
  141. }
  142. .scoreBoxC .scoreBox .lightBox .light {
  143. position: absolute;
  144. width: 360rpx;
  145. height: 180rpx;
  146. left: 0px;
  147. right: 0px;
  148. margin: auto;
  149. }
  150. .scoreBoxC .scoreBox .lightBox .stars {
  151. position: absolute;
  152. width: 62rpx;
  153. height: 62rpx;
  154. }
  155. .scoreBoxC .scoreBox .lightBox .stars-1 {
  156. top: 64rpx;
  157. left: 132rpx;
  158. }
  159. .scoreBoxC .scoreBox .lightBox .stars-2 {
  160. top: 25rpx;
  161. left: 198rpx;
  162. }
  163. .scoreBoxC .scoreBox .lightBox .stars-3 {
  164. top: 6rpx;
  165. left: 276rpx;
  166. }
  167. .scoreBoxC .scoreBox .lightBox .stars-4 {
  168. top: 25rpx;
  169. right: 198rpx;
  170. }
  171. .scoreBoxC .scoreBox .lightBox .stars-5 {
  172. top: 62rpx;
  173. right: 132rpx;
  174. }
  175. .scoreBoxC .scoreBox .score {
  176. position: relative;
  177. width: 100%;
  178. box-sizing: border-box;
  179. padding: 70rpx 40rpx 32rpx;
  180. border-radius: 18rpx;
  181. background-color: white;
  182. box-shadow: rgba(255, 255, 255, 0.15) 0px 6px 12px -2px, rgba(255, 255, 255, 0.1) 0px 3px 7px -3px;
  183. }
  184. .scoreBoxC .scoreBox .score .avatarBox {
  185. position: absolute;
  186. top: -72rpx;
  187. left: 0px;
  188. right: 0px;
  189. margin: 0 auto;
  190. width: 100rpx;
  191. height: 100rpx;
  192. padding: 16rpx;
  193. border-radius: 50%;
  194. background-color: white;
  195. font-size: 0px;
  196. }
  197. .scoreBoxC .scoreBox .score .avatarBox .avatar {
  198. width: 100%;
  199. height: 100%;
  200. border-radius: 50%;
  201. }
  202. .scoreBoxC .scoreBox .score .nickName {
  203. font-size: 36rpx;
  204. text-align: center;
  205. }
  206. .scoreBoxC .scoreBox .score .totalScore {
  207. display: flex;
  208. align-items: center;
  209. justify-content: center;
  210. margin-top: 26rpx;
  211. font-size: 42rpx;
  212. }
  213. .scoreBoxC .scoreBox .score .totalScore .num {
  214. color: #58C5FF;
  215. font-size: 42rpx;
  216. }
  217. .scoreBoxC .scoreBox .score .progressBox {
  218. margin-top: 50rpx;
  219. }
  220. .scoreBoxC .scoreBox .score .progressBox .row {
  221. display: flex;
  222. align-items: center;
  223. justify-content: space-between;
  224. margin-bottom: 42rpx;
  225. }
  226. .scoreBoxC .scoreBox .score .progressBox .row .name {
  227. font-size: 32rpx;
  228. width: 96rpx;
  229. }
  230. .scoreBoxC .scoreBox .score .progressBox .row .progress {
  231. width: 306rpx;
  232. border-radius: 20rpx;
  233. overflow: hidden;
  234. }
  235. .scoreBoxC .scoreBox .score .progressBox .row .scoreInfo {
  236. font-size: 27rpx;
  237. color: #666666;
  238. }