1 Star 0 Fork 129

jeesd/kit_admin

forked from besteasyteam/kit_admin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
spa.html 7.04 KB
一键复制 编辑 原始数据 按行查看 历史
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>KIT ADMIN</title>
<link rel="stylesheet" href="./plugins/layui/css/layui.css" media="all">
<link rel="stylesheet" href="./plugins/font-awesome/css/font-awesome.min.css" media="all">
<link rel="stylesheet" href="./build/css/app.css" media="all">
<link rel="stylesheet" href="./build/css/themes/default.css" media="all">
</head>
<body class="kit-theme">
<div class="layui-layout layui-layout-admin kit-layout-admin">
<div class="layui-header">
<div class="layui-logo">KIT ADMIN</div>
<div class="layui-logo kit-logo-mobile">K</div>
<ul class="layui-nav layui-layout-left kit-nav">
<li class="layui-nav-item"><a href="javascript:;">控制台</a></li>
<li class="layui-nav-item"><a href="javascript:;">商品管理</a></li>
<li class="layui-nav-item"><a href="javascript:;" id="pay"><i class="fa fa-gratipay" aria-hidden="true"></i> 捐赠我</a></li>
<li class="layui-nav-item">
<a href="javascript:;">其它系统</a>
<dl class="layui-nav-child">
<dd><a href="javascript:;">邮件管理</a></dd>
<dd><a href="javascript:;">消息管理</a></dd>
<dd><a href="javascript:;">授权管理</a></dd>
</dl>
</li>
</ul>
<ul class="layui-nav layui-layout-right kit-nav">
<li class="layui-nav-item">
<a href="javascript:;">
<img src="http://m.zhengjinfan.cn/images/0.jpg" class="layui-nav-img"> Van
</a>
<dl class="layui-nav-child">
<dd><a href="javascript:;" kit-target data-options="{url:'basic.html',icon:'&#xe658;',title:'基本资料',id:'966'}"><span>基本资料</span></a></dd>
<dd><a href="javascript:;">安全设置</a></dd>
</dl>
</li>
<li class="layui-nav-item"><a href="javascript:;"><i class="fa fa-sign-out" aria-hidden="true"></i> 注销</a></li>
</ul>
</div>
<div class="layui-side layui-bg-black kit-side">
<div class="layui-side-scroll">
<div class="kit-side-fold"><i class="fa fa-navicon" aria-hidden="true"></i></div>
<!-- 左侧导航区域(可配合layui已有的垂直导航) -->
<ul class="layui-nav layui-nav-tree" lay-filter="kitNavbar" kit-navbar>
<li class="layui-nav-item layui-nav-itemed">
<a class="" href="javascript:;"><i class="fa fa-plug" aria-hidden="true"></i><span> 基本元素</span></a>
<dl class="layui-nav-child">
<dd>
<a href="javascript:;" kit-target data-options="{url:'table.html',icon:'&#xe6c6;',title:'表格',id:'1'}">
<i class="layui-icon">&#xe6c6;</i><span> 表格</span></a>
</dd>
<dd>
<a href="javascript:;" data-url="ztree.html" data-icon="&#xe628;" data-title="ZTree" kit-target data-id='2'><i class="layui-icon">&#xe628;</i><span> ZTree</span></a>
</dd>
<dd>
<a href="javascript:;" data-url="page2.html" data-icon="&#xe628;" data-title="页面2" kit-target data-id='3'><i class="layui-icon">&#xe628;</i><span> 页面2</span></a>
</dd>
<dd>
<a href="javascript:;" data-url="page3.html" data-icon="&#xe614;" data-title="页面3" kit-target data-id='4'><i class="layui-icon">&#xe614;</i><span> 页面3</span></a>
</dd>
<dd>
<a href="javascript:;" kit-target data-options="{url:'page4.html',icon:'&#xe658;',title:'页面4',id:'5'}"><i class="layui-icon">&#xe658;</i><span> 页面4</span></a>
</dd>
</dl>
</li>
<li class="layui-nav-item">
<a href="javascript:;"><i class="fa fa-plug" aria-hidden="true"></i><span> 组件</span></a>
<dl class="layui-nav-child">
<dd><a href="javascript:;" kit-target data-options="{url:'page5.html',icon:'&#xe658;',title:'页面5',id:'6'}"><i class="layui-icon">&#xe658;</i><span> 页面5</span></a></dd>
<dd><a href="javascript:;" kit-target data-options="{url:'page6.html',icon:'&#xe658;',title:'页面6',id:'7'}"><i class="layui-icon">&#xe658;</i><span> 页面6</span></a></dd>
<dd><a href="javascript:;" kit-target data-options="{url:'page7.html',icon:'&#xe658;',title:'页面7',id:'50'}"><i class="layui-icon">&#xe658;</i><span> 页面7</span></a></dd>
<dd><a href="javascript:;" kit-target data-options="{url:'page8.html',icon:'&#xe658;',title:'页面8',id:'8'}"><i class="layui-icon">&#xe658;</i><span> 页面8</span></a></dd>
</dl>
</li>
</ul>
</div>
</div>
<div class="layui-body" id="container">
<!-- 内容主体区域 -->
<!-- <div style="padding: 15px;"><i class="layui-icon layui-anim layui-anim-rotate layui-anim-loop">&#xe63e;</i> 请稍等...</div> -->
<div style="padding: 15px;">点击左侧菜单加载...</div>
</div>
<div class="layui-footer">
<!-- 底部固定区域 -->
2017 &copy;
<a href="http://kit.zhengjinfan.cn/">kit.zhengjinfan.cn/</a> MIT license
</div>
</div>
<script type="text/javascript">
var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cspan id='cnzz_stat_icon_1264021086'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s22.cnzz.com/z_stat.php%3Fid%3D1264021086%26show%3Dpic1' type='text/javascript'%3E%3C/script%3E"));
</script>
<script src="./plugins/layui/layui.js"></script>
<script>
layui.config({
base: 'build/js/',
version: '1.0.2'
}).use(['app', 'message'], function() {
var app = layui.app,
$ = layui.jquery,
layer = layui.layer;
//主入口
app.set({
type: 'spa'
}).init();
$('#pay').on('click', function() {
layer.open({
title: false,
type: 1,
content: '<img src="/build/images/pay.png" />',
area: ['500px', '250px'],
shadeClose: true
});
});
});
</script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/jeesd/kit_admin.git
git@gitee.com:jeesd/kit_admin.git
jeesd
kit_admin
kit_admin
master

搜索帮助