1
|
<template>
|
1
|
<template>
|
2
|
-<<<<<<< HEAD
|
|
|
3
|
- <el-row class="container">
|
|
|
4
|
- <el-col :span="24" class="header">
|
|
|
5
|
- <el-col :span="10" class="logo" :class="collapsed?'logo-collapse-width':'logo-width'">
|
|
|
6
|
- {{collapsed?'':sysName}}
|
|
|
7
|
- </el-col>
|
|
|
8
|
- <el-col :span="10">
|
|
|
9
|
- <div class="tools" @click.prevent="collapse">
|
|
|
10
|
- <i class="fa fa-align-justify"></i>
|
|
|
11
|
- </div>
|
|
|
12
|
- </el-col>
|
|
|
13
|
- <el-col :span="4" class="userinfo">
|
|
|
14
|
- <el-dropdown trigger="hover">
|
|
|
15
|
- <span class="el-dropdown-link userinfo-inner"><img :src="this.sysUserAvatar" /> {{sysUserName}}</span>
|
|
|
16
|
- <el-dropdown-menu slot="dropdown">
|
|
|
17
|
- <el-dropdown-item>我的消息</el-dropdown-item>
|
|
|
18
|
- <el-dropdown-item>设置</el-dropdown-item>
|
|
|
19
|
- <el-dropdown-item divided @click.native="logout">退出登录</el-dropdown-item>
|
|
|
20
|
- </el-dropdown-menu>
|
|
|
21
|
- </el-dropdown>
|
|
|
22
|
- </el-col>
|
|
|
23
|
- </el-col>
|
|
|
24
|
- <el-col :span="24" class="main">
|
|
|
25
|
- <aside :class="collapsed?'menu-collapsed':'menu-expanded'">
|
|
|
26
|
- <!--导航菜单-->
|
|
|
27
|
- <el-menu :default-active="$route.path" class="el-menu-vertical-demo" @open="handleopen" @close="handleclose" @select="handleselect" unique-opened router v-show="!collapsed" style="min-width: 230px" background-color="#545c64" text-color="#fff" active-text-color="#ffd04b">
|
|
|
28
|
- <template v-for="(item,index) in $router.options.routes" v-if="!item.hidden">
|
|
|
29
|
- <el-submenu :index="index+''" v-if="!item.leaf">
|
|
|
30
|
- <template slot="title"><i :class="item.iconCls"></i>{{item.name}}</template>
|
|
|
31
|
- <el-menu-item v-for="child in item.children" :index="child.path" :key="child.path" v-if="!child.hidden">{{child.name}}</el-menu-item>
|
|
|
32
|
- </el-submenu>
|
|
|
33
|
- <el-menu-item v-if="item.leaf&&item.children.length>0" :index="item.children[0].path"><i :class="item.iconCls"></i>{{item.children[0].name}}</el-menu-item>
|
|
|
34
|
- </template>
|
|
|
35
|
- </el-menu>
|
|
|
36
|
- <!--导航菜单-折叠后-->
|
|
|
37
|
- <ul class="el-menu el-menu-vertical-demo collapsed" v-show="collapsed" ref="menuCollapsed">
|
|
|
38
|
- <li v-for="(item,index) in $router.options.routes" v-if="!item.hidden" class="el-submenu item">
|
|
|
39
|
- <template v-if="!item.leaf">
|
|
|
40
|
- <div class="el-submenu__title" style="padding-left: 20px;" @mouseover="showMenu(index,true)" @mouseout="showMenu(index,false)"><i :class="item.iconCls"></i></div>
|
|
|
41
|
- <ul class="el-menu submenu" :class="'submenu-hook-'+index" @mouseover="showMenu(index,true)" @mouseout="showMenu(index,false)">
|
|
|
42
|
- <li v-for="child in item.children" v-if="!child.hidden" :key="child.path" class="el-menu-item" style="padding-left: 40px;" :class="$route.path==child.path?'is-active':''" @click="$router.push(child.path)">{{child.name}}</li>
|
|
|
43
|
- </ul>
|
|
|
44
|
- </template>
|
|
|
45
|
- <template v-else>
|
|
|
46
|
- <li class="el-submenu">
|
|
|
47
|
- <div class="el-submenu__title el-menu-item" style="padding-left: 20px;height: 56px;line-height: 56px;padding: 0 20px;" :class="$route.path==item.children[0].path?'is-active':''" @click="$router.push(item.children[0].path)"><i :class="item.iconCls"></i></div>
|
|
|
48
|
- </li>
|
|
|
49
|
- </template>
|
|
|
50
|
- </li>
|
|
|
51
|
- </ul>
|
|
|
52
|
- </aside>
|
|
|
53
|
- <section class="content-container">
|
|
|
54
|
- <div class="grid-content bg-purple-light">
|
|
|
55
|
- <el-col :span="24" class="breadcrumb-container">
|
|
|
56
|
- <strong class="title">{{$route.name}}</strong>
|
|
|
57
|
- <el-breadcrumb separator="/" class="breadcrumb-inner">
|
|
|
58
|
- <el-breadcrumb-item v-for="item in $route.matched" :key="item.path">
|
|
|
59
|
- {{ item.name }}
|
|
|
60
|
- </el-breadcrumb-item>
|
|
|
61
|
- </el-breadcrumb>
|
|
|
62
|
- </el-col>
|
|
|
63
|
- <el-col :span="24" class="content-wrapper">
|
|
|
64
|
- <transition name="fade" mode="out-in">
|
|
|
65
|
- <router-view></router-view>
|
|
|
66
|
- </transition>
|
|
|
67
|
- </el-col>
|
|
|
68
|
- </div>
|
|
|
69
|
- </section>
|
|
|
70
|
- </el-col>
|
|
|
71
|
- </el-row>
|
|
|
72
|
-=======
|
|
|
73
|
<el-row class="container">
|
2
|
<el-row class="container">
|
74
|
<el-col :span="24" class="header">
|
3
|
<el-col :span="24" class="header">
|
75
|
<el-col :span="10" class="logo" :class="collapsed?'logo-collapse-width':'logo-width'">
|
4
|
<el-col :span="10" class="logo" :class="collapsed?'logo-collapse-width':'logo-width'">
|
|
@@ -82,8 +11,7 @@ |
|
@@ -82,8 +11,7 @@ |
82
|
</el-col>
|
11
|
</el-col>
|
83
|
<el-col :span="4" class="userinfo">
|
12
|
<el-col :span="4" class="userinfo">
|
84
|
<el-dropdown trigger="hover">
|
13
|
<el-dropdown trigger="hover">
|
85
|
- <span class="el-dropdown-link userinfo-inner"><img
|
|
|
86
|
- :src="this.sysUserAvatar"/> {{sysUserName}}</span>
|
14
|
+ <span class="el-dropdown-link userinfo-inner"><img :src="this.sysUserAvatar" /> {{sysUserName}}</span>
|
87
|
<el-dropdown-menu slot="dropdown">
|
15
|
<el-dropdown-menu slot="dropdown">
|
88
|
<el-dropdown-item>我的消息</el-dropdown-item>
|
16
|
<el-dropdown-item>我的消息</el-dropdown-item>
|
89
|
<el-dropdown-item>设置</el-dropdown-item>
|
17
|
<el-dropdown-item>设置</el-dropdown-item>
|
|
@@ -95,42 +23,27 @@ |
|
@@ -95,42 +23,27 @@ |
95
|
<el-col :span="24" class="main">
|
23
|
<el-col :span="24" class="main">
|
96
|
<aside :class="collapsed?'menu-collapsed':'menu-expanded'">
|
24
|
<aside :class="collapsed?'menu-collapsed':'menu-expanded'">
|
97
|
<!--导航菜单-->
|
25
|
<!--导航菜单-->
|
98
|
- <el-menu :default-active="$route.path" class="el-menu-vertical-demo" @open="handleopen"
|
|
|
99
|
- @close="handleclose" @select="handleselect" unique-opened router v-show="!collapsed"
|
|
|
100
|
- style="min-width: 230px">
|
26
|
+ <el-menu :default-active="$route.path" class="el-menu-vertical-demo" @open="handleopen" @close="handleclose" @select="handleselect" unique-opened router v-show="!collapsed" style="min-width: 230px">
|
101
|
<template v-for="(item,index) in $router.options.routes" v-if="!item.hidden">
|
27
|
<template v-for="(item,index) in $router.options.routes" v-if="!item.hidden">
|
102
|
<el-submenu :index="index+''" v-if="!item.leaf">
|
28
|
<el-submenu :index="index+''" v-if="!item.leaf">
|
103
|
<template slot="title"><i :class="item.iconCls"></i>{{item.name}}</template>
|
29
|
<template slot="title"><i :class="item.iconCls"></i>{{item.name}}</template>
|
104
|
- <el-menu-item v-for="child in item.children" :index="child.path" :key="child.path"
|
|
|
105
|
- v-if="!child.hidden">{{child.name}}
|
|
|
106
|
- </el-menu-item>
|
30
|
+ <el-menu-item v-for="child in item.children" :index="child.path" :key="child.path" v-if="!child.hidden">{{child.name}}</el-menu-item>
|
107
|
</el-submenu>
|
31
|
</el-submenu>
|
108
|
- <el-menu-item v-if="item.leaf&&item.children.length>0" :index="item.children[0].path"><i
|
|
|
109
|
- :class="item.iconCls"></i>{{item.children[0].name}}
|
|
|
110
|
- </el-menu-item>
|
32
|
+ <el-menu-item v-if="item.leaf&&item.children.length>0" :index="item.children[0].path"><i :class="item.iconCls"></i>{{item.children[0].name}}</el-menu-item>
|
111
|
</template>
|
33
|
</template>
|
112
|
</el-menu>
|
34
|
</el-menu>
|
113
|
<!--导航菜单-折叠后-->
|
35
|
<!--导航菜单-折叠后-->
|
114
|
<ul class="el-menu el-menu-vertical-demo collapsed" v-show="collapsed" ref="menuCollapsed">
|
36
|
<ul class="el-menu el-menu-vertical-demo collapsed" v-show="collapsed" ref="menuCollapsed">
|
115
|
<li v-for="(item,index) in $router.options.routes" v-if="!item.hidden" class="el-submenu item">
|
37
|
<li v-for="(item,index) in $router.options.routes" v-if="!item.hidden" class="el-submenu item">
|
116
|
<template v-if="!item.leaf">
|
38
|
<template v-if="!item.leaf">
|
117
|
- <div class="el-submenu__title" style="padding-left: 20px;" @mouseover="showMenu(index,true)"
|
|
|
118
|
- @mouseout="showMenu(index,false)"><i :class="item.iconCls"></i></div>
|
|
|
119
|
- <ul class="el-menu submenu" :class="'submenu-hook-'+index" @mouseover="showMenu(index,true)"
|
|
|
120
|
- @mouseout="showMenu(index,false)">
|
|
|
121
|
- <li v-for="child in item.children" v-if="!child.hidden" :key="child.path"
|
|
|
122
|
- class="el-menu-item" style="padding-left: 40px;"
|
|
|
123
|
- :class="$route.path==child.path?'is-active':''" @click="$router.push(child.path)">
|
|
|
124
|
- {{child.name}}
|
|
|
125
|
- </li>
|
39
|
+ <div class="el-submenu__title" style="padding-left: 20px;" @mouseover="showMenu(index,true)" @mouseout="showMenu(index,false)"><i :class="item.iconCls"></i></div>
|
|
|
40
|
+ <ul class="el-menu submenu" :class="'submenu-hook-'+index" @mouseover="showMenu(index,true)" @mouseout="showMenu(index,false)">
|
|
|
41
|
+ <li v-for="child in item.children" v-if="!child.hidden" :key="child.path" class="el-menu-item" style="padding-left: 40px;" :class="$route.path==child.path?'is-active':''" @click="$router.push(child.path)">{{child.name}}</li>
|
126
|
</ul>
|
42
|
</ul>
|
127
|
</template>
|
43
|
</template>
|
128
|
<template v-else>
|
44
|
<template v-else>
|
129
|
<li class="el-submenu">
|
45
|
<li class="el-submenu">
|
130
|
- <div class="el-submenu__title el-menu-item"
|
|
|
131
|
- style="padding-left: 20px;height: 56px;line-height: 56px;padding: 0 20px;"
|
|
|
132
|
- :class="$route.path==item.children[0].path?'is-active':''"
|
|
|
133
|
- @click="$router.push(item.children[0].path)"><i :class="item.iconCls"></i></div>
|
46
|
+ <div class="el-submenu__title el-menu-item" style="padding-left: 20px;height: 56px;line-height: 56px;padding: 0 20px;" :class="$route.path==item.children[0].path?'is-active':''" @click="$router.push(item.children[0].path)"><i :class="item.iconCls"></i></div>
|
134
|
</li>
|
47
|
</li>
|
135
|
</template>
|
48
|
</template>
|
136
|
</li>
|
49
|
</li>
|
|
@@ -148,74 +61,24 @@ |
|
@@ -148,74 +61,24 @@ |
148
|
</el-col>
|
61
|
</el-col>
|
149
|
<el-col :span="24" class="content-wrapper">
|
62
|
<el-col :span="24" class="content-wrapper">
|
150
|
<transition name="fade" mode="out-in">
|
63
|
<transition name="fade" mode="out-in">
|
151
|
- <router-view :key="$route.path +$route.query.t"></router-view>
|
64
|
+ <router-view></router-view>
|
152
|
</transition>
|
65
|
</transition>
|
153
|
</el-col>
|
66
|
</el-col>
|
154
|
</div>
|
67
|
</div>
|
155
|
</section>
|
68
|
</section>
|
156
|
</el-col>
|
69
|
</el-col>
|
157
|
</el-row>
|
70
|
</el-row>
|
158
|
->>>>>>> bc2ec1ef193de6a4d7b7d18f1b5d08e9f5203861
|
|
|
159
|
</template>
|
71
|
</template>
|
160
|
|
72
|
|
161
|
-
|
|
|
162
|
<script>
|
73
|
<script>
|
163
|
import rt from '../routes'
|
74
|
import rt from '../routes'
|
164
|
-
|
|
|
165
|
export default {
|
75
|
export default {
|
166
|
-<<<<<<< HEAD
|
|
|
167
|
- data() {
|
|
|
168
|
- return {
|
|
|
169
|
- sysName:'后勤管理平台',
|
|
|
170
|
- collapsed:false,
|
|
|
171
|
- sysUserName: '',
|
|
|
172
|
- sysUserAvatar: '',
|
|
|
173
|
- form: {
|
|
|
174
|
- name: '',
|
|
|
175
|
- region: '',
|
|
|
176
|
- date1: '',
|
|
|
177
|
- date2: '',
|
|
|
178
|
- delivery: false,
|
|
|
179
|
- type: [],
|
|
|
180
|
- resource: '',
|
|
|
181
|
- desc: ''
|
|
|
182
|
- }
|
|
|
183
|
- }
|
|
|
184
|
- },
|
|
|
185
|
- methods: {
|
|
|
186
|
- onSubmit() {
|
|
|
187
|
- console.log('submit!');
|
|
|
188
|
- },
|
|
|
189
|
- handleopen() {
|
|
|
190
|
- console.log('handleopen');
|
|
|
191
|
- },
|
|
|
192
|
- handleclose() {
|
|
|
193
|
- console.log('handleclose');
|
|
|
194
|
- },
|
|
|
195
|
- handleselect: function (a, b) {
|
|
|
196
|
- console.log('handleselect!');
|
|
|
197
|
- },
|
|
|
198
|
- //退出登录
|
|
|
199
|
- logout: function () {
|
|
|
200
|
- var _this = this;
|
|
|
201
|
- this.$confirm('确认退出吗?', '提示', {
|
|
|
202
|
- //type: 'warning'
|
|
|
203
|
- }).then(() => {
|
|
|
204
|
- sessionStorage.removeItem('user');
|
|
|
205
|
-=======
|
|
|
206
|
-
|
|
|
207
|
- provide() {
|
|
|
208
|
- return {
|
|
|
209
|
- reload: this.reload
|
|
|
210
|
- }
|
|
|
211
|
- },
|
|
|
212
|
data() {
|
76
|
data() {
|
213
|
return {
|
77
|
return {
|
214
|
- sysName: '流浪地球管理系统',
|
|
|
215
|
- collapsed: false,
|
78
|
+ sysName:'流浪地球管理系统',
|
|
|
79
|
+ collapsed:false,
|
216
|
sysUserName: '',
|
80
|
sysUserName: '',
|
217
|
sysUserAvatar: '',
|
81
|
sysUserAvatar: '',
|
218
|
- isRouterAlive: true,
|
|
|
219
|
form: {
|
82
|
form: {
|
220
|
name: '',
|
83
|
name: '',
|
221
|
region: '',
|
84
|
region: '',
|
|
@@ -229,16 +92,6 @@ |
|
@@ -229,16 +92,6 @@ |
229
|
}
|
92
|
}
|
230
|
},
|
93
|
},
|
231
|
methods: {
|
94
|
methods: {
|
232
|
- reload() {
|
|
|
233
|
- this.$nextTick(function () {
|
|
|
234
|
- this.$router.push({
|
|
|
235
|
- path: this.$router.path,
|
|
|
236
|
- query:{
|
|
|
237
|
- t: new Date().getTime()
|
|
|
238
|
- }
|
|
|
239
|
- })
|
|
|
240
|
- })
|
|
|
241
|
- },
|
|
|
242
|
onSubmit() {
|
95
|
onSubmit() {
|
243
|
console.log('submit!');
|
96
|
console.log('submit!');
|
244
|
},
|
97
|
},
|
|
@@ -249,7 +102,7 @@ |
|
@@ -249,7 +102,7 @@ |
249
|
console.log('handleclose');
|
102
|
console.log('handleclose');
|
250
|
},
|
103
|
},
|
251
|
handleselect: function (a, b) {
|
104
|
handleselect: function (a, b) {
|
252
|
- this.reload()
|
105
|
+ console.log('handleselect!');
|
253
|
},
|
106
|
},
|
254
|
//退出登录
|
107
|
//退出登录
|
255
|
logout: function () {
|
108
|
logout: function () {
|
|
@@ -258,12 +111,11 @@ |
|
@@ -258,12 +111,11 @@ |
258
|
//type: 'warning'
|
111
|
//type: 'warning'
|
259
|
}).then(() => {
|
112
|
}).then(() => {
|
260
|
sessionStorage.removeItem('user');
|
113
|
sessionStorage.removeItem('user');
|
261
|
->>>>>>> bc2ec1ef193de6a4d7b7d18f1b5d08e9f5203861
|
|
|
262
|
sessionStorage.removeItem('menu');
|
114
|
sessionStorage.removeItem('menu');
|
263
|
|
115
|
|
264
|
//退出后初始化原来的路由
|
116
|
//退出后初始化原来的路由
|
265
|
- let sysRoutes = JSON.parse(sessionStorage.getItem('sysMenu'));
|
|
|
266
|
- // console.log(sysRoutes);
|
117
|
+ let sysRoutes = JSON.parse(sessionStorage.getItem('sysMenu'));
|
|
|
118
|
+ console.log(sysRoutes);
|
267
|
_this.$router.options.routes = sysRoutes;
|
119
|
_this.$router.options.routes = sysRoutes;
|
268
|
|
120
|
|
269
|
_this.$router.push('/login');
|
121
|
_this.$router.push('/login');
|
|
@@ -274,11 +126,11 @@ |
|
@@ -274,11 +126,11 @@ |
274
|
|
126
|
|
275
|
},
|
127
|
},
|
276
|
//折叠导航栏
|
128
|
//折叠导航栏
|
277
|
- collapse: function () {
|
|
|
278
|
- this.collapsed = !this.collapsed;
|
129
|
+ collapse:function(){
|
|
|
130
|
+ this.collapsed=!this.collapsed;
|
279
|
},
|
131
|
},
|
280
|
- showMenu(i, status) {
|
|
|
281
|
- this.$refs.menuCollapsed.getElementsByClassName('submenu-hook-' + i)[0].style.display = status ? 'block' : 'none';
|
132
|
+ showMenu(i,status){
|
|
|
133
|
+ this.$refs.menuCollapsed.getElementsByClassName('submenu-hook-'+i)[0].style.display=status?'block':'none';
|
282
|
}
|
134
|
}
|
283
|
},
|
135
|
},
|
284
|
mounted() {
|
136
|
mounted() {
|
|
@@ -294,8 +146,8 @@ |
|
@@ -294,8 +146,8 @@ |
294
|
if (userRouters) {
|
146
|
if (userRouters) {
|
295
|
userRouters = JSON.parse(userRouters);
|
147
|
userRouters = JSON.parse(userRouters);
|
296
|
_this.$router.options.routes = userRouters;
|
148
|
_this.$router.options.routes = userRouters;
|
297
|
- // console.log("home:");
|
|
|
298
|
- // console.log(_this.$router.options.routes);
|
149
|
+ console.log("home:");
|
|
|
150
|
+ console.log(_this.$router.options.routes);
|
299
|
}
|
151
|
}
|
300
|
}
|
152
|
}
|
301
|
}
|
153
|
}
|
|
@@ -310,22 +162,18 @@ |
|
@@ -310,22 +162,18 @@ |
310
|
top: 0px;
|
162
|
top: 0px;
|
311
|
bottom: 0px;
|
163
|
bottom: 0px;
|
312
|
width: 100%;
|
164
|
width: 100%;
|
313
|
-
|
|
|
314
|
.header {
|
165
|
.header {
|
315
|
height: 60px;
|
166
|
height: 60px;
|
316
|
line-height: 60px;
|
167
|
line-height: 60px;
|
317
|
background: $color-primary;
|
168
|
background: $color-primary;
|
318
|
- color: #fff;
|
|
|
319
|
-
|
169
|
+ color:#fff;
|
320
|
.userinfo {
|
170
|
.userinfo {
|
321
|
text-align: right;
|
171
|
text-align: right;
|
322
|
padding-right: 35px;
|
172
|
padding-right: 35px;
|
323
|
float: right;
|
173
|
float: right;
|
324
|
-
|
|
|
325
|
.userinfo-inner {
|
174
|
.userinfo-inner {
|
326
|
cursor: pointer;
|
175
|
cursor: pointer;
|
327
|
- color: #fff;
|
|
|
328
|
-
|
176
|
+ color:#fff;
|
329
|
img {
|
177
|
img {
|
330
|
width: 40px;
|
178
|
width: 40px;
|
331
|
height: 40px;
|
179
|
height: 40px;
|
|
@@ -335,45 +183,38 @@ |
|
@@ -335,45 +183,38 @@ |
335
|
}
|
183
|
}
|
336
|
}
|
184
|
}
|
337
|
}
|
185
|
}
|
338
|
-
|
|
|
339
|
.logo {
|
186
|
.logo {
|
340
|
//width:230px;
|
187
|
//width:230px;
|
341
|
- height: 60px;
|
188
|
+ height:60px;
|
342
|
font-size: 22px;
|
189
|
font-size: 22px;
|
343
|
- padding-left: 20px;
|
|
|
344
|
- padding-right: 20px;
|
|
|
345
|
- border-color: rgba(238, 241, 146, 0.3);
|
190
|
+ padding-left:20px;
|
|
|
191
|
+ padding-right:20px;
|
|
|
192
|
+ border-color: rgba(238,241,146,0.3);
|
346
|
border-right-width: 1px;
|
193
|
border-right-width: 1px;
|
347
|
border-right-style: solid;
|
194
|
border-right-style: solid;
|
348
|
-
|
|
|
349
|
img {
|
195
|
img {
|
350
|
width: 40px;
|
196
|
width: 40px;
|
351
|
float: left;
|
197
|
float: left;
|
352
|
margin: 10px 10px 10px 18px;
|
198
|
margin: 10px 10px 10px 18px;
|
353
|
}
|
199
|
}
|
354
|
-
|
|
|
355
|
.txt {
|
200
|
.txt {
|
356
|
- color: #fff;
|
201
|
+ color:#fff;
|
357
|
}
|
202
|
}
|
358
|
}
|
203
|
}
|
359
|
-
|
|
|
360
|
- .logo-width {
|
|
|
361
|
- width: 230px;
|
204
|
+ .logo-width{
|
|
|
205
|
+ width:230px;
|
362
|
}
|
206
|
}
|
363
|
-
|
|
|
364
|
- .logo-collapse-width {
|
|
|
365
|
- width: 60px
|
207
|
+ .logo-collapse-width{
|
|
|
208
|
+ width:60px
|
366
|
}
|
209
|
}
|
367
|
-
|
|
|
368
|
- .tools {
|
210
|
+ .tools{
|
369
|
padding: 0px 23px;
|
211
|
padding: 0px 23px;
|
370
|
- width: 14px;
|
212
|
+ width:14px;
|
371
|
height: 60px;
|
213
|
height: 60px;
|
372
|
line-height: 60px;
|
214
|
line-height: 60px;
|
373
|
cursor: pointer;
|
215
|
cursor: pointer;
|
374
|
}
|
216
|
}
|
375
|
}
|
217
|
}
|
376
|
-
|
|
|
377
|
.main {
|
218
|
.main {
|
378
|
display: flex;
|
219
|
display: flex;
|
379
|
// background: #324057;
|
220
|
// background: #324057;
|
|
@@ -381,53 +222,45 @@ |
|
@@ -381,53 +222,45 @@ |
381
|
top: 60px;
|
222
|
top: 60px;
|
382
|
bottom: 0px;
|
223
|
bottom: 0px;
|
383
|
overflow: hidden;
|
224
|
overflow: hidden;
|
384
|
-
|
|
|
385
|
aside {
|
225
|
aside {
|
386
|
- flex: 0 0 230px;
|
226
|
+ flex:0 0 230px;
|
387
|
width: 230px;
|
227
|
width: 230px;
|
388
|
// position: absolute;
|
228
|
// position: absolute;
|
389
|
// top: 0px;
|
229
|
// top: 0px;
|
390
|
// bottom: 0px;
|
230
|
// bottom: 0px;
|
391
|
- .el-menu {
|
231
|
+ .el-menu{
|
392
|
height: 100%;
|
232
|
height: 100%;
|
393
|
}
|
233
|
}
|
394
|
-
|
|
|
395
|
- .collapsed {
|
|
|
396
|
- width: 60px;
|
|
|
397
|
-
|
|
|
398
|
- .item {
|
234
|
+ .collapsed{
|
|
|
235
|
+ width:60px;
|
|
|
236
|
+ .item{
|
399
|
position: relative;
|
237
|
position: relative;
|
400
|
}
|
238
|
}
|
401
|
-
|
|
|
402
|
- .submenu {
|
|
|
403
|
- position: absolute;
|
|
|
404
|
- top: 0px;
|
|
|
405
|
- left: 60px;
|
|
|
406
|
- z-index: 99999;
|
|
|
407
|
- height: auto;
|
|
|
408
|
- display: none;
|
239
|
+ .submenu{
|
|
|
240
|
+ position:absolute;
|
|
|
241
|
+ top:0px;
|
|
|
242
|
+ left:60px;
|
|
|
243
|
+ z-index:99999;
|
|
|
244
|
+ height:auto;
|
|
|
245
|
+ display:none;
|
409
|
}
|
246
|
}
|
410
|
|
247
|
|
411
|
}
|
248
|
}
|
412
|
}
|
249
|
}
|
413
|
-
|
|
|
414
|
- .menu-collapsed {
|
|
|
415
|
- flex: 0 0 60px;
|
250
|
+ .menu-collapsed{
|
|
|
251
|
+ flex:0 0 60px;
|
416
|
width: 60px;
|
252
|
width: 60px;
|
417
|
}
|
253
|
}
|
418
|
-
|
|
|
419
|
- .menu-expanded {
|
|
|
420
|
- flex: 0 0 230px;
|
254
|
+ .menu-expanded{
|
|
|
255
|
+ flex:0 0 230px;
|
421
|
width: 230px;
|
256
|
width: 230px;
|
422
|
}
|
257
|
}
|
423
|
-
|
|
|
424
|
- .menu-expanded ul {
|
258
|
+ .menu-expanded ul{
|
425
|
width: 230px;
|
259
|
width: 230px;
|
426
|
}
|
260
|
}
|
427
|
-
|
|
|
428
|
.content-container {
|
261
|
.content-container {
|
429
|
// background: #f1f2f7;
|
262
|
// background: #f1f2f7;
|
430
|
- flex: 1;
|
263
|
+ flex:1;
|
431
|
// position: absolute;
|
264
|
// position: absolute;
|
432
|
// right: 0px;
|
265
|
// right: 0px;
|
433
|
// top: 0px;
|
266
|
// top: 0px;
|
|
@@ -435,7 +268,6 @@ |
|
@@ -435,7 +268,6 @@ |
435
|
// left: 230px;
|
268
|
// left: 230px;
|
436
|
overflow-y: scroll;
|
269
|
overflow-y: scroll;
|
437
|
padding: 20px;
|
270
|
padding: 20px;
|
438
|
-
|
|
|
439
|
.breadcrumb-container {
|
271
|
.breadcrumb-container {
|
440
|
//margin-bottom: 15px;
|
272
|
//margin-bottom: 15px;
|
441
|
.title {
|
273
|
.title {
|
|
@@ -443,12 +275,10 @@ |
|
@@ -443,12 +275,10 @@ |
443
|
float: left;
|
275
|
float: left;
|
444
|
color: #475669;
|
276
|
color: #475669;
|
445
|
}
|
277
|
}
|
446
|
-
|
|
|
447
|
.breadcrumb-inner {
|
278
|
.breadcrumb-inner {
|
448
|
float: right;
|
279
|
float: right;
|
449
|
}
|
280
|
}
|
450
|
}
|
281
|
}
|
451
|
-
|
|
|
452
|
.content-wrapper {
|
282
|
.content-wrapper {
|
453
|
background-color: #fff;
|
283
|
background-color: #fff;
|
454
|
box-sizing: border-box;
|
284
|
box-sizing: border-box;
|
|
@@ -456,4 +286,4 @@ |
|
@@ -456,4 +286,4 @@ |
456
|
}
|
286
|
}
|
457
|
}
|
287
|
}
|
458
|
}
|
288
|
}
|
459
|
-</style> |
289
|
+</style> |