File: /www/wwwroot/www.fpngv.com/application/admin/view/index_layout.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>报表管理系统</title>
<meta name="author" content="YZNCMS">
<link rel="stylesheet" href="__STATIC__/libs/layui/css/layui.css">
<link rel="stylesheet" href="__STATIC__/admin/css/admin.css?v={$Think.config.version.yzncms_release}">
<link rel="stylesheet" href="__STATIC__/common/font/iconfont.css?v={$Think.config.version.yzncms_release}">
<script src="__STATIC__/libs/layui/layui.js"></script>
<script src="__STATIC__/libs/jquery/jquery.min.js"></script>
<script type="text/javascript">
//全局变量
var GV = {
'site':{$site|raw|json_encode},
'image_upload_url': '{$image_upload_url ? $image_upload_url : url("attachment/upload/upload", ["dir" => "images", "module" => request()->module()])}',
'file_upload_url': '{$file_upload_url ? $file_upload_url : url("attachment/upload/upload", ["dir" => "files", "module" => request()->module()])}',
'jcrop_upload_url': '{$jcrop_upload_url ? $jcrop_upload_url : url("attachment/Attachments/cropper")}',
'ueditor_upload_url': '{$ueditor_upload_url ? $ueditor_upload_url : url("attachment/upload/upload", ["dir" => "images","from"=>"ueditor", "module" => request()->module()])}',
'ueditor_grabimg_url': '{$ueditor_upload_url ? $ueditor_upload_url : url("attachment/Attachments/geturlfile")}',
'image_select_url': '{$image_select_url ? $image_select_url : url("attachment/Attachments/select")}',
'filter_word_url': '{$filter_word_url ? $filter_word_url : url("admin/ajax/filterWord")}',
};
</script>
</head>
<body class="childrenBody {:defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''}">
{block name="main"}主内容{/block}
{block name="layui"}
{include file='admin@layui' /}
{/block}
{block name="script"}{/block}
</body>
</html>