feat(frontend): 统一界面图标体系

This commit is contained in:
2026-08-30 09:57:04 +08:00
parent bba3041867
commit c33610a295
14 changed files with 321 additions and 36 deletions
@@ -0,0 +1,13 @@
<script setup lang="ts">
import type { Component } from 'vue'
withDefaults(defineProps<{ icon: Component; size?: number }>(), { size: 18 })
</script>
<template>
<component :is="icon" class="app-icon" :style="{ width: `${size}px`, height: `${size}px` }" aria-hidden="true" />
</template>
<style scoped>
.app-icon { display: inline-block; flex: 0 0 auto; color: currentColor; }
</style>