63 lines
2.9 KiB
HTML
63 lines
2.9 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="zh-CN">
|
||
|
{php}
|
||
|
$jsVersion = '0.0.1';
|
||
|
$cssVersion = '0.0.1';
|
||
|
if(!isset($categoryId)) {
|
||
|
$categoryId = $category['id'] ?? 0;
|
||
|
}
|
||
|
if(!isset($_token) || empty($_token)) {
|
||
|
$_token = session('_token') ?? '';
|
||
|
}
|
||
|
{/php}
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
|
<title>后台管理系统</title>
|
||
|
<meta name="keywords" content="" />
|
||
|
<meta name="description" content="" />
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
||
|
<meta name="csrf-token" id="token" content="{$_token}">
|
||
|
<link rel="stylesheet" href="__MANAGER__/layui/css/layui.css">
|
||
|
<link rel="stylesheet" href="__MANAGER__/css/ocms.css?v={$cssVersion}">
|
||
|
<link rel="stylesheet" href="__MANAGER__/wangEditor/wangEditor.min.css">
|
||
|
<link rel="stylesheet" href="__MANAGER__/codemirror/codemirror.css">
|
||
|
<script type="text/javascript" src="__COMMON__/jquery-3.4.1.min.js"></script>
|
||
|
<script type="text/javascript" src="__MANAGER__/layui/layui.all.js"></script>
|
||
|
<script type="text/javascript" src="__MANAGER__/wangEditor/wangEditor.min.js"></script>
|
||
|
<script type="text/javascript" src="__MANAGER__/extend/jquery-ui.js"></script>
|
||
|
<script type="text/javascript" src="__MANAGER__/codemirror/codemirror.js"></script>
|
||
|
<script type="text/javascript" src="__MANAGER__/codemirror/xml.js"></script>
|
||
|
<script type="text/javascript" src="__MANAGER__/codemirror/javascript.js"></script>
|
||
|
<script type="text/javascript" src="__MANAGER__/codemirror/css.js"></script>
|
||
|
<script type="text/javascript" src="__MANAGER__/codemirror/htmlmixed.js"></script>
|
||
|
</head>
|
||
|
<body id="body" class="layui-layout-body">
|
||
|
<div class="layui-layout layui-layout-admin">
|
||
|
<div class="layui-header">
|
||
|
<div class="layui-nav layui-layout-left">
|
||
|
• {:widget('manager.crumbs/index' , ['category_id' => $categoryId])}
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="menu-fold"></div>
|
||
|
<div class="layui-side layui-bg-black layui-side-menu ">
|
||
|
<div class="layui-side-scroll ">
|
||
|
<div class="layui-logo">
|
||
|
<img src="__MANAGER__/image/icon_head.png" >
|
||
|
<div>
|
||
|
<p>{$member.userName}</p>
|
||
|
<a href="{:url('manager.logout/index')}">退出登录</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
{:widget('manager.menu/left',['category_id' => $categoryId])}
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="layui-body">
|
||
|
<div class="layui-row layui-fluid">
|
||
|
{__CONTENT__}
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<script type="text/javascript" src="__MANAGER__/js/ocms.js?v={$jsVersion}"></script>
|
||
|
</body>
|
||
|
</html>
|