style(格式化): 改成单引号、一行最长 160,全仓重新格式化
Deploy / deploy (push) Canceled after 0s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
xuyueandClaude Opus 5.5 committed 2026-10-26 13:52:24 +08:00
1 parent 530e1a3d5d
commit 195069450f
480 files changed
+15507 -24650

No files matched your search

@@ -1,18 +1,13 @@
<script setup lang="ts">
import { Icon } from "@iconify/vue"
import type { ProjectGroup } from "../lesson"
import { Icon } from '@iconify/vue'
import type { ProjectGroup } from '../lesson'
/** 项目的小方块图标:智能家居一个房子、智慧农业一片叶子…… */
defineProps<{ icon: string; tone: ProjectGroup["tone"]; size?: number }>()
defineProps<{ icon: string; tone: ProjectGroup['tone']; size?: number }>()
</script>
<template>
<span
class="tile"
:class="tone"
:style="{ width: `${size ?? 36}px`, height: `${size ?? 36}px` }"
aria-hidden="true"
>
<span class="tile" :class="tone" :style="{ width: `${size ?? 36}px`, height: `${size ?? 36}px` }" aria-hidden="true">
<Icon :icon="icon" :width="Math.round((size ?? 36) * 0.55)" />
</span>
</template>