SourceCode/jiouosdp/Views/Shared/menu.cshtml
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@{
Layout = "~/Views/Shared/master.cshtml";
ViewBag.Title = @RenderSection("title", true);
}
@section title{@ViewBag.Title}
@using RFrameGenerate.BLL
@using RFramework;
@{
PermissionManage permissionManage = new PermissionManage();
}
<style>
.navtitle:hover
{
background-color: #EAF3FB;
}
</style>
<script type="text/javascript">
$(function () {
$('.navtitle').click(function () {
//$(this).children('.arrow');
if ($(this).children('span:last').hasClass('arrow-unfold') == true) {
$(this).children('span:last').removeClass('arrow-unfold');
$(this).children('span:last').addClass('arrow-fold');
}
else {
$(this).children('span:last').removeClass('arrow-fold');
$(this).children('span:last').addClass('arrow-unfold');
}
$(this).next().slideToggle(200);
return false;
});
});
</script>
<div>
<div id="center-left">
<div class="page-sidebar" style="height: 400px;">
<ul class="page-sidebar-menu">
@if (permissionManage.IsPermission(typeof(PCode.SystemManage)))
{
<li class="">
<a href="javascript:;" class="navtitle">
<i class="icon-briefcase"></i>
<span class="title">系统管理</span>
<span class="arrow-unfold "></span>
</a>
<ul class="sub-menu">
@if (permissionManage.IsPermission(PCode.SystemManage.UserRole))
{
<li><a href="/Systems/SysUserRole/Index">用户角色管理</a></li>
}
@if (permissionManage.IsPermission(PCode.SystemManage.RolePermission))
{
<li><a href="/Systems/SysRolePermission/Index">角色权限管理</a></li>
}
</ul>
</li>
}
</ul>
后面还有 105 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。