UI界面变更-法规预警-虚拟清单-表格内容左对齐

This commit is contained in:
刘彦泽
2022-12-28 14:24:15 +08:00
parent 26a901b9f2
commit 47594359b7
4 changed files with 57 additions and 47 deletions
+10 -3
View File
@@ -21,7 +21,7 @@
:loading="loading"
>
<span slot="content" slot-scope="text,record">
<a-tooltip placement="topLeft">
<a-tooltip placement="topLeft" overlayClassName="tooltipColor">
<template slot="title">
<span v-html="text"></span>
</template>
@@ -63,14 +63,14 @@
{
title: this.$t('OperationDetails'),
dataIndex: 'logContent',
align: 'center',
align: 'left',
ellipsis: true,
scopedSlots: { customRender: 'content' }
},
{
title: this.$t('OperationTime'),
dataIndex: 'createTime',
align: 'center',
align: 'left',
ellipsis: true,
width: 180
},
@@ -121,4 +121,11 @@
text-align: right;
margin-top: 20px;
}
/deep/.tooltipColor .ant-tooltip-inner {
color: #333;
background-color: #fff !important;
}
/deep/.tooltipColor .ant-tooltip-arrow::before {
background-color: #fff;
}
</style>