.wrap {
|
--content-height: 170rpx;
|
--icon-width: 24rpx;
|
border-radius: var(--td-border-radius);
|
background-color: var(--td-bg-color-block);
|
padding: var(--td-spacer-1);
|
margin-bottom: var(--td-spacer);
|
/* box-shadow: var(--td-shadow-4); */
|
}
|
|
.stat-card__loading {
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
margin-top: var(--td-spacer-2);
|
height: var(--content-height);
|
}
|
|
.stat-card__title-wrap {
|
display: flex;
|
justify-content: space-between;
|
}
|
|
.stat-card__title {
|
display: flex;
|
align-items: center;
|
font-size: var(--td-font-size-m);
|
/* line-height: 36rpx; */
|
}
|
|
.stat-card__title .stat-card__title-icon {
|
margin-right: var(--td-spacer);
|
}
|
|
.stat-card__sub-title {
|
font-size: var(--td-font-size-s);
|
color: var(--td-text-color-placeholder);
|
margin-left: var(--td-spacer-2);
|
}
|
|
.stat-card__tags {
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
margin-top: var(--td-spacer-2);
|
height: var(--content-height);
|
}
|
|
.stat-card__tag {
|
flex: 1;
|
text-align: center;
|
min-height: 140rpx;
|
display: flex;
|
flex-direction: column;
|
justify-content: space-between;
|
}
|
|
.stat-card__tag .name {
|
display: flex;
|
align-items: center;
|
line-height: var(--icon-width);
|
justify-content: center;
|
font-size: var(--td-font-size-base);
|
color: var(--td-text-color-secondary);
|
/* border: 1px black solid; */
|
}
|
|
.stat-card__tag .name>text {
|
margin-left: var(--icon-width);
|
}
|
|
.stat-card__tag .value {
|
font-size: var(--td-font-size-m);
|
color: var(--td-text-color-primary);
|
font-weight: 600;
|
}
|
|
.stat-card__tag .diff {
|
font-size: var(--td-font-size-s);
|
color: var(--td-text-color-secondary);
|
}
|
|
.stat-card__tag .diff-2 {
|
color: var(--td-bg-color-block);
|
}
|