mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-07-25 15:35:10 +08:00
Compare commits
4 Commits
84442d5e62
...
d1480274ec
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d1480274ec | ||
|
|
7e6d5c372e | ||
|
|
0ba02a2f72 | ||
|
|
320d934d86 |
@ -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>'},
|
||||
|
||||
@ -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('/') + '/';
|
||||
|
||||
@ -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
Loading…
x
Reference in New Issue
Block a user