diff --git a/src/assets/icons/qq.svg b/src/assets/icons/qq.svg index 5adcf437..98da3953 100644 --- a/src/assets/icons/qq.svg +++ b/src/assets/icons/qq.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/assets/icons/wechat.svg b/src/assets/icons/wechat.svg index 5adcf437..35de4bc3 100644 --- a/src/assets/icons/wechat.svg +++ b/src/assets/icons/wechat.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/components/SvgIcon/index.vue b/src/components/SvgIcon/index.vue index 1f23cd6a..fa0dce3b 100644 --- a/src/components/SvgIcon/index.vue +++ b/src/components/SvgIcon/index.vue @@ -1,5 +1,9 @@ @@ -18,7 +22,11 @@ const props = defineProps({ }, color: { type: String, - default: '' + default: '#fff' + }, + size: { + type: String, + default: '1em' } }); @@ -27,8 +35,6 @@ const symbolId = computed(() => `#${props.prefix}-${props.iconClass}`);