feat(projects): refactor icon system, unify icon usage [重构图标系统,统一图标用法]

This commit is contained in:
Soybean
2022-09-23 00:15:00 +08:00
parent fe8cab3d1c
commit 811f820644
47 changed files with 270 additions and 156 deletions

View File

@ -1,9 +1,9 @@
<template>
<div class="flex-col-center wh-full">
<div class="text-400px text-primary">
<icon-custom-no-permission v-if="type === '403'" />
<icon-custom-not-found v-if="type === '404'" />
<icon-custom-service-error v-if="type === '500'" />
<icon-local-no-permission v-if="type === '403'" />
<icon-local-not-found v-if="type === '404'" />
<icon-local-service-error v-if="type === '500'" />
</div>
<router-link :to="{ name: routeHomePath }">
<n-button type="primary">回到首页</n-button>

View File

@ -1,6 +1,6 @@
<template>
<icon-custom-logo-fill v-if="fill" />
<icon-custom-logo v-else />
<icon-local-logo-fill v-if="fill" />
<icon-local-logo v-else />
</template>
<script lang="ts" setup>