fenggu/pages/user/user.wxss

137 lines
3.9 KiB
Plaintext

/* pages/personal/personal.wxss */
.container{
padding-bottom: 120rpx;
}
.page-body{
height: 300rpx;
position: relative;
}
.swiper-item image{
width: 100%;
height: 300rpx;
}
.dots{
display: inline-block;
position: absolute;
bottom: 20rpx;
right: 0;
padding: 0 20rpx;
}
.dots .dot{
width: 8rpx;
height: 8rpx;
background: #fff;
float: left;
margin:0 4rpx;
border-radius: 50%;
}
.dots .dot.active{
background: #2a8de9;
}
/**/
.personal-name{
font-size: 40rpx;
width: 100%;
text-align: center;
background-color: #2a8de9;
color: #fff;
padding: 30rpx 0;
}
.personal-name text{
position: relative;
margin-left: 10px;
padding-left: 10px;
font-size: 28rpx;
}
.personal-name text::after{
position: absolute;
width: 1px;
height: 33rpx;
content: '';
left: 0;
top: 50%;
margin-top: -15rpx;
background-color: #fff;
}
/**/
.works{
padding: 0 24rpx;
}
.works .list{
width:100% ;
float: left;
display: inline-block;
margin-top: 30rpx;
padding: 0 30rpx;
}
.works .list .img{
padding: 16rpx;
width: 50%;
position: relative;
float: left;
}
.works .list .img image{
width: 277rpx;
height: 256rpx;
}
.works .list .img .id{
width: 61rpx;
height: 72rpx;
position: absolute;
left: 0;
top: 0;
font-size: 24rpx;
color: #fff;
text-align: center;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD4AAABICAYAAACuukaYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyVpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDAyIDc5LjE2NDQ2MCwgMjAyMC8wNS8xMi0xNjowNDoxNyAgICAgICAgIj4gPHJkZjpSREYgeG1s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X03Un11po7UqTpR1V2Ff6prdWGf0w2/X9kAfoZwGBtCrejwse1o2y7nr5TH8UN4tJp5DCEL+Ie6tJ29U/OMh5nLENLC32xXfT21DHSvyGwISeAvMeyTncQ217+GsAk+tEvYY58L/FhOPITKLwcYqI6BX3fw3eRPQ/Dwhbo3aCf0i8SWhhCtBRgA0ghNoQEzJioAAAAASUVORK5CYII=) no-repeat top center;
background-size:61rpx 72rpx ;
}
.works .list .img .id text{
display: block;
margin-top: -5rpx;
}
.personal-right{
float: left;
width: 50%;
padding: 16rpx 0 0 20rpx;
}
.personal-right .text{
font-size: 28rpx;
display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
word-wrap: break-word;
white-space: normal !important;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
color: #8c8c8c;
}
.personal-right .name{
padding: 20rpx 0;
font-size: 30rpx;
color: #ff1a1a;
margin-bottom: 30rpx;
}
.personal-right .add{
width: 100%;
height: 58rpx;
line-height: 58rpx;
background:#ffc103;
padding: 0;
border-radius: 0;
color: #fff;
font-size: 30rpx;
}
.upload{
width: 100%;
margin-top: 60rpx;
display: inline-block;
}
.upload button:not([size='mini']){
width: 570rpx;
border-radius: 8rpx;
background-color: #2a8de9;
color: #fff;
font-size: 30rpx;
height: 74rpx;
}