This commit is contained in:
杨黄林
2023-09-07 18:19:24 +08:00
parent fe28fc5623
commit 5e7c4511f8
3 changed files with 74 additions and 15 deletions

View File

@@ -3,12 +3,6 @@ html, body {
word-break: break-all;
}
header .title {
padding: 10px 15px;
line-height: 40px;
font-size: 25px;
}
section {
padding: 15px 15px 0 15px;
}

View File

@@ -634,7 +634,19 @@ $(function () {
}
var langLoading = layui.layer.load()
$.getJSON('/lang').done(langLoaded).always(function () {
$.getJSON('/lang').done(function (lang){
var html = layui.laytpl($('#userList').html()).render();
$('#layuiBody').html(html);
langLoaded(lang);
}).always(function () {
layui.layer.close(langLoading);
});
// $.ajax({
// url:'http://127.0.0.1:7500/api/serverinfo',
// dataType:'jsonp',
// success:function (result){
// console.log(result)
// }
// });
});