Watch 2 Star 3 Fork 1

读心印 / qadmin

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
基于layui的后台模板 spread retract

Clone or download
web_cache.html 2.92 KB
Copy Edit Web IDE Raw Blame History
读心印 authored 2019-05-13 15:57 . readme
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>后台首页 - QAdmin后台模板</title>
<link rel="stylesheet" href="./static/common/layui/css/layui.css">
<link rel="stylesheet" href="./static/admin/css/style.css">
<script src="./static/common/layui/layui.js"></script>
<script src="./static/common/jquery-3.3.1.min.js"></script>
<script src="./static/common/vue.min.js"></script>
</head>
<body>
<div id="app">
<!--顶栏-->
<header>
<h1 v-text="webname"></h1>
<div class="breadcrumb">
<i class="layui-icon">&#xe715;</i>
<ul>
<li v-for="vo in address">
<a v-text="vo.name" :href="vo.url" ></a> <span>/</span>
</li>
</ul>
</div>
</header>
<div class="main" id="app">
<!--左栏-->
<div class="left">
<ul class="cl" >
<!--顶级分类-->
<li v-for="vo,index in menu" :class="{hidden:vo.hidden}">
<a href="javascript:;" :class="{active:vo.active}" @click="onActive(index)">
<i class="layui-icon" v-html="vo.icon"></i>
<span v-text="vo.name"></span>
<i class="layui-icon arrow" v-show="vo.url.length==0">&#xe61a;</i> <i v-show="vo.active" class="layui-icon active">&#xe623;</i>
</a>
<!--子级分类-->
<div v-for="vo2,index2 in vo.list">
<a href="javascript:;" :class="{active:vo2.active}" @click="onActive(index,index2)" v-text="vo2.name"></a>
<i v-show="vo2.active" class="layui-icon active">&#xe623;</i>
</div>
</li>
</ul>
</div>
<!--右侧-->
<div class="right">
<script type="text/javascript">
layui.use('layer',function(){
layer.msg('<h2>清除成功</h2> <p id="">页面自动 <a id="href" href="index.html">跳转</a> 等待时间: <b id="wait">3</b></p> ', {icon: 1,shade:0.5});
})
!(function run(wait){
if(wait <= 0) {
location.href = "index.html";
}else{
wait--;
setTimeout(function(){
document.getElementById("wait").innerHTML = wait;
run(wait);
},1000);
}
})(3);
</script>
</div>
</div>
</div>
<script src="./static/admin/js/config.js"></script>
<script src="./static/admin/js/script.js"></script>
<script type="text/javascript">
delCache();
</script>
</body>
</html>

Comment ( 0 )

Sign in for post a comment

1
https://gitee.com/flash127/qadmin.git
git@gitee.com:flash127/qadmin.git
flash127
qadmin
qadmin
master

Help Search