1
1
<template >
2
- <div >
2
+ <div class = " nav " >
3
3
<el-menu :default-active =" activeIndex" class =" el-menu-demo" mode =" horizontal" >
4
4
<el-row :gutter =" 1" >
5
5
<el-col :xs =" 6" :sm =" 6" :md =" 4" :lg =" 4" :xl =" 4" >
6
6
<div class =" grid-content" >
7
7
<el-menu-item index =" 1" >
8
- <router-link :to =" {name: 'index'}" >首页</router-link >
8
+ <router-link :to =" {name: 'index'}" >公交- 首页</router-link >
9
9
</el-menu-item >
10
10
</div >
11
11
</el-col >
12
12
<el-col :xs =" 6" :sm =" 6" :md =" 4" :lg =" 4" :xl =" 4" >
13
13
<div class =" grid-content" >
14
14
<el-menu-item index =" 3" >
15
- <router-link :to =" {name: 'echarts '}" >图表 </router-link >
15
+ <router-link :to =" {name: 'out '}" class = " login " >中文排版 </router-link >
16
16
</el-menu-item >
17
17
</div >
18
18
</el-col >
19
19
<el-col :xs =" 6" :sm =" 6" :md =" 4" :lg =" 4" :xl =" 4" >
20
20
<div class =" grid-content" >
21
21
<el-menu-item index =" 4" >
22
- <router-link :to =" {path: '/login'}" >用户中心</router-link >
22
+ <router-link :to =" {name: 'excel'}" class =" login" >在线表格 Excel</router-link >
23
+ </el-menu-item >
24
+ </div >
25
+ </el-col >
26
+ <el-col :xs =" 6" :sm =" 6" :md =" 4" :lg =" 4" :xl =" 4" >
27
+ <div class =" grid-content" >
28
+ <el-menu-item index =" 4" >
29
+ <router-link :to =" {name: 'upload'}" class =" login" >图片转文字</router-link >
23
30
</el-menu-item >
24
31
</div >
25
32
</el-col >
26
33
<el-col :xs =" 6" :sm =" 6" :md =" 4" :lg =" 4" :xl =" 4" >
27
34
<div class =" grid-content" >
28
35
<el-submenu index =" 2" >
29
- <template slot="title">常用工具</template >
30
- <el-menu-item index =" 2-1" class =" sub" >
31
- <router-link :to =" {name: 'out'}" class =" login" >中文排版</router-link >
32
- </el-menu-item >
33
- <el-menu-item index =" 2-2" >
34
- <router-link :to =" {name: 'md'}" class =" login" >markdown</router-link >
35
- </el-menu-item >
36
+ <template slot="title">其它工具</template >
36
37
<el-menu-item index =" 2-2" >
37
- <router-link :to =" {name: 'excel '}" class =" login" >在线表格 </router-link >
38
+ <router-link :to =" {name: 'md '}" class =" login" >Markdown </router-link >
38
39
</el-menu-item >
39
40
<el-menu-item index =" 2-2" >
40
- <router-link :to =" {name: 'upload '}" class = " login " >图片转文字 </router-link >
41
+ <router-link :to =" {name: 'echarts '}" >图表 </router-link >
41
42
</el-menu-item >
42
43
</el-submenu >
43
44
</div >
44
45
</el-col >
45
- <el-col :xs =" 6" :sm =" 6" :md =" 0" :lg =" 0" :xl =" 0" />
46
+ <!-- < el-col :xs="6" :sm="6" :md="0" :lg="0" :xl="0"/> -- >
46
47
</el-row >
47
48
</el-menu >
48
49
</div >
@@ -60,6 +61,18 @@ export default {
60
61
</script >
61
62
62
63
<style scoped>
64
+ .nav {
65
+ padding-left : 0 ;
66
+ margin-bottom : 20px ;
67
+ list-style : none
68
+ }
69
+ .nav :after , .nav :before {
70
+ display :table ;
71
+ content :" "
72
+ }
73
+ .nav :after {
74
+ clear :both
75
+ }
63
76
.el-row {
64
77
/* margin-bottom: 20px;*/
65
78
height : 50px ;
0 commit comments