Zhiqim Master(运营管理台)是在ZhiqimManager基础上改造成用于运营思路的管理系统,增加余额,和组织结构等,开放组织管理员,可以添加组织内的部门和角色和操作员。并增加该管理台上的一些组件,如充值支付等组件。适用于二级代理管理或该大型组织机构

森中灵 最后提交于7月前 替换为8.0.5版本
main.htm3KB
<!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.onload(Zmr.addTopMenuClick);
//窗口变动
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" onclick="Z.L.reload();">刷新</div>
        <div class="nav z-w100 z-text-center z-pointer" onclick="Z.L.confirm('${context.getRootPath("/"+zhiqim_manager+"/logout.htm")}', '确实要退出吗?');">退出系统</div>
    </div>
</div>

<!--容器开始 -->
<div id="container" class="container">

<!--边导航 -->
<div id="sidebar" class="sidebar ${sessionUser.getSidebarClass()}">
    <!--个人中心-->
    <div class="z-h80 z-pd-t15 z-pd-l15" style="border-bottom:1px solid #22282e;">
        <div class="z-float-left z-w50 z-h50 z-mg-r10"><img class="z-bd-rd50p z-w50 z-h50" src="${sessionUser.getAvatar50()}"></div>
        <div class="z-float-left z-lh25 ">
            <span class="z-px14 z-bold z-color-white">${sessionUser.getOperatorName()}</span><br>
            <a href="${context.getRootPath("/"+zhiqim_manager+"/profile.htm")}"><span class="z-color-white z-px12">个人中心</span></a>
        </div>
    </div>
    <!--栏目列表-->
<#var topMenuCode = sessionUser.getSelectedTopMenuCodeOrFirstMenuCode(request)/>
<#var childMenuCode = sessionUser.getSelectedSecondMenuCode(request)/>
<#for topMenu : sessionUser.getTopMenuList()>
<#if sessionUser.hasChildMenu(topMenu.getMenuCode())>
    <p><i class="z-font z-px18 z-mg-r5 ${topMenu.getMenuIcon()}"></i>#{topMenu.getMenuName()}<i class="z-arrow z-px5 z-gray"></i></p>
    <ul id="${topMenu.getMenuCode()}" style="display: <#if topMenu.getMenuCode() == topMenuCode>block<#else>none</#if>;">
    <#for childMenu : sessionUser.getChildMenuList(topMenu.getMenuCode())>
        <li onclick="Z.L.href('${context.getRootPath(childMenu.getMenuUrl())}');" <#if childMenu.getMenuCode() == childMenuCode>class="active"</#if>><i class="z-font z-mg-r10 ${childMenu.getMenuIcon()}"></i>#{childMenu.getMenuName()}</li>
    </#for>
    </ul>
<#elseif Validates.isNotEmptyBlank(topMenu.getMenuUrl())>
    <p onclick="Z.L.href('${context.getRootPath(topMenu.getMenuUrl())}');"><i class="z-font z-px18 z-mg-r5 ${topMenu.getMenuIcon()}"></i>#{topMenu.getMenuName()}</p>
</#if>
</#for>
</div>

<!--主体-->
<div id="mainbody" class="mainbody" style="margin-left:<#if sessionUser.hasSidebar()>200px<#else>0</#if>">
    <#include include/>
</div>

<!-- 容器结束  -->
</div>

<!--脚注-->
<div class="footer">
    <div class="footer-wrap">${zmr_copyright}</div>
</div>
</body>
</html>