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.

52 lines
1.1 KiB

.container {
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
}
.circle {
width: 160px; /* 圆圈宽度 */
height: 160px; /* 圆圈高度 */
border-radius: 50%; /* 圆形 */
background-color: dodgerblue; /* 圆圈背景色 */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-bottom: 40rpx; /* 圆圈与下方内容的间距 */
}
.total-points {
display: flex;
justify-content: center;
align-items: center;
font-size: 38px; /* 积分字体大小 */
font-style: italic;
font-weight: bold; /* 粗体 */
padding-right: 12px;
}
.points-label {
font-size: 18px; /* 标签字体大小 */
padding-top: 8rpx;
}
.stats {
margin-top: 20px;
display: flex;
flex-direction: column;
width: 100%; /* 适应父容器宽度 */
}
.stat-item {
display: flex;
justify-content: space-between; /* 左右对齐 */
align-items: center;
font-size: 18px; /* 统计项字体大小 */
margin-bottom: 20px; /* 项间距 */
padding: 0 16px; /* 左右内边距 */
border-bottom: 1px solid #eee;
}
.count {
font-style: italic;
font-weight: 550;
margin-left: auto;
}