kelly520010 3 years ago
parent
commit
075ba03dd0
2 changed files with 8 additions and 3 deletions
  1. 5
    0
      src/data/menuData.ts
  2. 3
    3
      src/layout/index.vue

+ 5
- 0
src/data/menuData.ts View File

children: [{ children: [{
title: '用户信息查询及变更服务', title: '用户信息查询及变更服务',
path: 'userQueryChange', path: 'userQueryChange',
icon:'User',
children: [] children: []
}, { }, {
title: '车辆信息查询及变更服务', title: '车辆信息查询及变更服务',
path: 'vehicleEnquirChange', path: 'vehicleEnquirChange',
icon:'Van',
children: [] children: []
}, { }, {
title: '签约信息查询服务', title: '签约信息查询服务',
path: 'signingQuery', path: 'signingQuery',
icon:'Tickets',
children: [] children: []
}, { }, {
title: '卡片信息查询服务', title: '卡片信息查询服务',
path: 'cardQueries', path: 'cardQueries',
icon:'Postcard',
children: [] children: []
}, { }, {
title: 'OBU信息查询服务', title: 'OBU信息查询服务',
path: 'OBUQuery', path: 'OBUQuery',
icon:'Link',
children: [] children: []
}] }]
}, },

+ 3
- 3
src/layout/index.vue View File



<!-- 菜单主体部分 --> <!-- 菜单主体部分 -->
<div style="height: 100%;background-color: #FFFFFF;"> <div style="height: 100%;background-color: #FFFFFF;">
<el-scrollbar>
<el-menu :default-active="menuIndex.menuIndex" mode="vertical" :router="false" @select="select"
<el-scrollbar height="100%">
<el-menu :default-active="menuIndex.menuIndex" width="280" mode="vertical" :router="false" @select="select"
:collapse="!menuStart.menuIsExpansion" class="el-menu-vertical-demo"> :collapse="!menuStart.menuIsExpansion" class="el-menu-vertical-demo">
<SidebarItem :list="list" /> <SidebarItem :list="list" />
</el-menu> </el-menu>


<style lang="scss" scoped> <style lang="scss" scoped>
.el-menu-vertical-demo:not(.el-menu--collapse) { .el-menu-vertical-demo:not(.el-menu--collapse) {
width: 240px;
width: 248px;
min-height: 400px; min-height: 400px;
} }



Loading…
Cancel
Save