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.
47 lines
2.1 KiB
47 lines
2.1 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-box', 'items' => [
|
|
['label' => '后台商品分类', 'url' => ['/goods/category/index']],
|
|
['label' => '规格管理', 'url' => ['/goods/attribute/index']],
|
|
['label' => '前端商品分类', 'url' => ['/goods/shop-category/index']],
|
|
['label' => '品牌管理', 'url' => ['/goods/brand/index']],
|
|
['label' => '供应商管理', 'url' => ['/goods/supplier/index']],
|
|
['label' => '商品列表', 'url' => ['/goods/goods/index']],
|
|
]
|
|
],
|
|
['label' => '订单管理', 'url' => '#', 'icon' => 'far fa-list-alt', 'items' => [
|
|
['label' => '订单列表', 'url' => ['/shop/order/index', 'tag' => 'new']],
|
|
],
|
|
],
|
|
['label' => '配送服务', 'url' => '#', 'icon' => 'far fa-shipping-fast', 'items' => [
|
|
['label' => '上门自提', 'url' => ['/shop/taking-site/index']],
|
|
['label' => '运费模板', 'url' => ['/shop/express-template/index']],
|
|
]
|
|
],
|
|
|
|
]
|
|
]);
|
|
?>
|
|
</section>
|
|
<!-- /.sidebar -->
|
|
</aside>
|