<div class="layui-table-cell" title="{$v.name}" style="width: 200px; height: 20px; overflow: hidden; display: block; text-overflow: ellipsis; white-space: nowrap; cursor: pointer;"> {$v.name} </div>
layui的html设置超出部分隐藏,鼠标移上去显示全部
最新推荐文章于 2024-07-15 16:57:08 发布