yuminge-app/yun-min-program-plugin-master/packageE/ranking_2/index/index.wxss

126 lines
2.0 KiB
Plaintext

/* packageE/ranking_2/index/index.wxss */
@import "../common.wxss";
.header {
position: relative;
display: grid;
align-items: center;
justify-content: space-around;
grid-template-columns: 160rpx 226rpx 160rpx;
padding: 68rpx 0 40rpx;
width: 100%;
color: white;
background-image: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images/ranking/index_header_bg.png");
background-position: 0, 0;
background-size: 100%;
background-color: #ff8f31;
box-sizing: border-box;
}
.reward-log-entry {
position: absolute;
right: 32rpx;
top: 16rpx;
font-size: 28rpx;
}
.header-ranking {
position: relative;
}
.header-ranking-avatar {
position: relative;
margin: 0 auto;
width: 153rpx;
height: 153rpx;
text-align: center;
}
.header-ranking-avatar_img {
position: absolute;
z-index: 2;
top: 0;
left: 0;
bottom: 0;
right: 0;
margin: auto;
width: 121rpx;
height: 121rpx;
border-radius: 50%;
}
.header-ranking-avatar_bg {
position: absolute;
z-index: 1;
top: 0;
left: 0;
bottom: 0;
right: 0;
margin: auto;
width: 153rpx;
height: 153rpx;
}
.header-ranking-title {
position: absolute;
z-index: 3;
left: 0;
right: 0;
bottom: -28rpx;
margin: 0 auto;
width: 100%;
text-align: center;
}
.header-ranking-title_text {
position: absolute;
z-index: 4;
width: 100%;
text-align: center;
font-size: 20rpx;
}
.header-ranking-title_bg {
width: 187rpx;
height: 73rpx;
}
.header-member-nickname {
margin-top: 34rpx;
width: 100%;
font-size: 24rpx;
text-align: center;
}
.header-statistics {
text-align: center;
}
.header-statistics-count {
overflow: hidden;
font-size: 36rpx;
white-space: nowrap;
text-overflow: ellipsis;
}
/* 排行榜 */
.income-ranking-title {
padding: 32rpx 0;
width: 100%;
font-size: 32rpx;
color: #ffa048;
text-align: center;
box-sizing: border-box;
background-color: white;
}
.income-ranking-list {
padding: 0 20rpx 0;
}
.ranking-top-icon {
vertical-align: middle;
width: 24px;
height: 28.5px;
}