样式微调

This commit is contained in:
bob
2025-03-27 09:59:37 +08:00
parent f8a1a16513
commit 2565828114
2 changed files with 18 additions and 19 deletions

View File

@@ -14,7 +14,7 @@ const props = defineProps(['tips'])
.tool-icon-wrapper {
width: 30px;
height: 30px;
margin: 5px;
padding: 5px;
border-radius: 4px;
display: flex;
justify-content: center;

View File

@@ -115,30 +115,29 @@ defineExpose({
<EmojiIcon />
</template>
</InputTool>
<InputTool tips="图片">
<template #iconSlot>
<el-upload
:auto-upload="false"
:show-file-list="false"
accept="image/*"
:on-change="onSelectedFile"
>
<template #trigger>
<el-upload
:auto-upload="false"
:show-file-list="false"
accept="image/*"
:on-change="onSelectedFile"
>
<template #trigger>
<InputTool tips="图片">
<template #iconSlot>
<ImageIcon />
</template>
</el-upload>
</InputTool>
</template>
</InputTool>
<InputTool tips="文件">
<template #iconSlot>
<el-upload :auto-upload="false" :show-file-list="false" :on-change="onSelectedFile">
<template #trigger>
</el-upload>
<el-upload :auto-upload="false" :show-file-list="false" :on-change="onSelectedFile">
<template #trigger>
<InputTool tips="文件">
<template #iconSlot>
<FileIcon />
</template>
</el-upload>
</InputTool>
</template>
</InputTool>
</el-upload>
<InputTool tips="语音消息" @click="showRecorder">
<template #iconSlot>
<Microphone />