2021-04-01 14:44:02 +08:00
|
|
|
<!DOCTYPE html>
|
2024-10-29 18:29:43 +08:00
|
|
|
<html lang="zh-CN">
|
2021-04-01 14:44:02 +08:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
|
|
|
<title>DD监视器</title>
|
|
|
|
<link rel="stylesheet" href="/layui/css/layui.css">
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div id="header"></div>
|
2024-10-29 18:29:43 +08:00
|
|
|
<button id="btn" type="button" class="layui-btn" onclick="onButton()">默认按钮</button>
|
2021-04-01 14:44:02 +08:00
|
|
|
|
|
|
|
<script src="/layui/layui.js"></script>
|
|
|
|
<script src="/js/jquery-3.2.1.js"></script>
|
2024-10-29 18:29:43 +08:00
|
|
|
<script src="/js/CommonConfig.js"></script>
|
|
|
|
<script src="/js/httpUtils.js"></script>
|
2021-04-01 14:44:02 +08:00
|
|
|
<script>
|
2024-10-29 18:29:43 +08:00
|
|
|
headerModel=0;
|
2021-04-01 14:44:02 +08:00
|
|
|
$('#header').load("/html/header.html");
|
|
|
|
</script>
|
2024-10-29 18:29:43 +08:00
|
|
|
<script>
|
|
|
|
function onButton(){
|
|
|
|
getLiveVideoList({
|
|
|
|
success:function(json){
|
|
|
|
console.log(json)
|
|
|
|
},
|
|
|
|
error:function(error){
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
}
|
|
|
|
</script>
|
2021-04-01 14:44:02 +08:00
|
|
|
<style>
|
2024-10-29 18:29:43 +08:00
|
|
|
|
2021-04-01 14:44:02 +08:00
|
|
|
</style>
|
|
|
|
</html>
|