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.

41 lines
1.8 KiB

  1. <?php
  2. use iron\widgets\Menu;
  3. ?>
  4. <aside class="main-sidebar sidebar-dark-info elevation-4">
  5. <a href="#" class="brand-link">
  6. <img src="/img/logo.jpeg" alt="AdminLTE" class="brand-image img-circle elevation-3"
  7. style="opacity: .8">
  8. <span class="brand-text font-weight-light">AdminLTE 3</span>
  9. </a>
  10. <!-- sidebar: style can be found in sidebar.less -->
  11. <section class="sidebar">
  12. <?php
  13. echo Menu::widget([
  14. 'items' => [
  15. // ['label' => 'MAIN NAVIGATION', 'is_header' => true],
  16. ['label' => '商城管理', 'url' => '#', 'icon' => 'far fa-store', 'items' => [
  17. ['label' => '运营数据', 'url' => ['site/index', 'tag' => 'new']],
  18. ['label' => '基础配置', 'url' => ['config/index', 'tag' => 'new']],
  19. ]
  20. ],
  21. ['label' => '商品管理', 'url' => '#', 'icon' => 'far fa-archive', 'items' => [
  22. ['label' => '规格管理', 'url' => ['/antgoods/attribute/index']],
  23. ['label' => '商品列表', 'url' => ['/antgoods/goods/index']],
  24. ['label' => '后台商品分类', 'url' => ['/antgoods/category/index']],
  25. ['label' => '前端商品分类', 'url' => ['/antgoods/shopcategory/index']],
  26. ['label' => '品牌管理', 'url' => ['/antgoods/brand/index']],
  27. ['label' => '供应商管理', 'url' => ['/antgoods/supplier/index']],
  28. ]
  29. ],
  30. ['label' => '订单管理', 'url' => '#', 'icon' => 'far fa-list-alt', 'items' => [
  31. ['label' => '订单列表', 'url' => ['/order/index', 'tag' => 'new']],
  32. ]
  33. ],
  34. ]
  35. ]);
  36. ?>
  37. </section>
  38. <!-- /.sidebar -->
  39. </aside>