图片路径绑定:
其中d代表的就是服务器返回的数据,ImgUrl是数据对应的字段名,运行后页面图片会显示不完全
加入样式调整
.layui-table-cell { text-align: center; height: auto; white-space: normal; } .layui-table img { max- 50px; }
修改后页面图片
原文链接:https://www.html.cn/framework/layui/18682.html