feat ui设计稿

This commit is contained in:
Ironsp
2026-09-30 15:55:36 +08:00
parent ce8210fb3f
commit 9ab6253c81
102 changed files with 4855 additions and 2359 deletions

View File

@@ -31,26 +31,33 @@ const items = [
<style lang="less" scoped>
.home-stats {
.flex(row, flex-end);
gap: @spacing-base;
// 设计稿方块间距 30 设计px ≈ 23 CSS
gap: 23px;
&__item {
.flex(column, center, center);
gap: @spacing-xs;
min-width: 84px;
padding: @spacing-base;
border-radius: @radius-lg;
background: rgba(255, 255, 255, 0.92);
gap: 0;
// 设计稿统计方块 112×112 设计px → 86×86 CSS,#024FFF 实底
width: 86px;
height: 86px;
min-width: 86px;
padding: 0;
border-radius: @radius-sm;
background: @primary-strong;
}
&__value {
font-size: @font-size-xxl;
font-weight: 600;
color: @primary-color;
// 设计稿数字 48 设计px / 500 / 白
font-size: 37px;
font-weight: 500;
line-height: 1.2;
color: @white;
}
&__label {
font-size: @font-size-sm;
color: @text-color-secondary;
font-weight: 500;
color: @white;
}
}
</style>