Compare commits

...

4 Commits

Author SHA1 Message Date
邹景立
d1480274ec 修改样式 2022-09-25 17:41:05 +08:00
邹景立
7e6d5c372e Update index.html 2022-09-25 15:15:49 +08:00
邹景立
0ba02a2f72 Update index.html 2022-09-25 15:15:04 +08:00
邹景立
320d934d86 修改样式 2022-09-25 14:08:32 +08:00
5 changed files with 10 additions and 30 deletions

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-ss 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>'},

View File

@ -12,30 +12,6 @@
// | github 代码仓库https://github.com/zoujingli/ThinkAdmin
// +----------------------------------------------------------------------
/*! 数组兼容处理 */
if (typeof Array.prototype.some !== 'function') {
Array.prototype.some = function (callable) {
for (var i in this) if (callable(this[i], i, this) === true) {
return true;
}
return false;
};
}
if (typeof Array.prototype.every !== 'function') {
Array.prototype.every = function (callable) {
for (var i in this) if (callable(this[i], i, this) === false) {
return false;
}
return true;
};
}
if (typeof Array.prototype.forEach !== 'function') {
Array.prototype.forEach = function (callable, context) {
typeof context === "undefined" ? context = window : null;
for (var i in this) callable.call(context, this[i], i, this)
};
}
/*! 应用根路径,静态插件库路径,动态插件库路径 */
var srcs = document.scripts[document.scripts.length - 1].src.split('/');
window.appRoot = srcs.slice(0, -2).join('/') + '/';

View File

@ -162,8 +162,8 @@
}
&-sm {
width: 36px;
height: 36px;
width: 40px;
height: 40px;
}
&-md {
@ -362,6 +362,10 @@ table[data-line] + div tbody {
margin-top: 4px;
}
.layui-badge-middle {
line-height: 17px;
}
&.laytable-cell-checkbox {
line-height: 44px;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long