index.css 4.5 KB

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