Commit 662325ec by linjinhong

修改样式

parent 30d5c3f7
...@@ -1659,11 +1659,17 @@ ...@@ -1659,11 +1659,17 @@
v-for="(item, index) in cardItem.customTagList.slice(3)" v-for="(item, index) in cardItem.customTagList.slice(3)"
:key="index" :key="index"
> >
<el-tag type="primary">{{ item.name || '' }}</el-tag> <el-tag
type="primary"
:title="item.name || ''"
style="margin-bottom: 2px"
>{{ item.name || '' }}</el-tag
>
</div> </div>
</template> </template>
<div <div
class="flex" class="flex"
ref="tagRefs"
style="gap: 5px; overflow: hidden" style="gap: 5px; overflow: hidden"
v-if="cardItem.customTagList?.length" v-if="cardItem.customTagList?.length"
> >
...@@ -1675,7 +1681,24 @@ ...@@ -1675,7 +1681,24 @@
3, 3,
)" )"
:key="index" :key="index"
>{{ item.name || '' }}</el-tag ><span
style="
width: 50px;
text-align: center;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
display: inline-block;
"
:title="item.name || ''"
>{{ item.name || '' }}</span
></el-tag
>
<el-tag
size="small"
type="primary"
v-if="cardItem.customTagList?.slice(3)?.length"
>+{{ cardItem.customTagList.slice(3).length }}</el-tag
> >
</div> </div>
</el-tooltip> </el-tooltip>
......
...@@ -1877,7 +1877,12 @@ ...@@ -1877,7 +1877,12 @@
v-for="(item, index) in cardItem.customTagList.slice(3)" v-for="(item, index) in cardItem.customTagList.slice(3)"
:key="index" :key="index"
> >
<el-tag type="primary">{{ item.name || '' }}</el-tag> <el-tag
type="primary"
:title="item.name || ''"
style="margin-bottom: 2px"
>{{ item.name || '' }}</el-tag
>
</div> </div>
</template> </template>
<div <div
...@@ -1894,7 +1899,24 @@ ...@@ -1894,7 +1899,24 @@
3, 3,
)" )"
:key="index" :key="index"
>{{ item.name || '' }}</el-tag ><span
style="
width: 50px;
text-align: center;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
display: inline-block;
"
:title="item.name || ''"
>{{ item.name || '' }}</span
></el-tag
>
<el-tag
size="small"
type="primary"
v-if="cardItem.customTagList?.slice(3)?.length"
>+{{ cardItem.customTagList.slice(3).length }}</el-tag
> >
</div> </div>
</el-tooltip> </el-tooltip>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment