Commit b9a12568 by 无尘

fix: 修改分配参数

parent eddbd266
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-09-17 17:52:38
* @LastEditTime: 2020-09-18 09:41:30
-->
<template>
<div class="customer-assign-wrap">
......@@ -62,14 +62,14 @@
</el-dropdown>
</template>
</el-table-column>
<el-table-column label="会员姓名" width="120" show-overflow-tooltip>
<el-table-column label="会员姓名" width="160px" show-overflow-tooltip>
<template slot-scope="scope">
<div class="flex common-table-user">
<div class="flex flex-align-center flex-pack-center common-table-photo">
<img v-if="scope.row.headUrl" :src="scope.row.headUrl" alt="img" />
<img v-else src="../../../assets/member.png" alt="img" />
</div>
<div class="common-table-text">
<div class="common-table-text hide-ellipsis">
<div class="font-14 color-606266 hide-ellipsis">{{ scope.row.memberName || '--' }}</div>
<div class="font-12 color-909399 hide-ellipsis">{{ scope.row.cardNo || '--' }}</div>
</div>
......@@ -763,6 +763,7 @@ export default {
.common-table-user {
.common-table-photo {
width: 40px;
min-width: 40px;
max-width: 40px;
max-height: 40px;
border-radius: 2px;
......@@ -774,14 +775,14 @@ export default {
border-radius: 2px;
}
}
.hide-ellipsis {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.common-table-text {
padding-left: 10px;
box-sizing: border-box;
.hide-ellipsis {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
......
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