You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

144 lines
7.5 KiB

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
  1. <script type="text/javascript">
  2. $(document).ready(function(){
  3. $('.inactive').click(function(){
  4. var className=$(this).parents('li').parents().attr('class');
  5. if($(this).siblings('ul').css('display')=='none')
  6. {
  7. if(className=="leftmenu")
  8. {
  9. $(this).parents('li').siblings('li').children('ul').parent('li').children('a').removeClass('active');
  10. $(this).parents('li').siblings('li').children('ul').slideUp(100);
  11. $(this).parents('li').children('ul').children('li').children('ul').parent('li').children('a').removeClass('active');
  12. $(this).parents('li').children('ul').children('li').children('ul').slideUp(100);
  13. }
  14. $(this).addClass('active');
  15. $(this).siblings('ul').slideDown(100);
  16. }
  17. else
  18. {
  19. $(this).removeClass('active');
  20. $(this).siblings('ul').slideUp(100);
  21. }
  22. });
  23. $('.active').trigger("click");
  24. });
  25. </script>
  26. <style type="text/css">
  27. .list ul{padding:0;}
  28. .list ul li{background-color:#f2f2f2; border:solid 1px #E5E5E5; border-bottom:0;}
  29. .list ul li a{padding-left:20px;color:#444;display:block;height:40px;line-height:40px;position:relative;}
  30. .list ul li .inactive{background:url(/images/off.png) no-repeat 90% center;}
  31. .list ul li .active{background:url(/images/on.png) no-repeat 90% center;}
  32. .list ul li ul{display:none;padding:0;}
  33. .list ul li ul li{border-left:0; border-right:0; background-color:#fafafa; border-color:#eee;}
  34. .list ul li ul li ul{display:none;padding:0;}
  35. .list ul li ul li a{padding-left:40px;}
  36. .list ul li ul li ul li {background-color:#fff;border-color:#f2f2f2;}
  37. .last{background-color:#fff;border-color:#eee;}
  38. .list ul li ul li ul li a{color:#616161;padding-left:60px;}
  39. </style>
  40. <div class="list">
  41. <ul class="leftmenu">
  42. <li><a href="#">中国美协章程</a></li>
  43. <li><a href="#" class="inactive active">常用操作</a>
  44. <ul>
  45. <li><a href="#"><small class="glyphicon glyphicon-triangle-right"></small> 网站栏目管理</a></li>
  46. <li><a href="#"><small class="glyphicon glyphicon-triangle-right"></small> 文章列表</a></li>
  47. <li><a href="#"><small class="glyphicon glyphicon-triangle-right"></small> 未审核的文章</a></li>
  48. <li><a href="#"><small class="glyphicon glyphicon-triangle-right"></small> 发布文章</a></li>
  49. <li><a href="#"><small class="glyphicon glyphicon-triangle-right"></small> 单页文档管理</a></li>
  50. </ul>
  51. </li>
  52. <li><a href="#" class="inactive">商品管理</a>
  53. <ul>
  54. <li><a href="#">商品列表</a></li>
  55. <li><a href="#">添加商品</a></li>
  56. <li><a href="#">商品分类</a></li>
  57. </ul>
  58. </li>
  59. <li><a href="#" class="inactive">组织机构</a>
  60. <ul style="display: none">
  61. <li><a href="#" class="inactive"><small class="glyphicon glyphicon-triangle-right"></small> 美协机关</a>
  62. <ul>
  63. <li><a href="#"><small class="glyphicon glyphicon-menu-right"></small> 办公室</a></li>
  64. <li><a href="#"><small class="glyphicon glyphicon-menu-right"></small> 人事处</a></li>
  65. <li><a href="#"><small class="glyphicon glyphicon-menu-right"></small> 组联部</a></li>
  66. <li><a href="#"><small class="glyphicon glyphicon-menu-right"></small> 外联部</a></li>
  67. <li><a href="#"><small class="glyphicon glyphicon-menu-right"></small> 研究部</a></li>
  68. <li><a href="#"><small class="glyphicon glyphicon-menu-right"></small> 维权办</a></li>
  69. </ul>
  70. </li>
  71. <li><a href="#" class="inactive"><small class="glyphicon glyphicon-triangle-right"></small> 中国文联美术艺术中心</a>
  72. <ul>
  73. <li><a href="#">综合部</a></li>
  74. <li><a href="#">大型活动部</a></li>
  75. <li><a href="#">展览部</a></li>
  76. <li><a href="#">艺委会工作部</a></li>
  77. <li><a href="#">信息资源部</a></li>
  78. <li><a href="#">双年展办公室</a></li>
  79. </ul>
  80. </li>
  81. <li class="last"><a href="#"><small class="glyphicon glyphicon-triangle-right"></small> 《美术》杂志社</a></li>
  82. </ul>
  83. </li>
  84. <li><a href="#" class="inactive">组织机构</a>
  85. <ul style="display: none">
  86. <li><a href="#" class="inactive">美协机关</a>
  87. <ul>
  88. <li><a href="#">办公室</a></li>
  89. <li><a href="#">人事处</a></li>
  90. <li><a href="#">组联部</a></li>
  91. <li><a href="#">外联部</a></li>
  92. <li><a href="#">研究部</a></li>
  93. <li><a href="#">维权办</a></li>
  94. </ul>
  95. </li>
  96. <li><a href="#" class="inactive">中国文联美术艺术中心</a>
  97. <ul>
  98. <li><a href="#">综合部</a></li>
  99. <li><a href="#">大型活动部</a></li>
  100. <li><a href="#">展览部</a></li>
  101. <li><a href="#">艺委会工作部</a></li>
  102. <li><a href="#">信息资源部</a></li>
  103. <li><a href="#">双年展办公室</a></li>
  104. </ul>
  105. </li>
  106. <li class="last"><a href="#">《美术》杂志社</a></li>
  107. </ul>
  108. </li>
  109. </ul>
  110. </div>
  111. <dl class="lnav">
  112. <dt>常用操作</dt>
  113. <dd><a href="<?php echo route('admin'); ?>/category"><span class="glyphicon glyphicon-th-list"></span> 网站栏目管理</a></dd>
  114. <dd><a href="<?php echo route('admin'); ?>/article"><span class="glyphicon glyphicon-pencil"></span> 文章列表</a></dd>
  115. <dd><a href="<?php echo route('admin'); ?>/article?ischeck=1"><span class="glyphicon glyphicon-pencil"></span> 未审核的文章</a></dd>
  116. <dd><a href="<?php echo route('admin'); ?>/article/add"><span class="glyphicon glyphicon-file"></span> 发布文章</a></dd>
  117. <dd><a href="<?php echo route('admin'); ?>/page"><span class="glyphicon glyphicon-equalizer"></span> 单页文档管理</a></dd>
  118. <dt>商品管理</dt>
  119. <dd><a href="<?php echo route('admin'); ?>/product"><span class="glyphicon glyphicon-pencil"></span> 商品列表</a></dd>
  120. <dd><a href="<?php echo route('admin'); ?>/product/add"><span class="glyphicon glyphicon-file"></span> 添加商品</a></dd>
  121. <dd><a href="<?php echo route('admin'); ?>/producttype"><span class="glyphicon glyphicon-th-list"></span> 商品分类</a></dd>
  122. <dt>批量维护</dt>
  123. <dd><a href="<?php echo route('admin'); ?>/tag"><span class="glyphicon glyphicon-tag"></span> TAG标签管理</a></dd>
  124. <dd><a href="<?php echo route('admin'); ?>/searchword"><span class="glyphicon glyphicon-fire"></span> 关键词管理</a></dd>
  125. <dd><a href="<?php echo route('admin'); ?>/keyword"><span class="glyphicon glyphicon-fire"></span> 內链关键词维护</a></dd>
  126. <dd><a href="<?php echo route('admin'); ?>/friendlink"><span class="glyphicon glyphicon-leaf"></span> 友情链接</a></dd>
  127. <dd><a href="<?php echo route('admin'); ?>/slide"><span class="glyphicon glyphicon-leaf"></span> 轮播图</a></dd>
  128. <dd><a href="<?php echo route('admin'); ?>/article/repetarc"><span class="glyphicon glyphicon-cog"></span> 重复文档检测</a></dd>
  129. <dd><a href="<?php echo route('admin'); ?>/menu"><span class="glyphicon glyphicon-fire"></span> 菜单管理</a></dd>
  130. <dt>用户管理</dt>
  131. <dd><a href="<?php echo route('admin'); ?>/userrole"><span class="glyphicon glyphicon-pencil"></span> 角色管理</a></dd>
  132. <dd><a href="<?php echo route('admin'); ?>/user"><span class="glyphicon glyphicon-user"></span> 管理员</a></dd>
  133. <dt>系统设置</dt>
  134. <dd><a href="<?php echo route('admin'); ?>/sysconfig"><span class="glyphicon glyphicon-wrench"></span> 系统基本参数</a></dd>
  135. <dd><a href="<?php echo route('admin'); ?>/index/upcache"><span class="glyphicon glyphicon-refresh"></span> 更新缓存</a></dd>
  136. <dd><a href="<?php echo route('admin'); ?>/guestbook"><span class="glyphicon glyphicon-wrench"></span> 所有留言</a></dd>
  137. <dd><a href="<?php echo route('admin'); ?>/sysconfig" target="_blank"><span class="glyphicon glyphicon-book"></span> 参考文档</a></dd>
  138. <dd><a href="<?php echo route('admin'); ?>/sysconfig" target="_blank"><span class="glyphicon glyphicon-envelope"></span> 意见反馈/官方交流</a></dd>
  139. </dl>