开始整音乐播放器
This commit is contained in:
@@ -9,56 +9,57 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="layui-layout layui-layout-admin">
|
||||
<div id="header"></div>
|
||||
<div class="layui-body" style="left: 200px;">
|
||||
<div id="side"></div>
|
||||
<blockquote class="layui-elem-quote"><span id="ip">当前IP:</span></blockquote>
|
||||
<div id="footer"></div>
|
||||
</div>
|
||||
<div class="layui-layout layui-layout-admin">
|
||||
<div id="header"></div>
|
||||
<div class="layui-body" style="left: 200px;">
|
||||
<div id="side"></div>
|
||||
<blockquote class="layui-elem-quote"><span id="ip">当前IP:</span></blockquote>
|
||||
<div id="footer"></div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="/layui/layui.js"></script>
|
||||
<script src="/js/jquery-3.2.1.js"></script>
|
||||
<script>
|
||||
$.get("/login/check.do", function (data) {
|
||||
let json = JSON.parse(data);
|
||||
if (json.code != 0) {
|
||||
window.location.href = "/"
|
||||
}
|
||||
})
|
||||
layui.use(['layer', 'form', 'element'], function () {
|
||||
var layer = layui.layer
|
||||
, form = layui.form;
|
||||
|
||||
<script src="/layui/layui.js"></script>
|
||||
<script src="/js/jquery-3.2.1.js"></script>
|
||||
<script>
|
||||
$.get("/login/check.do", function (data) {
|
||||
let json = JSON.parse(data);
|
||||
if (json.code != 0) {
|
||||
window.location.href = "/"
|
||||
}
|
||||
})
|
||||
layui.use(['layer', 'form', 'element'], function () {
|
||||
var layer = layui.layer
|
||||
, form = layui.form;
|
||||
});
|
||||
$.ajax({cache: false})
|
||||
$('#header').load("/html/header.html");
|
||||
$('#footer').load("/html/footer.html");
|
||||
$('#side').load("/html/body/nas/side.html");
|
||||
$.post("/nas/getIp.do", function (data) {
|
||||
try {
|
||||
var json = JSON.parse(data);
|
||||
} catch (error) {
|
||||
window.location.href = "/"
|
||||
return
|
||||
}
|
||||
|
||||
});
|
||||
$.ajax({ cache: false })
|
||||
$('#header').load("/html/header.html");
|
||||
$('#footer').load("/html/footer.html");
|
||||
$('#side').load("/html/body/nas/side.html");
|
||||
$.post("/nas/getIp.do", function (data) {
|
||||
try {
|
||||
var json = JSON.parse(data);
|
||||
} catch (error) {
|
||||
window.location.href = "/"
|
||||
return
|
||||
}
|
||||
if (json.code != 0) {
|
||||
$('#ip').html(json.msg);
|
||||
} else {
|
||||
$('#ip').html("当前服务器IP:" + json.data);
|
||||
}
|
||||
})
|
||||
|
||||
if (json.code != 0) {
|
||||
$('#ip').html(json.msg);
|
||||
} else {
|
||||
$('#ip').html("当前服务器IP:" + json.data);
|
||||
}
|
||||
})
|
||||
</script>
|
||||
<style>
|
||||
#icon {
|
||||
float: right;
|
||||
}
|
||||
|
||||
</script>
|
||||
<style>
|
||||
#icon {
|
||||
float: right;
|
||||
}
|
||||
.body {
|
||||
bottom: 0;
|
||||
}
|
||||
</style>
|
||||
.body {
|
||||
bottom: 0;
|
||||
}
|
||||
</style>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user