init: 初始系统模板

This commit is contained in:
TsMask
2023-09-05 14:38:23 +08:00
parent a5bc16ae4f
commit 1075c8ae4f
130 changed files with 22531 additions and 1 deletions

View File

@@ -0,0 +1,30 @@
<script lang="ts" setup>
import { scriptUrl } from '@/assets/js/icon_font_8d5l8fzk5b87iudi';
import { createFromIconfontCN } from '@ant-design/icons-vue';
const props = defineProps({
type: {
type: String,
default: '#',
},
size: {
type: Number,
default: 14,
},
});
/**字体图标加载为组件 */
const IconFont = createFromIconfontCN({
scriptUrl: scriptUrl,
});
</script>
<template>
<IconFont
v-if="type != '#'"
:type="props.type"
:style="{ fontSize: size + 'px' }"
></IconFont>
</template>
<style lang="less" scoped></style>