style: 优化按钮样式

This commit is contained in:
xlsea
2025-05-10 10:45:30 +08:00
parent cc34f546c6
commit 5b0ae4443c
12 changed files with 80 additions and 40 deletions

View File

@ -161,7 +161,7 @@ const {
<ButtonIcon
text
type="primary"
icon="material-symbols:download"
icon="material-symbols:download-rounded"
class="text-20px"
tooltipContent={$t('common.download')}
onClick={() => download(row.ossId!)}
@ -298,15 +298,15 @@ function handleToOssConfig() {
</template>
</NSwitch>
<NButton type="primary" size="small" ghost @click="handleUpload('file')">
<NButton size="small" ghost @click="handleUpload('file')">
<template #icon>
<icon-ic-round-file-upload />
<icon-material-symbols:upload-rounded />
</template>
上传文件
</NButton>
<NButton type="primary" size="small" ghost @click="handleUpload('image')">
<NButton size="small" ghost @click="handleUpload('image')">
<template #icon>
<icon-ic-round-image />
<icon-material-symbols:image-outline />
</template>
上传图片
</NButton>