Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/H5/shehong-vehicle-supervision
| | |
| | | <div class="menu w100 bgColor1">
|
| | | <div v-for="(item, index) in routesList" :key="index" class="flex a-center h100">
|
| | | <div v-for="(item2, index2) in item.children" :key="index2" class="h100">
|
| | | <div v-if="!item2.hide" class="flex a-center h100 px--40 menuItemHover pointer"
|
| | | <div @click="$router.push(item2.path)" v-if="!item2.hide"
|
| | | class="flex a-center h100 px--40 menuItemHover pointer"
|
| | | :class="item2.path == $route.path && 'bgColor2'">
|
| | | <img :src="require(`@/assets/routerIcon/${item2.icon}.png`)"
|
| | | <img v-if="item2.meta.icon" :src="require(`@/assets/routerIcon/${item2.meta.icon}.png`)"
|
| | | class="w--15 h--15 mr--12 shrink0" />
|
| | | <div class="color1">
|
| | | {{ item2.title }}
|
| | | {{ item2.meta.title }}
|
| | | </div>
|
| | | </div>
|
| | | </div>
|
| | |
| | | {
|
| | | path: '/home',
|
| | | component: () => import('@/view/home'),
|
| | | title: '首页',
|
| | | icon: 'home'
|
| | | meta: {
|
| | | title: '首页',
|
| | | icon: 'home'
|
| | | }
|
| | | },
|
| | | ]
|
| | | },
|
| | | {
|
| | | path: '/early-warning',
|
| | | component: () => import('@/view/early-warning'),
|
| | | meta: {
|
| | | title: '报警记录',
|
| | | icon: 'home'
|
| | | }
|
| | | component: Layout,
|
| | | children: [
|
| | | {
|
| | | path: '/early-warning',
|
| | | component: () => import('@/view/early-warning'),
|
| | | meta: {
|
| | | title: '报警记录',
|
| | | icon: 'alarm'
|
| | | }
|
| | | }
|
| | | ]
|
| | | },
|
| | | {
|
| | | path: '/complaint',
|
| | | component: () => import('@/view/complaint/index'),
|
| | | meta: {
|
| | | title: '投诉记录'
|
| | | }
|
| | | } |
| | | |
| | | component: Layout,
|
| | | children: [
|
| | | {
|
| | | path: '/complaint',
|
| | | component: () => import('@/view/complaint/index'),
|
| | | meta: {
|
| | | title: '投诉记录',
|
| | | icon: 'complaint'
|
| | | }
|
| | | }
|
| | | ]
|
| | | }
|
| | |
|
| | | ]
|