@/** @ * 本页面所用的模板变量 @ * @ * plugins : 需要用到的插件，目前有["table","ztree","sweet-alert","laydate","layer"] @ * title : 页面的标题 @ * layoutContent : 主页面的html内容 @ * js : 业务所需要的js，为数组 @ * css : 业务所需要的css，为数组 @ * @ * 下面的需要从后台返回 @ * @ * menus : 菜单列表的集合 @ * name : 姓名 @ * avatar : 头像 @ * email : 邮箱 @ **/ @if(isNotEmpty(plugins)){ @if(array.contain(plugins,"table")){ @} @if(array.contain(plugins,"ztree")){ @} @if(array.contain(plugins,"sweet-alert")){ @} @if(array.contain(plugins,"cropper")){ @} @} @if(isNotEmpty(css)){ @for(item in css){ @if(strutil.startWith(item,"/")){ @item = item + ctxPath; @} @} @}
@include("/common/_top_header.html"){} @include("/common/_sidebar.html"){} @include("/common/_content.html"){}
@if(isNotEmpty(plugins)){ @if(array.contain(plugins,"table")){
@} @if(array.contain(plugins,"ztree")){
@} @if(array.contain(plugins,"layer")){
@} @if(array.contain(plugins,"sweet-alert")){
@} @if(array.contain(plugins,"laydate")){
@} @if(array.contain(plugins,"cropper")){
@} @} @if(isNotEmpty(js)){ @for(item in js){ @if(strutil.startWith(item,"/")){ @item = ctxPath + item; @}
@} @}