mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
修改模板文件
This commit is contained in:
parent
20329007f5
commit
65f23f1f58
@ -19,7 +19,7 @@
|
||||
<script src="__ROOT__/static/plugs/jquery/pace.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body class="layui-layout-body layui-layout-theme-{$theme|default=''}">
|
||||
<body class="layui-layout-body layui-layout-theme-{$theme|default='default'}">
|
||||
|
||||
{block name='body'}
|
||||
<div class="layui-layout layui-layout-admin layui-layout-left-hide">
|
||||
|
@ -19,7 +19,7 @@ $(function () {
|
||||
/*! 登录界面背景切换 */
|
||||
$('[data-supersized]').each(function (i, el) {
|
||||
el.idx = 0, el.imgs = [], el.lazy = setInterval(function () {
|
||||
if (el.imgs.length > 0) return;
|
||||
if (el.imgs.length < 1) return;
|
||||
$body.css({backgroundImage: 'url(' + (el.imgs[++el.idx] || el.imgs[el.idx = 0]) + ')'});
|
||||
}, 5000) && el.dataset.supersized.split(',').forEach(function (url) {
|
||||
layui.img(url, function () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user