会议联调 首页修改

This commit is contained in:
fengachen
2021-09-29 21:24:58 +08:00
parent 7b52f1bd04
commit 52583620d1
4 changed files with 126 additions and 24 deletions
+17 -5
View File
@@ -1,23 +1,35 @@
<template>
<div>
我是首页
<div class="index-home">
<img class="index-bgimg" src="../../assets/indexImgs/index-bg.png" />
</div>
</template>
<script>
import IndexRouter from '@views/dashboard/indexRouter'
export default {
name: 'Analysis',
components: {},
data() {
return {
indexStyle: 1
}
},
created() {
console.log(IndexRouter)
},
methods: {}
}
</script>
<style scoped lang="less">
.index-home {
width: 100%;
height: calc(100vh - 59px);
}
.index-bgimg {
width: 100%;
height: 100%;
}
</style>
+82
View File
@@ -0,0 +1,82 @@
const IndexRouter = [
{
redirect: null,
path: '/workTeam/WorkTeam',
component: 'workTeam/WorkTeam',
route: '4',
meta: {
icon: require('../../assets/indexImgs/workgroup.png'),
componentName: 'WorkTeam',
title: '我的工作组' // 菜单名称
},
name: 'work-team',
id: '4'
},
{
redirect: null,
path: '/mineProject/MineProject',
component: 'mineProject/MineProject',
route: '2',
meta: {
icon: require('../../assets/indexImgs/project.png'),
componentName: 'MineProject',
title: '我的项目' // 菜单名称
},
name: 'mine-project',
id: '2'
},
{
redirect: null,
path: '/meetingActivity/MeetingActivity',
component: 'meetingActivity/MeetingActivity',
route: '6',
meta: {
icon: require('../../assets/indexImgs/meeting.png'),
componentName: 'MeetingActivity',
title: '我的会议' // 菜单名称
},
name: 'meeting-activity',
id: '6'
},
{
redirect: null,
path: '/dataMember/DataMember',
component: 'dataMember/DataMember',
route: '5',
meta: {
icon: require('../../assets/indexImgs/member.png'),
componentName: 'DataMember',
title: '我的会员' // 菜单名称
},
name: 'data-member',
id: '5'
},
{
redirect: null,
path: '/dataDownload/DataDownload',
component: 'dataDownload/DataDownload',
route: '7',
meta: {
icon: require('../../assets/indexImgs/file.png'),
componentName: 'DataDownload',
title: '资料下载' // 菜单名称
},
name: 'data-download',
id: '7'
},
{
redirect: null,
path: '/mineContract/MineContract',
component: 'mineContract/MineContract',
route: '8',
meta: {
icon: require('../../assets/indexImgs/contract-manmage.png'),
componentName: 'MineContract',
title: '我的合同' // 菜单名称
},
name: 'mine-contract',
id: '8'
},
]
export default IndexRouter