插件机制完善

This commit is contained in:
2020-04-04 14:20:01 +08:00
parent 2f4386f196
commit ba37debc0e
13 changed files with 174 additions and 117 deletions

View File

@@ -13,25 +13,19 @@
<script type="text/javascript" src="__static__/plugins/jquery/jquery.min.js"></script>
<script type="text/javascript" src="__static__/plugins/layui/layui.all.js"></script>
<script src="__static__/common/js/messager.js"></script>
<script type="text/javascript">
var BASE_URL = "{:request()->domain()}"; //根目录地址
(function(){
var height = $(window).height();
if ($('#content-wrapper').height() < height) {
$('#content-wrapper').css({'minHeight':$(window).height()-80});
}
var SentCMS = window.Sent = {
"ROOT" : "__ROOT__", //当前网站地址
"APP" : "__APP__", //当前项目地址
"PUBLIC" : "__static__", //项目公共目录地址
}
})();
</script>
<script src="__static__/common/js/core.js"></script>
<!--[if lt IE 9]>
<script src="__static__/common/js/html5shiv.js"></script>
<script src="__static__/common/js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
var BASE_URL = "{:request()->domain()}"; //根目录地址
var SentCMS = window.Sent = {
"ROOT" : BASE_URL, //当前网站地址
"APP" : "__APP__", //当前项目地址
"PUBLIC" : "__static__", //项目公共目录地址
}
</script>
<script src="__static__/common/js/core.js"></script>
</head>
<body>