1、移出游客登录显示不同首页
2、侧边导航栏增加logo
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
}
|
||||
|
||||
.cls-2 {
|
||||
fill: #333;
|
||||
<!-- fill: #333;-->
|
||||
fill: #ffffff;
|
||||
}
|
||||
|
||||
.cls-3 {
|
||||
@@ -15,7 +16,8 @@
|
||||
}
|
||||
|
||||
.cls-4 {
|
||||
fill: #595959;
|
||||
<!-- fill: #595959;-->
|
||||
fill: #ffffff;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
@@ -51,4 +53,4 @@
|
||||
<path class="cls-4" d="M743.9,161.98l6.3,16.26,6.1-16.26h3.51l-11.28,28.5h-3.47l3.55-8.37-8.17-20.13h3.47Z"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 9.1 KiB |
@@ -1,5 +1,8 @@
|
||||
<template>
|
||||
<scroll-bar>
|
||||
<div class="log-div">
|
||||
<img :src="logCross"/>
|
||||
</div>
|
||||
<el-menu mode="vertical" :default-active="$route.path" :collapse="isCollapse" background-color="#304156" text-color="#bfcbd9" active-text-color="#409EFF">
|
||||
<sidebar-item :routes="permission_routers"></sidebar-item>
|
||||
</el-menu>
|
||||
@@ -10,6 +13,7 @@
|
||||
import { mapGetters } from 'vuex'
|
||||
import SidebarItem from './SidebarItem'
|
||||
import ScrollBar from '@/components/ScrollBar'
|
||||
import logCross from '@/assets/logo/logo-text-cross.svg'
|
||||
|
||||
export default {
|
||||
components: { SidebarItem, ScrollBar },
|
||||
@@ -21,6 +25,20 @@ export default {
|
||||
isCollapse() {
|
||||
return !this.sidebar.opened
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
logCross
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.log-div{
|
||||
padding: 10px 0 5px 15px;
|
||||
img{
|
||||
height: 40px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user