Zhiqim Master(运营管理台)是在ZhiqimManager基础上改造成用于运营思路的管理系统,增加余额,和组织结构等,开放组织管理员,可以添加组织内的部门和角色和操作员。并增加该管理台上的一些组件,如充值支付等组件。适用于二级代理管理或该大型组织机构
森中灵 最后提交于6月前 替换为8.0.5版本
main.htm4KB
<!DOCTYPE html>
<html>
<head>
<title>${context.getContextName()}</title>
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
${Styles.src(zhiqim.css)}
${Scripts.src(zhiqim.js)}
${Scripts.setContextPath(context)}
${Styles.src(zmr_theme.css)}
${Scripts.src(zmr_theme.js)}
${zhiqim_manager_console_log()}
<script>
//初始化
Z.onload(Zmr.containerMain);
Z.onload(Zmr.tabnavmain);
//窗口变动
Z(window).resize(Zmr.containerMain);
Z(window).resize(Zmr.tabnavmain);
</script>
</head>
<body>
${Htmls.toCallFrame()}
<!--顶部导航 -->
<div id="topnav" class="topnav">
<div id="logo" class="logo z-pointer z-text-left ${zhiqim_manager_logo_px} ${sessionUser.getSidebarClass()}" onclick="Z.L.href('${context.getRootPath("/"+zhiqim_manager+"/main.htm")}');">${context.getAttribute("name")}</div>
<div class="topnavleft">
<div class="bar z-w60 z-text-center z-pointer" onclick="Zmr.sidebar();"><i class="z-font z-list z-px22"></i></div>
${zhiqim_manager_topnav_left_defined()}
</div>
<div class="topnavright">
${zhiqim_manager_topnav_right_defined()}
<#if ZmrOrgDao.list(sessionUser).size() gt 1>
<div class="nav z-text-center z-pointer z-pd-l20 z-pd-r20" style="max-width:200px;" onclick="Zmr.selectOrgDialog('${zhiqim_manager}');">${ZmrOrgDao.name(sessionUser.getSelectedOrgId())}</div>
</#if>
<div class="nav z-w100 z-text-center z-pointer z-user-select-none" onclick="Z.L.reload();">刷新</div>
<div class="nav z-w100 z-text-center z-pointer z-user-select-none" onclick="Z.L.confirm('${context.getRootPath("/"+zhiqim_manager+"/logout.htm")}', '确实要退出吗?');">退出系统</div>
</div>
</div>
<!--容器开始 -->
<div id="container" class="container">
<!--边导航开始-->
<div id="sidebar" class="${sessionUser.getSidebarClass()}">
<!--顶导航-->
<#var topMenuCode = sessionUser.getSelectedTopMenuCode(request)/>
<ul class="sidebar-top">
<li class="avatar<#if topMenuCode == null> active</#if>" onclick="Z.L.href('${context.getRootPath("/"+zhiqim_manager+"/profile.htm")}');"><img class="z-bd-rd50p z-w40 z-h40" src="${sessionUser.getAvatar50()}"></li>
<#for topMenu : sessionUser.getTopMenuList()>
<#var childMenuFirst = sessionUser.getChildMenuFirst(topMenu.getMenuCode())/>
<#if childMenuFirst != null || Validates.isNotEmptyBlank(topMenu.getMenuUrl())>
<li onclick="Z.L.href('${context.getRootPath(childMenuFirst==null?topMenu.getMenuUrl():childMenuFirst.getMenuUrl())}');" <#if topMenu.getMenuCode() == topMenuCode>class="active"</#if>><i class="z-font ${topMenu.getMenuIcon()}"></i><br>#{topMenu.getMenuNameAbbr()}</li>
</#if>
</#for>
</ul>
<#var childMenuCode = sessionUser.getSelectedSecondMenuCode(request)/>
<#if childMenuCode != null && topMenuCode != null>
<#var topMenu = sessionUser.getMenu(topMenuCode)/>
<#if sessionUser.hasChildMenu(topMenu.getMenuCode())>
<!--子导航-->
<div class="sidebar-child">
<div class="info z-float-left z-text-left z-bd-b" >
<span class="z-relative z-px18 z-bold" style="line-height:32px;"><i class="z-font ${topMenu.getMenuIcon()}"></i><span class="z-mg-l10">#{topMenu.getMenuName()}</span></span><br>
</div>
<ul>
<#for childMenu : sessionUser.getChildMenuList(topMenu.getMenuCode())>
<li onclick="Z.L.href('${context.getRootPath(childMenu.getMenuUrl())}');" class="<#if childMenu.getMenuCode() == childMenuCode> active</#if>"><i class="z-font z-px16 ${childMenu.getMenuIcon()}"></i><span class="z-mg-l5">#{childMenu.getMenuName()}</span></p>
</#for>
</ul>
</div>
</#if>
</#if>
<!--边导航结束-->
</div>
<!--主体-->
<#var mainbodyLeft = 260/>
<#if topMenuCode == null || !sessionUser.hasChildMenu(topMenuCode)>
<#var mainbodyLeft = 60/>
</#if>
<#if !sessionUser.hasSidebar()>
<div id="mainbody" class="mainbody" value="${mainbodyLeft}" style="margin-left:0;">
<#elseif topMenuCode == null || !sessionUser.hasChildMenu(topMenuCode)>
<div id="mainbody" class="mainbody" value="${mainbodyLeft}" style="margin-left:60px;">
<#else>
<div id="mainbody" class="mainbody" value="${mainbodyLeft}">
</#if>
<#include include/>
</div>
<!--容器结束 -->
</div>
</body>
</html>