index.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. html, body{
  2. margin: 0;
  3. background: #ff8057;
  4. min-height: 100vh;
  5. background-image: url('./icons/header.png');
  6. background-size: contain;
  7. background-position: top center;
  8. background-repeat: no-repeat;
  9. font-family: PingFangSC-Regular, PingFang SC;
  10. overflow-x: hidden;
  11. }
  12. :root{
  13. --plyr-color-main: #ff8057;
  14. --plyr-font-size-base: 30px;
  15. --plyr-control-icon-size: 36px;
  16. --plyr-range-thumb-height: 26px;
  17. --plyr-control-spacing: 20px;
  18. --plyr-font-size-small: 26px;
  19. --plyr-video-background: transparent;
  20. }
  21. body{
  22. padding-top: 1.80rem;
  23. box-sizing: border-box;
  24. padding-bottom: 0.10rem;
  25. }
  26. .content{
  27. box-sizing: border-box;
  28. width: 95%;
  29. background-color: #fff;
  30. border-radius: 0.10rem;
  31. padding: 0.22rem 0.24rem;
  32. margin: 0 2.5%;
  33. position: relative;
  34. overflow: hidden;
  35. /* border: none;
  36. box-shadow: none; */
  37. }
  38. .content .tag{
  39. position: absolute;
  40. top: -0.01rem;
  41. right: 0.23rem;
  42. width: 0.13rem;
  43. height: 0.22rem;
  44. background: url('./icons/tag.png') no-repeat center;
  45. background-size: contain;
  46. }
  47. .content .userinfo{
  48. display: flex;
  49. }
  50. .content .userinfo > img {
  51. display: block;
  52. width: 0.60rem;
  53. height: 0.60rem;
  54. margin-right: 0.15rem;
  55. border-radius: 50%;
  56. }
  57. .content .userinfo .cont {
  58. flex: 1;
  59. display: flex;
  60. flex-direction: column;
  61. justify-content: center;
  62. }
  63. .content .userinfo .cont > p {
  64. color: rgba(80, 80, 80, 1);
  65. font-size: 0.14rem;
  66. margin: 0;
  67. }
  68. .content .userinfo .cont > .name{
  69. font-size: 0.18rem;
  70. color: rgba(26, 26, 26, 1);
  71. }
  72. .content div.desc {
  73. color: rgba(128, 128, 128, 1);
  74. font-size: 0.14rem;
  75. line-height: 1.5;
  76. position: relative;
  77. margin: 0;
  78. margin-top: 0.20rem;
  79. margin-left: 0.20rem;
  80. }
  81. .content div.desc::before {
  82. content: "";
  83. background: url('./icons/dot.png') no-repeat center;
  84. background-size: contain;
  85. display: block;
  86. width: 0.06rem;
  87. height: 0.06rem;
  88. margin-right: 0.10rem;
  89. position: absolute;
  90. top: 0.06rem;
  91. left: -0.14rem;
  92. }
  93. .content .tit{
  94. font-size: 0.16rem;
  95. color: #000;
  96. }
  97. .content .info{
  98. font-size: 0.14rem;
  99. color: #808080;
  100. }
  101. .video-container{
  102. border-radius: 0.20rem;
  103. border: 0.04rem solid #F3F3F3;
  104. overflow: hidden;
  105. margin-top: 0.17rem;
  106. }
  107. .video{
  108. max-width: 100%;
  109. width: 0.289rem;
  110. margin: 0 auto;
  111. display: block;
  112. }
  113. .plyr__control--overlaid{
  114. background-color: rgba(0, 0, 0, .5)!important;
  115. }
  116. .plyr--stopped.plyr__poster-enabled .plyr__poster{
  117. background-color: #fff!important;
  118. background-size: 70%;
  119. }
  120. .line{
  121. margin-top: 0.21rem;
  122. width: 3.00rem;
  123. height: 0.02rem;
  124. border-top: 0.03rem dotted #ff8057;
  125. position: relative;
  126. }
  127. .line::after,
  128. .line::before{
  129. content: "";
  130. display: block;
  131. position: absolute;
  132. width: 0.23rem;
  133. height: 0.23rem;
  134. border-radius: 100%;
  135. background-color: #ff8057;
  136. z-index: 2;
  137. }
  138. .line::after{
  139. right: -0.46rem;
  140. top: -0.12rem;
  141. }
  142. .line::before{
  143. left: -0.38rem;
  144. top: -0.12rem;
  145. }
  146. .app{
  147. margin-top: 0.18rem;
  148. display: flex;
  149. justify-content: space-between;
  150. }
  151. .app-info {
  152. padding: 0.10rem 0;
  153. display: flex;
  154. flex: 1;
  155. flex-direction: column;
  156. justify-content: space-around;
  157. }
  158. .app-title{
  159. color: rgba(80, 80, 80, 1);
  160. font-size: 0.18rem;
  161. font-weight: bold;
  162. }
  163. .app-desc{
  164. font-size: 0.16rem;
  165. color: rgba(80, 80, 80, 1);
  166. }
  167. .app-desc > span{
  168. color: #ff8057;
  169. font-weight: bold;
  170. }
  171. .app-subtitle{
  172. font-size: 0.12rem;
  173. color: #fff;
  174. background: #ff8057;
  175. height: 0.20rem;
  176. line-height: 0.20rem;
  177. border-radius: 0.10rem;
  178. padding-left: 0.05rem;
  179. display: inline-block;
  180. width: 1.70rem;
  181. font-weight: bold;
  182. }
  183. .app > .img{
  184. width: 0.96rem;
  185. height: 0.96rem;
  186. position: relative;
  187. display: flex;
  188. }
  189. .app > .img #qrcode{
  190. width: 100%;
  191. height: 100%;
  192. }
  193. .app > .img .logo{
  194. position: absolute;
  195. top: .36rem;
  196. left: .36rem;
  197. width: .24rem;
  198. height: .24rem;
  199. border-radius: .04rem;
  200. }
  201. .video,
  202. .plyr__video-wrapper,
  203. .plyr,
  204. .plyr__poster,
  205. .plyr__video-wrapper{
  206. border-radius: 0.20rem;
  207. overflow: hidden;
  208. }
  209. .fraction{
  210. display: flex;
  211. margin: 0.10rem 0;
  212. margin-left: 0.20rem;
  213. }
  214. .fraction .item{
  215. display: flex;
  216. color: #ff8057;
  217. font-size: 0.10rem;
  218. font-weight: bold;
  219. }
  220. .fraction .item .decs{
  221. min-width: 40rem;
  222. text-align: right;
  223. white-space: nowrap;
  224. }
  225. .fraction .item .view{
  226. flex: 1;
  227. height: 0.16rem;
  228. width: 1.37rem;
  229. background: #F5F4F2;
  230. border-radius: 0.04rem;
  231. margin: 0 0.06rem;
  232. position: relative;
  233. }
  234. .fraction .item .view>span{
  235. display: block;
  236. flex: 1;
  237. height: 0.16rem;
  238. width: 0%;
  239. border-radius: 0.04rem;
  240. background: linear-gradient(90deg, #FF9E7F 0%, #ff8057 100%);
  241. position: absolute;
  242. top: 0;
  243. left: 0;
  244. }