Commit 2caaedc4 by 前端

更新表格样式

1 parent 77019b29
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
<template slot-scope='scope'> <template slot-scope='scope'>
<div class='activity-Name' <div class='activity-Name'
v-for='(item,index) in scope.row.viewActivityNum.map(item => item.activityName)' :key='index'> v-for='(item,index) in scope.row.viewActivityNum.map(item => item.activityName)' :key='index'>
{{ item }} <span :title='item'>{{ item }}</span>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
...@@ -124,8 +124,8 @@ ...@@ -124,8 +124,8 @@
width='170'> width='170'>
<template slot-scope='scope'> <template slot-scope='scope'>
<div class='activity-Name' <div class='activity-Name'
v-for='(item,index) in scope.row.forwardActivityNum.map(item => item.activityName)' :key='index'> v-for='(item,index) in scope.row.viewActivityNum.map(item => item.activityName)' :key='index'>
{{ item }} <span :title='item'>{{ item }}</span>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
...@@ -155,8 +155,8 @@ ...@@ -155,8 +155,8 @@
label='活动名称'> label='活动名称'>
<template slot-scope='scope'> <template slot-scope='scope'>
<div class='activity-Name' <div class='activity-Name'
v-for='(item,index) in scope.row.clueActivityNum.map(item => item.activityName)' :key='index'> v-for='(item,index) in scope.row.viewActivityNum.map(item => item.activityName)' :key='index'>
{{ item }} <span :title='item'>{{ item }}</span>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
...@@ -187,8 +187,8 @@ ...@@ -187,8 +187,8 @@
label='活动名称'> label='活动名称'>
<template slot-scope='scope'> <template slot-scope='scope'>
<div class='activity-Name' <div class='activity-Name'
v-for='(item,index) in scope.row.activationActivityNum.map(item => item.activityName)' :key='index'> v-for='(item,index) in scope.row.viewActivityNum.map(item => item.activityName)' :key='index'>
{{ item }} <span :title='item'>{{ item }}</span>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
...@@ -329,9 +329,11 @@ export default { ...@@ -329,9 +329,11 @@ export default {
grid-template-columns: repeat(auto-fill, 100px); grid-template-columns: repeat(auto-fill, 100px);
justify-content: center; justify-content: center;
border-bottom: 1px solid #606266; border-bottom: 1px solid #606266;
text-overflow:ellipsis; span{
white-space:nowrap; text-overflow:ellipsis;
overflow:hidden; white-space:nowrap;
overflow:hidden;
}
&:last-child { &:last-child {
border: none; border: none;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!