123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275 |
- :root{
- --primary-color: #ff8057;
- }
- html, body{
- margin: 0;
- background: var(--primary-color);
- min-height: 100vh;
- background-image: url('./icons/header.png');
- background-size: contain;
- background-position: top center;
- background-repeat: no-repeat;
- font-family: PingFangSC-Regular, PingFang SC;
- overflow-x: hidden;
- }
- :root{
- --plyr-color-main: var(--primary-color);
- --plyr-font-size-base: 30px;
- --plyr-control-icon-size: 36px;
- --plyr-range-thumb-height: 26px;
- --plyr-control-spacing: 20px;
- --plyr-font-size-small: 26px;
- --plyr-video-background: transparent;
- }
- body{
- padding-top: 1.80rem;
- box-sizing: border-box;
- padding-bottom: 0.10rem;
- }
- .content{
- box-sizing: border-box;
- width: 95%;
- background-color: #fff;
- border-radius: 0.10rem;
- padding: 0.22rem 0.24rem;
- margin: 0 2.5%;
- position: relative;
- overflow: hidden;
- /* border: none;
- box-shadow: none; */
- }
- .content .tag{
- position: absolute;
- top: -0.01rem;
- right: 0.23rem;
- width: 0.13rem;
- height: 0.22rem;
- background: url('./icons/tag.png') no-repeat center;
- background-size: contain;
- }
- .content .userinfo{
- display: flex;
- }
- .content .userinfo > img {
- display: block;
- width: 0.60rem;
- height: 0.60rem;
- margin-right: 0.15rem;
- border-radius: 50%;
- }
- .content .userinfo .cont {
- flex: 1;
- display: flex;
- flex-direction: column;
- justify-content: center;
- }
- .content .userinfo .cont > p {
- color: rgba(80, 80, 80, 1);
- font-size: 0.14rem;
- margin: 0;
- }
- .content .userinfo .cont > .name{
- font-size: 0.18rem;
- color: rgba(26, 26, 26, 1);
- }
- .content div.desc {
- color: rgba(128, 128, 128, 1);
- font-size: 0.14rem;
- line-height: 1.5;
- position: relative;
- margin: 0;
- margin-top: 0.20rem;
- margin-left: 0.20rem;
- }
- .content div.desc::before {
- content: "";
- background: url('./icons/dot.png') no-repeat center;
- background-size: contain;
- display: block;
- width: 0.06rem;
- height: 0.06rem;
- margin-right: 0.10rem;
- position: absolute;
- top: 0.06rem;
- left: -0.14rem;
- }
- .content .tit{
- font-size: 0.16rem;
- color: #000;
- }
- .content .info{
- font-size: 0.14rem;
- color: #808080;
- }
- .video-container{
- border-radius: 0.20rem;
- border: 0.04rem solid #F3F3F3;
- overflow: hidden;
- margin-top: 0.17rem;
- }
- .video{
- max-width: 100%;
- width: 0.289rem;
- margin: 0 auto;
- display: block;
- }
- .plyr__control--overlaid{
- background-color: rgba(0, 0, 0, .5)!important;
- }
- .plyr--stopped.plyr__poster-enabled .plyr__poster{
- background-color: #fff!important;
- background-size: 70%;
- }
- .line{
- margin-top: 0.21rem;
- width: 3.00rem;
- height: 0.02rem;
- border-top: 0.03rem dotted var(--primary-color);
- position: relative;
- }
- .line::after,
- .line::before{
- content: "";
- display: block;
- position: absolute;
- width: 0.23rem;
- height: 0.23rem;
- border-radius: 100%;
- background-color: var(--primary-color);
- z-index: 2;
- }
- .line::after{
- right: -0.46rem;
- top: -0.12rem;
- }
- .line::before{
- left: -0.38rem;
- top: -0.12rem;
- }
- .app{
- margin-top: 0.18rem;
- display: flex;
- justify-content: space-between;
- }
- .app-info {
- padding: 0.10rem 0;
- display: flex;
- flex: 1;
- flex-direction: column;
- justify-content: space-around;
- }
- .app-title{
- color: rgba(80, 80, 80, 1);
- font-size: 0.18rem;
- font-weight: bold;
- }
- .app-desc{
- font-size: 0.16rem;
- color: rgba(80, 80, 80, 1);
- }
- .app-desc > span{
- color: var(--primary-color);
- font-weight: bold;
- }
- .app-subtitle{
- font-size: 0.12rem;
- color: #fff;
- background: var(--primary-color);
- height: 0.20rem;
- line-height: 0.20rem;
- border-radius: 0.10rem;
- padding-left: 0.05rem;
- display: inline-block;
- width: 1.70rem;
- font-weight: bold;
- }
- .app > .img{
- width: 0.96rem;
- height: 0.96rem;
- position: relative;
- display: flex;
- }
- .app > .img #qrcode{
- width: 100%;
- height: 100%;
- }
- .app > .img .logo{
- position: absolute;
- top: .36rem;
- left: .36rem;
- width: .24rem;
- height: .24rem;
- border-radius: .04rem;
- }
- .video,
- .plyr__video-wrapper,
- .plyr,
- .plyr__poster,
- .plyr__video-wrapper{
- border-radius: 0.20rem;
- overflow: hidden;
- }
- .fraction{
- display: flex;
- margin: 0.10rem 0;
- margin-left: 0.20rem;
- }
- .fraction .item{
- display: flex;
- color: var(--primary-color);
- font-size: 0.10rem;
- font-weight: bold;
- }
- .fraction .item .view{
- flex: 1;
- height: 0.16rem;
- width: 1.37rem;
- background: #F5F4F2;
- border-radius: 0.04rem;
- margin: 0 0.06rem;
- position: relative;
- }
- .fraction .item .view>span{
- display: block;
- flex: 1;
- height: 0.16rem;
- width: 0%;
- border-radius: 0.04rem;
- background: var(--primary-color);
- position: absolute;
- top: 0;
- left: 0;
- }
|