<% var headContent = { include("/pages/template/head.html"){} }; var bodyContent = { %>
<% // 列表头部 %>
上级菜单 ${model.parentname}
菜单key ${model.urlkey}
名称 ${model.name}
链接地址 ${model.url}
状态 <% if(model.status==2) { %> 隐藏 <% } %> <% if(model.status==1) { %> 显示 <% } %>
类型 <% if(model.type==1) { %> 根目录 <% } %> <% if(model.type==2) { %> a标签 <% } %> <% if(model.type==3) { %> a标签_blank <% } %> <% if(model.type==4) { %> 外部url <% } %>
排序 ${model.sort}
 
<%}; %> <% layout("/pages/template/_layout.html",{head:headContent,body:bodyContent}){ %> <%} %>