Files
AGuestSaas/pages/user/index.wxss
2020-12-28 09:16:11 +08:00

219 lines
3.6 KiB
Plaintext

/*
* 手太欠
* 企获客商城模块
*/
page {
background-color: #e9e9e9;
}
/* 个人中心头部 */
.userTop {
background-color: #2e81fc;
padding: 0 30rpx;
box-sizing: border-box;
color: #fff;
}
.userTop-head {
display: flex;
padding: 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%;
}
.userTop-nav {
display: flex;
}
.userTop-label {
flex: 3;
text-align: center;
font-size: 28rpx;
}
.userTop-label text {
display: block;
font-size: 42rpx;
}
.userTop-vip {
background-image: linear-gradient(to left, #1b2653, #354273);
border-radius: 20rpx 20rpx 0 0;
padding: 25rpx;
box-sizing: border-box;
margin-top: 30rpx;
}
.userTop-vip,
.userTop-text,
.userTop-btn {
display: flex;
}
.userTop-text {
flex: 1;
line-height: 60rpx;
font-size: 30rpx;
}
.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: 26rpx;
}
.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;
}
.userNav-label {
width: 33.33%;
float: left;
text-align: center;
font-weight: 600;
color: #353535;
font-size: 30rpx;
}
.userNav-label-img {
width: 104rpx;
height: 104rpx;
border-radius: 40rpx;
margin: 0 auto 20rpx;
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);
}
.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;
}
.userTool-title {
position: relative;
padding-left: 30rpx;
font-weight: 600;
margin-bottom: 30rpx;
}
.userTool-title::after {
position: absolute;
content: '';
background-color: #066aff;
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;
}
.userTool-label-img {
position: relative;
width: 94rpx;
height: 94rpx;
margin: 0 auto;
margin-bottom: 15rpx;
}
.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;
}