Commit 7403f491 by chenwq

客户弹窗-标签展示

1 parent c9a37ad1
...@@ -34,8 +34,8 @@ ...@@ -34,8 +34,8 @@
<div class="tag-box-header">标签名称({{ selectNum }}项)</div> <div class="tag-box-header">标签名称({{ selectNum }}项)</div>
<div class="tag-selected-box" :style="{ height: heightBox + 'px' }"> <div class="tag-selected-box" :style="{ height: heightBox + 'px' }">
<template v-for="item in labelTreeRetSelect"> <template v-for="item in labelTreeRetSelect">
<el-tag :title="item.tagChecked.name" v-if="item.tagChecked" type="info" class="tag-selected-item" :key="item.tagChecked" closable :disable-transitions="false" @close="remove(item, idx)"> <el-tag :title="item.tagChecked.name" v-if="item.tagChecked" type="info" class="customer-tag-selected-item" :key="item.tagChecked" closable :disable-transitions="false" @close="remove(item, idx)">
{{ item.tagChecked.name }} {{ item.tagChecked.name.length > 11 ? item.tagChecked.name.slice(0, 11) + '...' : item.tagChecked.name }}
</el-tag> </el-tag>
</template> </template>
</div> </div>
...@@ -358,13 +358,13 @@ export default { ...@@ -358,13 +358,13 @@ export default {
} }
} }
} }
.tag-selected-item { .customer-tag-selected-item {
margin: 0px 6px 6px 0px; margin: 0px 6px 6px 0px;
height: 26px; height: 26px;
line-height: 24px; line-height: 24px;
font-size: 14px; font-size: 14px;
color: #666; color: #666;
max-width: 200px; max-width: auto !important;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!