feat: 样式优化

This commit is contained in:
wangdan-fit2cloud 2024-03-05 18:10:15 +08:00
parent 647eada388
commit d3df1850b4
2 changed files with 5 additions and 3 deletions

View File

@ -8,7 +8,9 @@
<img src="@/assets/icon_document.svg" style="width: 58%" alt="" />
</AppAvatar>
</slot>
<h4 class="ellipsis-1" style="width: 65%">{{ title }}</h4>
<auto-tooltip :content="title" style="width: 65%">
{{ title }}
</auto-tooltip>
</div>
</slot>
</div>

View File

@ -1,8 +1,8 @@
<template>
<el-tag class="tag-ellipsis flex-between mb-8" effect="plain" v-bind="$attrs">
<AutoTooltip :content="tooltipContent">
<auto-tooltip :content="tooltipContent">
<slot></slot>
</AutoTooltip>
</auto-tooltip>
</el-tag>
</template>
<script setup lang="ts">