feat 完善注释
This commit is contained in:
@@ -4,7 +4,6 @@ import type { Case } from '@/types/business/cases'
|
||||
|
||||
interface Props {
|
||||
cases: Case[]
|
||||
/** 当前筛选条件下的案例总数 */
|
||||
total: number
|
||||
}
|
||||
|
||||
@@ -41,13 +40,11 @@ const emit = defineEmits<{
|
||||
<style lang="less" scoped>
|
||||
.cases-grid {
|
||||
&__total {
|
||||
// 设计计数 20px / 700 / #121212
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
color: @heading-color;
|
||||
}
|
||||
|
||||
// 设计卡片 396×267,列 x606/1030/1454 → 列距 28,行 y423/713 → 行距 23
|
||||
&__list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
|
||||
Reference in New Issue
Block a user