Commit c8f6aefa by zhangquan

bug:礼包名称展示过长会展示补全问题

1 parent 71a8c71e
...@@ -30,7 +30,9 @@ ...@@ -30,7 +30,9 @@
<div slot="name" slot-scope="scope"> <div slot="name" slot-scope="scope">
<div class="gift-name"> <div class="gift-name">
<div class="group-label" v-if="scope.scope.merchantType==2">集团</div> <div class="group-label" v-if="scope.scope.merchantType==2">集团</div>
<el-tooltip effect="dark" :content="scope.scope.name" placement="top-start">
<div class="cursor-pointer" @click="handleDetail(scope.scope)">{{ scope.scope.name }}</div> <div class="cursor-pointer" @click="handleDetail(scope.scope)">{{ scope.scope.name }}</div>
</el-tooltip>
</div> </div>
</div> </div>
<!-- <div style="display: flex;align-items: center;" slot="approveStatus" slot-scope="scope"> <!-- <div style="display: flex;align-items: center;" slot="approveStatus" slot-scope="scope">
...@@ -190,7 +192,7 @@ export default { ...@@ -190,7 +192,7 @@ export default {
label: '礼包名称', label: '礼包名称',
prop: 'name', prop: 'name',
addHtml: 'name', addHtml: 'name',
width: 200 width: 280
}, },
{ {
label: '备注名称', label: '备注名称',
...@@ -565,6 +567,10 @@ export default { ...@@ -565,6 +567,10 @@ export default {
} }
.cursor-pointer{ .cursor-pointer{
height: 20px; height: 20px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
width: 200px;
line-height: 20px; line-height: 20px;
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!