You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.4 KiB
64 lines
1.4 KiB
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
|
<title></title>
|
|
<link rel="stylesheet" href="./component/pear/css/pear.css" />
|
|
<link rel="stylesheet" href="./admin/css/admin.css" />
|
|
</head>
|
|
|
|
<body class="pear-container" style="overflow-y: hidden;">
|
|
<div class="layui-row layui-col-space10">
|
|
<div class="layui-col-md12">
|
|
<div class="layui-card">
|
|
<div class="layui-card-body">
|
|
<div id="contents"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src="./component/layui/layui.js"></script>
|
|
<script src="./component/pear/pear.js"></script>
|
|
<script>
|
|
layui.use(['admin', 'layer', 'form',
|
|
'element', 'tab', 'jquery'
|
|
], function () {
|
|
var layer = layui.layer,
|
|
tab1 = layui.tab,
|
|
$ = layui.jquery,
|
|
admin = layui.admin,
|
|
form = layui.form;
|
|
|
|
admin.setConfigType("yml");
|
|
admin.setConfigPath("./config/pear.config.yml");
|
|
|
|
tab1.render({
|
|
elem: 'contents',
|
|
preload: true,
|
|
roll: false,
|
|
tool: false,
|
|
width: '100%',
|
|
height: '95%',
|
|
index: 0,
|
|
session: true,
|
|
tabMax: 30,
|
|
data: [{
|
|
id: "page2",
|
|
title: "高级",
|
|
url: "./taskManageList.html",
|
|
close: false
|
|
}, {
|
|
id: "page1",
|
|
title: "中级",
|
|
url: "./formTemplateList.html",
|
|
close: false
|
|
}]
|
|
});
|
|
|
|
admin.render();
|
|
});
|
|
</script>
|
|
</body>
|
|
|
|
</html> |