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.
40 lines
1.6 KiB
40 lines
1.6 KiB
<?php
|
|
|
|
use iron\widgets\Menu;
|
|
|
|
?>
|
|
<aside class="main-sidebar sidebar-dark-info elevation-4">
|
|
<a href="#" class="brand-link">
|
|
<img src="/img/logo.jpeg" alt="AdminLTE" class="brand-image img-circle elevation-3"
|
|
style="opacity: .8">
|
|
<span class="brand-text font-weight-light">AdminLTE 3</span>
|
|
</a>
|
|
<!-- sidebar: style can be found in sidebar.less -->
|
|
<section class="sidebar">
|
|
<?php
|
|
echo Menu::widget([
|
|
'items' => [
|
|
// ['label' => 'MAIN NAVIGATION', 'is_header' => true],
|
|
['label' => '商城管理', 'url' => '#', 'icon' => 'far fa-store', 'items' => [
|
|
['label' => '运营数据', 'url' => ['site/index', 'tag' => 'new']],
|
|
['label' => '基础配置', 'url' => ['config/index', 'tag' => 'new']],
|
|
]
|
|
],
|
|
['label' => '商品管理', 'url' => '#', 'icon' => 'far fa-archive', 'items' => [
|
|
['label' => '商品列表', 'url' => ['/antgoods/goods/index']],
|
|
['label' => '后台商品分类', 'url' => ['/antgoods/category/index']],
|
|
['label' => '前端商品分类', 'url' => ['/antgoods/shopcategory/index']],
|
|
['label' => '品牌管理', 'url' => ['/antgoods/brand/index']],
|
|
]
|
|
],
|
|
['label' => '订单管理', 'url' => '#', 'icon' => 'far fa-list-alt', 'items' => [
|
|
['label' => '订单列表', 'url' => ['/order/index', 'tag' => 'new']],
|
|
]
|
|
],
|
|
|
|
]
|
|
]);
|
|
?>
|
|
</section>
|
|
<!-- /.sidebar -->
|
|
</aside>
|