Commit 91f7dd79 by 李长胜

修改样式

1 parent 6852d519
...@@ -25,16 +25,19 @@ ...@@ -25,16 +25,19 @@
</span> </span>
<div slot="followStaff" class="entmicro" slot-scope="scope"> <div slot="followStaff" class="entmicro" slot-scope="scope">
<div class="entmicro-tag" v-for="(tag, idx) in followList(scope.scope.followStaff)" :key="idx"> <div class="entmicro-tag" v-for="(tag, idx) in followList(scope.scope.followStaff)" :key="idx">
<el-tag type="info" v-if="idx < 3" :disable-transitions="false"> <el-tooltip effect="dark" :content="tag" placement="top">
<el-tag type="info" class="ellipsis-1" v-if="idx < 3" :disable-transitions="false">
<i class="el-icon-user-solid"></i> <i class="el-icon-user-solid"></i>
{{ tag }} {{ tag }}
</el-tag> </el-tag>
</el-tooltip>
<el-tag type="info" v-if="followList(scope.scope.followStaff).length > 3 && idx == 3"> <el-tag type="info" v-if="followList(scope.scope.followStaff).length > 3 && idx == 3">
<el-popover placement="top" width="600" trigger="hover" content="这是一段内容,这是一段内容,这是一段内容,这是一段内容。"> <el-popover placement="top" width="600" trigger="hover" content="这是一段内容,这是一段内容,这是一段内容,这是一段内容。">
<span slot="reference">...({{ followList(scope.scope.followStaff).length }})</span> <div slot="reference">...({{ followList(scope.scope.followStaff).length }})</div>
<div class="entmicro-hover" > <div class="entmicro-hover">
<el-tag type="info" style="margin-right:10px;margin-bottom:10px;" v-for="(i, index) in followList(scope.scope.followStaff)" :key="index" :disable-transitions="false"> <el-tag type="info" style="margin-right: 10px; margin-bottom: 10px" v-for="(i, index) in followList(scope.scope.followStaff)" :key="index" :disable-transitions="false">
<i class="el-icon-user-solid" style="color:#75acff"></i> <i class="el-icon-user-solid" style="color: #75acff"></i>
<!-- {{ i.staffName }}{{ i.departmentName ? `(${i.departmentName})` : '' }} --> <!-- {{ i.staffName }}{{ i.departmentName ? `(${i.departmentName})` : '' }} -->
{{ i }} {{ i }}
</el-tag> </el-tag>
...@@ -182,7 +185,7 @@ export default { ...@@ -182,7 +185,7 @@ export default {
// btnId: new Date().getTime() + parseInt(Math.random() * 1000), // btnId: new Date().getTime() + parseInt(Math.random() * 1000),
listName: 'data', listName: 'data',
// tableOption: true, // tableOption: true,
tableOption:false, tableOption: false,
tableColumns: [ tableColumns: [
{ {
label: '客户ID', label: '客户ID',
...@@ -211,7 +214,7 @@ export default { ...@@ -211,7 +214,7 @@ export default {
label: '跟进员工', label: '跟进员工',
prop: 'followStaff', prop: 'followStaff',
addHtml: 'followStaff', addHtml: 'followStaff',
minWidth: 120 minWidth: 140
}, },
{ {
label: '来源', label: '来源',
...@@ -242,13 +245,13 @@ export default { ...@@ -242,13 +245,13 @@ export default {
width: 95 width: 95
}, },
{ {
label:'操作', label: '操作',
prop:'optionBtns', prop: 'optionBtns',
width:'80px', width: '80px',
addHtml:'optionBtns', addHtml: 'optionBtns',
fixed:'right' fixed: 'right'
} }
], ]
// tableOption: { // tableOption: {
// width: 80 // width: 80
// } // }
...@@ -291,7 +294,6 @@ export default { ...@@ -291,7 +294,6 @@ export default {
// this.searchTable() // this.searchTable()
// } // }
//接收到的数据为空 //接收到的数据为空
// if (!this.$refs.clientManage.data.length) { // if (!this.$refs.clientManage.data.length) {
// this.$refs.clientManage.setTableHeightFun() // this.$refs.clientManage.setTableHeightFun()
...@@ -447,13 +449,10 @@ export default { ...@@ -447,13 +449,10 @@ export default {
font-size: 14px; font-size: 14px;
} }
} }
// span {
// line-height: 20px;
// }
} }
.el-tag { .el-tag {
margin-right: 10px; // margin-right: 10px;
margin-bottom: 10px; max-width: 124px;
cursor: pointer; cursor: pointer;
background-color: #fff !important; background-color: #fff !important;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!