wujingjing
2024-12-13 59951a7031d50c8528764c624628886c31a6ea2c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<template>
    <span
        :class="['ywifont', `ywicon-${name}`]"
        :style="{
            fontSize: Number(fontSize) + 'px',
            color: color,
        }"
    ></span>
</template>
 
<script setup lang="ts" name="YWIcon">
defineProps({
    name: {
        type: String,
        required: true,
    },
    fontSize: {
        type: String,
    },
    color: {
        type: String,
    },
});
</script>
<style scoped lang="scss"></style>