Update index.html

This commit is contained in:
邹景立 2022-09-25 15:15:04 +08:00
parent 320d934d86
commit 0ba02a2f72

View File

@ -43,8 +43,8 @@
{field: 'sort', title: '排序权重', width: 100, align: 'center', sort: true, templet: '#SortInputTpl'},
{
field: 'headimg', title: '头像', width: 60, align: 'center', templet: function (d) {
if (!d.headimg) return '';
return layui.laytpl('<div class="headimg headimg-xs margin-0" data-tips-image data-tips-hover data-lazy-src="{{d.headimg}}"></div>').render(d);
if (!d.headimg) return '-';
return layui.laytpl('<div class="headimg headimg-xs shadow-inset margin-0" data-tips-image data-tips-hover data-lazy-src="{{d.headimg}}"></div>').render(d);
}
},
{field: 'username', title: '登录账号', minWidth: 100, align: 'center', templet: '<div>{{d.username||"-"}}</div>'},