You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
293 lines
4.4 KiB
293 lines
4.4 KiB
3 years ago
|
/* pages/user/index.wxss */
|
||
|
page{
|
||
|
background: #212226;
|
||
|
}
|
||
|
image{
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
}
|
||
|
.user-index-box{
|
||
|
min-height: 100vh;
|
||
|
color: #EFDACA;
|
||
|
position: relative;
|
||
|
}
|
||
|
.user-index-top{
|
||
|
width: 100%;
|
||
|
height: 1020rpx;
|
||
|
position: relative;
|
||
|
}
|
||
|
.user-index-top .top-bg{
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
}
|
||
|
.user-info-box{
|
||
|
position: absolute;
|
||
|
top: 112rpx;
|
||
|
left: 40rpx;
|
||
|
z-index: 2;
|
||
|
}
|
||
|
.header-img{
|
||
|
width: 134rpx;
|
||
|
height: 134rpx;
|
||
|
margin-right: 34rpx;
|
||
|
}
|
||
|
.header-img image{
|
||
|
width: 134rpx;
|
||
|
height: 134rpx;
|
||
|
border-radius: 50%;
|
||
|
}
|
||
|
.user-info{
|
||
|
width: 450rpx;
|
||
|
}
|
||
|
.user-title{
|
||
|
width: 242rpx;
|
||
|
height: 56rpx;
|
||
|
}
|
||
|
.user-title image{
|
||
|
width: 242rpx;
|
||
|
height: 56rpx;
|
||
|
}
|
||
|
|
||
|
.menu-box{
|
||
|
width: 670rpx;
|
||
|
height: 244rpx;
|
||
|
border: 2px solid #EFDACA;
|
||
|
border-radius: 16rpx;
|
||
|
position: absolute;
|
||
|
top: 290rpx;
|
||
|
left: 40rpx;
|
||
|
padding: 20rpx 0 16rpx 16rpx;
|
||
|
}
|
||
|
.menu-title-box{
|
||
|
font-size: 32rpx;
|
||
|
line-height: 44rpx;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
.fz20{
|
||
|
font-size: 20rpx;
|
||
|
font-weight: normal;
|
||
|
}
|
||
|
.see-more image{
|
||
|
width: 10rpx;
|
||
|
height: 18rpx;
|
||
|
display: block;
|
||
|
margin-left: 10rpx;
|
||
|
}
|
||
|
.scroll-view_H{
|
||
|
white-space: nowrap;
|
||
|
width: 100%;
|
||
|
}
|
||
|
.menu-list{
|
||
|
margin-top: 36rpx;
|
||
|
}
|
||
|
.menu-item{
|
||
|
display: inline-block;
|
||
|
text-align: center;
|
||
|
margin-right: 30rpx;
|
||
|
}
|
||
|
.menu-item image{
|
||
|
width: 70rpx;
|
||
|
height: 70rpx;
|
||
|
display: inline-block;
|
||
|
margin-bottom: 6rpx;
|
||
|
}
|
||
|
|
||
|
.myIncome-box{
|
||
|
position: absolute;
|
||
|
top: 576rpx;
|
||
|
left: 40rpx;
|
||
|
}
|
||
|
.income-box{
|
||
|
width: 670rpx;
|
||
|
height: 208rpx;
|
||
|
border-radius: 12rpx;
|
||
|
margin-top: 10rpx;
|
||
|
position: relative;
|
||
|
}
|
||
|
.income-box image{
|
||
|
width: 670rpx;
|
||
|
height: 208rpx;
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
}
|
||
|
.income-l{
|
||
|
width: 50%;
|
||
|
height: 100%;
|
||
|
position: absolute;
|
||
|
left: 0;
|
||
|
z-index: 2;
|
||
|
color: #946F46;
|
||
|
padding: 30rpx 0 20rpx;
|
||
|
}
|
||
|
.num{
|
||
|
color: #363636;
|
||
|
font-size: 36rpx;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
.btn{
|
||
|
width: 124rpx;
|
||
|
height: 44rpx;
|
||
|
line-height: 44rpx;
|
||
|
text-align: center;
|
||
|
background: #EFDACA;
|
||
|
border-radius: 62rpx;
|
||
|
font-size: 26rpx;
|
||
|
}
|
||
|
.income-r{
|
||
|
left: 50%;
|
||
|
}
|
||
|
.invitation-list-box{
|
||
|
position: relative;
|
||
|
z-index: 99;
|
||
|
top: -140rpx;
|
||
|
}
|
||
|
.invi-title{
|
||
|
padding-left: 40rpx;
|
||
|
font-size: 32rpx;
|
||
|
color: #EFDACA;
|
||
|
line-height: 40rpx;
|
||
|
margin-bottom: 12rpx;
|
||
|
}
|
||
|
.list-box{
|
||
|
width: 100%;
|
||
|
background: #212226;
|
||
|
border-radius: 40rpx 40rpx 0px 0px;
|
||
|
padding-top: 36rpx;
|
||
|
}
|
||
|
.medal-box{
|
||
|
|
||
|
}
|
||
|
.medal{
|
||
|
width: 224rpx;
|
||
|
height: 336rpx;
|
||
|
font-size: 20rpx;
|
||
|
color: #946F46;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
align-items: center;
|
||
|
position: relative;
|
||
|
text-align: center;
|
||
|
line-height: 38rpx;
|
||
|
}
|
||
|
.medal .medal-bg{
|
||
|
width: 224rpx;
|
||
|
height: 336rpx;
|
||
|
position: absolute;
|
||
|
}
|
||
|
.medal-content{
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
z-index: 22;
|
||
|
}
|
||
|
.user-header{
|
||
|
width: 86rpx;
|
||
|
height: 86rpx;
|
||
|
border-radius: 50%;
|
||
|
overflow: hidden;
|
||
|
position: absolute;
|
||
|
left: 50%;
|
||
|
top: -43rpx;
|
||
|
transform: translateX(-50%);
|
||
|
}
|
||
|
.medal-content .user-name{
|
||
|
color: #363636;
|
||
|
font-size: 24rpx;
|
||
|
line-height: 34rpx;
|
||
|
margin-bottom: 16rpx;
|
||
|
margin-top: 56rpx;
|
||
|
}
|
||
|
.income-money{
|
||
|
font-size: 28rpx;
|
||
|
color: #363636;
|
||
|
font-weight: bold;
|
||
|
margin-top: 16rpx;
|
||
|
}
|
||
|
.medal-icon{
|
||
|
width: 136rpx;
|
||
|
height: 136rpx;
|
||
|
position: absolute;
|
||
|
right: -68rpx;
|
||
|
bottom: -10rpx;
|
||
|
}
|
||
|
.medal1{
|
||
|
margin: 0 22rpx;
|
||
|
z-index: 99;
|
||
|
}
|
||
|
.medal2,.medal3{
|
||
|
width: 202rpx;
|
||
|
height: 303rpx;
|
||
|
margin-top: 80rpx;
|
||
|
}
|
||
|
.medal3{
|
||
|
margin-top: 100rpx;
|
||
|
}
|
||
|
.medal2 .medal-icon{
|
||
|
width: 112rpx;
|
||
|
height: 112rpx;
|
||
|
bottom: -20rpx;
|
||
|
right: -20rpx;
|
||
|
}
|
||
|
.medal2 .medal-bg,.medal3 .medal-bg{
|
||
|
width: 202rpx;
|
||
|
height: 303rpx;
|
||
|
}
|
||
|
.medal3 .medal-icon{
|
||
|
width: 100rpx;
|
||
|
height: 100rpx;
|
||
|
right: -20rpx;
|
||
|
}
|
||
|
.rank-list-box{
|
||
|
width: 100%;
|
||
|
max-height: 780rpx;
|
||
|
padding: 0 40rpx;
|
||
|
font-size: 24rpx;
|
||
|
overflow-y: scroll;
|
||
|
}
|
||
|
.rank-item .num{
|
||
|
min-width: 50rpx;
|
||
|
color: #E4C6B0;
|
||
|
}
|
||
|
.item-right-l image{
|
||
|
width: 74rpx;
|
||
|
height: 74rpx;
|
||
|
border-radius: 50%;
|
||
|
margin-right: 16rpx;
|
||
|
}
|
||
|
.item-right-l{
|
||
|
width: 70%;
|
||
|
}
|
||
|
.item-right-l .name{
|
||
|
font-size: 24rpx;
|
||
|
color: #fff;
|
||
|
width: 80%;
|
||
|
}
|
||
|
.item-right{
|
||
|
width: 618rpx;
|
||
|
height: 132rpx;
|
||
|
border-bottom: 1px solid #6B6158;
|
||
|
}
|
||
|
.item-right-r{
|
||
|
text-align: right;
|
||
|
}
|
||
|
|
||
|
.share-btn{
|
||
|
width: 334rpx !important;
|
||
|
height: 132rpx !important;
|
||
|
padding: 0 !important;
|
||
|
margin: 40rpx auto !important;
|
||
|
background: transparent !important;
|
||
|
position: fixed;
|
||
|
bottom: 0rpx;
|
||
|
left: 50%;
|
||
|
margin-left: -162rpx !important;
|
||
|
z-index: 999;
|
||
|
}
|
||
|
.share-btn image{
|
||
|
width: 334rpx;
|
||
|
height: 132rpx;
|
||
|
display: inline-block;
|
||
|
}
|