Commit 5fb8543f by 李长胜

多行省略

1 parent aa72fe22
...@@ -123,8 +123,8 @@ border-color: #1989FA!important; ...@@ -123,8 +123,8 @@ border-color: #1989FA!important;
/* 表格行内容高度自适应 */ /* 表格行内容高度自适应 */
.layui-table-cell{ .layui-table-cell{
height: auto; height: auto;
overflow: visible; /* overflow: visible;
text-overflow: inherit; text-overflow: inherit; */
white-space: normal; white-space: normal;
/* 高度最多四行,超出省略号结尾 */ /* 高度最多四行,超出省略号结尾 */
/* display: -webkit-box; /* display: -webkit-box;
...@@ -132,6 +132,10 @@ border-color: #1989FA!important; ...@@ -132,6 +132,10 @@ border-color: #1989FA!important;
line-clamp: 4; line-clamp: 4;
overflow: hidden; overflow: hidden;
word-break: break-all; */ word-break: break-all; */
overflow: hidden;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
display: -webkit-box;
} }
.layui-table-cell li{ .layui-table-cell li{
list-style: disc; list-style: disc;
......
...@@ -239,7 +239,7 @@ ...@@ -239,7 +239,7 @@
field: 'merchantAddress', field: 'merchantAddress',
title: '商户地址', title: '商户地址',
align: 'center', align: 'center',
width: 180 width: 160
}, { }, {
field: 'createdTime', field: 'createdTime',
title: '更新时间', title: '更新时间',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!