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.

51 lines
2.4 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-box', 'items' => [
  22. ['label' => '后台商品分类', 'url' => ['/goods/category/index']],
  23. ['label' => '规格管理', 'url' => ['/goods/attribute/index']],
  24. ['label' => '前端商品分类', 'url' => ['/goods/shop-category/index']],
  25. ['label' => '品牌管理', 'url' => ['/goods/brand/index']],
  26. ['label' => '供应商管理', 'url' => ['/goods/supplier/index']],
  27. ['label' => '商品列表', 'url' => ['/goods/goods/index']],
  28. ]
  29. ],
  30. ['label' => '订单管理', 'url' => '#', 'icon' => 'far fa-list-alt', 'items' => [
  31. ['label' => '订单列表', 'url' => ['/shop/order/index', 'tag' => 'new']],
  32. ],
  33. ],
  34. ['label' => '配送服务', 'url' => '#', 'icon' => 'far fa-shipping-fast', 'items' => [
  35. ['label' => '上门自提', 'url' => ['/shop/taking-site/index']],
  36. ['label' => '运费模板', 'url' => ['/shop/express-template/index']],
  37. ]
  38. ],
  39. ['label' => '售后管理', 'url' => '#', 'icon' => 'far fa-retweet', 'items' => [
  40. ['label' => '售后管理', 'url' => ['/shop/after-sale/index']],
  41. ['label' => '评论', 'url' => ['/shop/comment/index']],
  42. ]
  43. ],
  44. ]
  45. ]);
  46. ?>
  47. </section>
  48. <!-- /.sidebar -->
  49. </aside>