press-pix
Version:
基于 PixUI 的 Press 组件库
194 lines (189 loc) • 3.39 kB
text/less
@import '../../common/styles/pubgm/mixins.less';
.pmg-my-match{
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
.bgUrl('comp/match-bg.png');
background-size: cover;
background-repeat: no-repeat;
padding-left: .88rem;
}
// 头部
.pmg-my-match-head{
width: 100%;
height: 1.02rem;
flex-shrink: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.pmg-my-info{
position: relative;
top: .32rem;
display: flex;
align-items: center;
flex-direction: row;
flex-grow: 1;
}
.pmg-my-info-avatar{
width: .84rem;
height: .84rem;
}
.pmg-my-avatar{
width: 100%;
height: 100%;
}
.pmg-my-info-name{
display: flex;
flex-direction: column;
margin-left: .18rem;
margin-top: .08rem;
flex-grow: 1;
}
.pmg-my-name{
line-height: .38rem;
font-size: .26rem;
color: #fff;
flex-grow: 1;
line-clamp: 1;
}
.pmg-my-rank{
display: flex;
align-items: center;
margin-top: .08rem;
}
.pmg-my-rank-img{
width: .24rem;
height: .24rem;
}
.pmg-my-rank-name{
margin-left: .08rem;
line-height: .24rem;
font-size: .16rem;
color: #fff;
flex-grow: 1;
line-clamp: 1;
}
.pmg-my-match-title{
display: flex;
align-items: center;
padding-right: .88rem;
font-size: .4rem;
color: #fff;
height: 1.02rem;
position: relative;
flex-shrink: 0;
&::after{
content: '';
position: absolute;
top: 0;
right: 0;
width: 4.76rem;
height: 1.02rem;
.bgUrl('comp/head-title.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
}
.pmg-title{
display: flex;
align-items: center;
z-index: 2;
font-size: .4rem;
color: #fff;
line-clamp: 1;
margin-right: .24rem;
}
.pmg-btn-back{
width: .64rem;
height: .64rem;
.bgUrl('comp/icon-close-2.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
z-index: 2;
}
// 内容区域
.pmg-my-match-content{
display: flex;
flex-direction: row;
justify-content: space-between;
flex-grow: 1;
overflow: hidden;
}
.pmg-my-match-box{
display: flex;
flex-direction: column;
flex-grow: 1;
}
// 筛选部分
.pmg-filter-list{
position: relative;
display: flex;
flex-direction: row;
align-items: center;
margin-top: .48rem;
flex-shrink: 0;
z-index: 9;
}
.pmg-drop-down-box{
margin-right: .28rem;
}
.pmg-filter-time-list{
display: flex;
align-items: center;
margin-right: .16rem;
}
.pmg-filter-time{
display: flex;
align-items: center;
justify-content: center;
padding: 0 .16rem;
height: .4rem;
font-size: .22rem;
color: #fff;
border: .01rem solid rgba(255, 255, 255, .5);
&.pmg-filter-time-active{
color: #c7fff6;
border-color: #c7fff6;
}
}
.pmg-filter-line{
margin: 0 .08rem;
font-size: .22rem;
color: #fff;
}
// 我的赛事列表
.pmg-matching-list{
display: flex;
flex-wrap: wrap;
flex-direction: row;
align-content: flex-start;
overflow: scroll;
flex-grow: 1;
margin-top: .24rem;
padding-right: .62rem;
}
.pmg-history-list{
display: flex;
flex-wrap: wrap;
flex-direction: row;
overflow: scroll;
flex-grow: 1;
margin-top: .24rem;
padding-right: .62rem;
}
//tab栏
.pmg-my-match-tab{
margin-left: auto;
flex-shrink: 0;
}
.pmg-empty-box{
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}