Files
AGuestSaas/pages/user/index.wxss
2020-12-31 16:10:36 +08:00

255 lines
4.3 KiB
Plaintext

/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
page {
background-color: #e9e9e9;
padding-bottom: 20rpx;
}
/* 个人中心头部 */
.userTop {
background-color: #378fff;
padding: 0 30rpx;
box-sizing: border-box;
color: #fff;
padding-bottom: 80rpx;
}
.userTop-head {
display: flex;
padding: 24rpx 30rpx;
}
.userTop-name {
flex: 1;
font-size: 40rpx;
font-weight: 600;
margin-top: 20rpx;
}
.userTop-name text {
font-size: 28rpx;
border: 2rpx #fff solid;
border-radius: 20rpx;
padding: 0 20rpx;
line-height: 40rpx;
display: inline-block;
margin-left: 10rpx;
}
.userTop-img {
width: 120rpx;
height: 120rpx;
border-radius: 50%;
box-shadow: 0 0 10rpx;
}
.userTop-nav {
display: flex;
flex-direction: row;
justify-content: flex-start;
padding-left: 30rpx;
}
.userTop-label {
text-align: left;
font-size: 26rpx;
min-width: 160rpx;
}
.userTop-label text {
display: block;
font-size: 36rpx;
font-weight: 600;
}
.userTop-vip {
background-image: linear-gradient(to left, #1b2653, #354273);
border-radius: 20rpx;
padding: 16rpx 25rpx;
box-sizing: border-box;
margin-top: 46rpx;
}
.userTop-vip,
.userTop-text,
.userTop-btn {
display: flex;
}
.userTop-text {
flex: 1;
line-height: 60rpx;
font-size: 28rpx;
}
.userTop-text image {
width: 54rpx;
height: 54rpx;
margin-right: 20rpx;
}
.userTop-btn {
background-color: #fedd7c;
color: #313c6d;
border-radius: 50rpx;
height: 60rpx;
line-height: 60rpx;
padding-right: 20rpx;
font-size: 24rpx;
}
.userTop-btn image {
width: 30rpx;
height: 30rpx;
margin: 15rpx 8rpx 15rpx 20rpx;
}
.userNav {
padding: 30rpx 0;
box-sizing: border-box;
border-radius: 30rpx;
background-color: white;
overflow: hidden;
margin: 30rpx 20rpx;
position: relative;
top: -80rpx;
}
.userNav-label {
width: 33.33%;
float: left;
text-align: center;
font-weight: 400;
color: #353535;
font-size: 28rpx;
}
.userNav-label-img {
width: 104rpx;
height: 104rpx;
border-radius: 40rpx;
margin: 0 auto 1rpx;
color: #fff;
padding: 25rpx;
box-sizing: border-box;
}
.userNav-label:nth-child(1) .userNav-label-img {
/* background-image: linear-gradient(to top, #91d634, #75c470); */
}
.userNav-label:nth-child(2) .userNav-label-img {
/* background-image: linear-gradient(to top, #04d2c1, #3caff1); */
}
.userNav-label:nth-child(3) .userNav-label-img {
/* background-image: linear-gradient(to top, #ff686c, #ff0d76); */
}
.bgcolor {
background-image: linear-gradient(to top, #91d634, #75c470);
}
.userNav-label image {
width: 100%;
height: 100%;
display: block;
}
/* 更多服务 */
.userTool {
background-color: white;
border-radius: 20rpx;
margin: 0 20rpx;
padding: 30rpx 20rpx 0;
box-sizing: border-box;
position: relative;
top: -80rpx;
}
.userTool-title {
position: relative;
padding-left: 30rpx;
font-weight: 600;
margin-bottom: 30rpx;
}
.userTool-title::after {
position: absolute;
content: '';
background-color: #378fff;
left: 0;
top: 15%;
width: 8rpx;
height: 70%;
border-radius: 20rpx;
}
.userTool-list {
overflow: hidden;
padding-top: 20rpx;
font-size: 30rpx;
}
.userTool-label {
width: 25%;
float: left;
text-align: center;
margin-bottom: 50rpx;
font-size: 26rpx;
color: #333;
}
.userTool-label-img {
position: relative;
width: 94rpx;
height: 94rpx;
margin: 0 auto;
margin-bottom: 15rpx;
}
.userTool-label-img-button {
width: 94rpx;
height: 94rpx;
margin-bottom: 15rpx;
background-color: red;
}
.userTool-label-img-button image {
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
}
.userTool-label-img image {
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
}
.userTool-label-tips {
position: absolute;
top: -5rpx;
right: -5rpx;
background-color: #ffffff;
border: 2rpx solid #ff106e;
color: #ff106e;
font-size: 24rpx;
border-radius: 50%;
width: 32rpx;
height: 32rpx;
line-height: 32rpx;
text-align: center;
}
image {
height: auto;
}