feat 完善注释
This commit is contained in:
@@ -7,7 +7,6 @@ interface Props {
|
||||
|
||||
defineProps<Props>()
|
||||
|
||||
/** 展示顺序与设计稿一致:累积项目 / 进行中 / 已提交 */
|
||||
const items = [
|
||||
{ key: 'total', label: '累积项目' },
|
||||
{ key: 'inProgress', label: '进行中' },
|
||||
@@ -31,13 +30,11 @@ const items = [
|
||||
<style lang="less" scoped>
|
||||
.home-stats {
|
||||
.flex(row, flex-end);
|
||||
// 设计稿方块间距 30px
|
||||
gap: 30px;
|
||||
|
||||
&__item {
|
||||
.flex(column, center, center);
|
||||
gap: 0;
|
||||
// 设计稿统计方块 112×112,#024FFF 实底
|
||||
width: 112px;
|
||||
height: 112px;
|
||||
min-width: 112px;
|
||||
@@ -47,7 +44,6 @@ const items = [
|
||||
}
|
||||
|
||||
&__value {
|
||||
// 设计稿数字 48px / 500 / 白
|
||||
font-size: 48px;
|
||||
font-weight: 500;
|
||||
line-height: 1.2;
|
||||
|
||||
Reference in New Issue
Block a user