This commit is contained in:
cun-nan 2024-07-30 09:38:24 +08:00
parent 37b6b1287b
commit 5ac1a12698
3 changed files with 32 additions and 15 deletions

View File

@ -86,12 +86,12 @@ export const constantRoutes = [
name: 'Index',
meta: { title: '系统首页', icon: 'dashboard', affix: true }
},
{
path: 'resource_oilstore',
component: () => import('@/views/index'),
name: 'Index',
meta: { title: '系统首页', icon: 'dashboard', affix: true }
}
// {
// path: 'resource_oilstore',
// component: () => import('@/views/index'),
// name: 'Index',
// meta: { title: '系统首页', icon: 'dashboard', affix: true }
// }
]
},
{

View File

@ -109,9 +109,9 @@
<img src="@/assets/menu_icon/jigou.png" v-if="!activeMenu.includes('/Site') && !activeMenu.includes('/Service')" style="width: 21px;height: 21px;"/>
<img src="@/assets/menu_icon/jigou_b.png" v-else style="width: 21px;height: 21px;"/>
</span>
<span style="margin-right: 10px;" v-if="item.meta.title=='小程序设置'">
<img src="@/assets/menu_icon/apple.png" v-if="!activeMenu.includes('/indexBanner')" style="width: 21px;height: 21px;"/>
<img src="@/assets/menu_icon/apple_b.png" v-else style="width: 21px;height: 21px;"/>
<span style="margin-right: 10px;" v-if="item.meta.title=='系统设置'">
<img src="@/assets/menu_icon/setting.png" v-if="!activeMenu.includes('/indexBanner')" style="width: 21px;height: 21px;"/>
<img src="@/assets/menu_icon/setting_b.png" v-else style="width: 21px;height: 21px;"/>
</span>
<span style="margin-right: 10px;" v-if="item.meta.title=='门店管理'">
<img src="@/assets/menu_icon/shouye.png" v-if="!activeMenu.includes(item.path) && !activeMenu.includes('/staff') && !activeMenu.includes('/feedBack') && !activeMenu.includes('/duty')" style="width: 25px;height: 25px;"/>
@ -149,6 +149,10 @@
<img src="@/assets/menu_icon/setting.png" v-if="!activeMenu.includes('/system')" style="width: 25px;height: 25px;"/>
<img src="@/assets/menu_icon/setting_b.png" v-else style="width: 25px;height: 25px;"/>
</span>
<span style="margin-right: 10px;" v-if="item.meta.title=='运营数据'">
<img src="@/assets/menu_icon/yunying.png" v-if="!activeMenu.includes('/financialStatement')" style="width: 21px;height: 21px;"/>
<img src="@/assets/menu_icon/yunying_b.png" v-else style="width: 21px;height: 21px;"/>
</span>
<div style="padding: 0px;line-height: 5px">{{item.meta.title}}</div>
</div>

View File

@ -67,14 +67,27 @@ export const constantRoutes = [
name: 'Index',
meta: { title: '系统首页', icon: 'dashboard', affix: true }
},
{
path: 'resource_oilbank',
component: () => import('@/views/Service/index.vue'),
name: 'Index',
meta: { title: '系统首页', icon: 'dashboard', affix: true }
}
// {
// path: 'resource_oilbank',
// component: () => import('@/views/Service/index.vue'),
// name: 'Index',
// meta: { title: '系统首页', icon: 'dashboard', affix: true }
// }
]
},
// {
// path: 'resource_oilbank',
// component: Layout,
// redirect: 'index',
// children: [
// {
// path: '',
// component: () => import('@/views/Service/index.vue'),
// name: 'Index',
// meta: { title: '系统首页', icon: 'dashboard', affix: true }
// },
// ]
// },
{
path: '/account',
component: Layout,