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.

37 lines
1.5 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/goods/index']],
  23. ['label' => '商品分类', 'url' => ['/antgoods/category/index']],
  24. ]
  25. ],
  26. ['label' => '订单管理', 'url' => '#', 'icon' => 'far fa-list-alt', 'items' => [
  27. ['label' => '订单列表', 'url' => ['/order/index', 'tag' => 'new']],
  28. ]
  29. ],
  30. ]
  31. ]);
  32. ?>
  33. </section>
  34. <!-- /.sidebar -->
  35. </aside>