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

View File

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