2024-10-29 18:29:56 +08:00
|
|
|
<body>
|
|
|
|
<ul class="layui-nav">
|
|
|
|
<li class="layui-nav-item index"><a href="/index.html">监控大厅</a></li>
|
2024-11-01 00:15:12 +08:00
|
|
|
<li class="layui-nav-item live"><a href="/html/body/live.html">直播管理</a></li>
|
2024-10-29 18:29:56 +08:00
|
|
|
<li class="layui-nav-item video"><a href="/html/body/video.html">视频管理</a></li>
|
|
|
|
<li class="layui-nav-item data" ><a href="/html/body/data.html">数据中心</a></li>
|
|
|
|
<li class="layui-nav-item user"><a href="/html/body/user.html">用户中心</a></li>
|
|
|
|
</ul>
|
|
|
|
</body>
|
2024-11-01 18:21:57 +08:00
|
|
|
<!-- <script src="/layui/layui.js"></script> -->
|
2024-10-29 18:29:56 +08:00
|
|
|
|
|
|
|
<script>
|
|
|
|
$(".index").removeClass("layui-this")
|
2024-11-01 00:15:12 +08:00
|
|
|
$(".live").removeClass("layui-this")
|
2024-10-29 18:29:56 +08:00
|
|
|
$(".video").removeClass("layui-this")
|
|
|
|
$(".data").removeClass("layui-this")
|
|
|
|
$(".user").removeClass("layui-this")
|
|
|
|
switch(headerModel){
|
|
|
|
case 0:$(".index").addClass('layui-this');break;
|
2024-11-01 00:15:12 +08:00
|
|
|
case 1:$(".live").addClass('layui-this');break;
|
|
|
|
case 2:$(".video").addClass('layui-this');break;
|
|
|
|
case 3:$(".data").addClass('layui-this');break;
|
|
|
|
case 4:$(".user").addClass('layui-this');break;
|
2024-10-29 18:29:56 +08:00
|
|
|
}
|
|
|
|
</script>
|