mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update index.html
This commit is contained in:
parent
00be9af56e
commit
c435eb19b1
@ -61,22 +61,3 @@
|
||||
{empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name='script'}
|
||||
<script>
|
||||
(function (layers) {
|
||||
$('body').off('click', '[data-tips-desc]').on('click', '[data-tips-desc]', function () {
|
||||
return layers.push(layer.tips($(this).find('textarea').html(), this, {tips: 3, time: 0, maxWidth: 500})), false;
|
||||
}).off('click', '.layui-body').on('click', '.layui-body', function () {
|
||||
layers.forEach(function (value, index) {
|
||||
layer.close(value), delete layers[index];
|
||||
});
|
||||
});
|
||||
$(window).on('hashchange', function () {
|
||||
layers.forEach(function (value, index) {
|
||||
layer.close(value), delete layers[index];
|
||||
});
|
||||
});
|
||||
})([]);
|
||||
</script>
|
||||
{/block}
|
||||
|
Loading…
x
Reference in New Issue
Block a user