press-pix
Version:
基于 PixUI 的 Press 组件库
88 lines (80 loc) • 1.53 kB
text/less
@import '../../common/styles/pubgm/mixins.less';
.pmg-scroll-selection{
position: fixed;
left: 0;
top: 0;
display: flex;
flex-direction: column;
justify-content: flex-end;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, .9);
z-index: 99;
}
.pmg-scroll-wrap{
position: relative;
display: flex;
flex-direction: column;
width: 100%;
height: 4.12rem;
background-color: #282828;
&::after{
content: '';
position: absolute;
bottom: 0;
right: 0;
width: 6.84rem;
height: 2.8rem;
.bgUrl('comp/img-grid.png');
}
}
.pmg-scroll-head{
position: relative;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
height: 1.4rem;
width: 100%;
padding-bottom: .46rem;
padding-left: .4rem;
padding-right: .4rem;
margin-bottom: -.46rem;
flex-shrink: 0;
.bgUrl('comp/popup-title.png');
background-size: 100% 1.4rem;
}
.pmg-scroll-title-wrap{
flex-grow: 1;
margin: 0 .4rem;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
.pmg-scroll-title{
text-align: center;
font-size: .28rem;
font-weight: bold;
color: #fff;
line-clamp: 1;
text-align: center;
}
.pmg-scroll-content{
width: 100%;
position: relative;
z-index: 99;
}
.pmg-wheel-picker-list{
display: flex;
flex-direction: row;
position: relative;
width: 100%;
z-index: 99;
padding: 0 .4rem;
}
.pmg-wheel-picker-item{
height: 3rem;
color: #fff;
background-color: transparent;
}