fix: 样式调整
This commit is contained in:
BIN
src/assets/kylogo.png
Normal file
BIN
src/assets/kylogo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 183 KiB |
@@ -2,7 +2,7 @@
|
|||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
.logo {
|
.logo {
|
||||||
height: 106px;
|
height: 65px;
|
||||||
background-color: #BEA266;
|
background-color: #BEA266;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@@ -10,6 +10,13 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 10px;
|
||||||
|
& > img {
|
||||||
|
object-fit: scale-down;
|
||||||
|
width: 100%;
|
||||||
|
height: 40px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.port-link{
|
.port-link{
|
||||||
display: block;
|
display: block;
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-breadcrumb separator="/">
|
<el-breadcrumb separator="/">
|
||||||
<el-breadcrumb-item v-for="(item, index) in breadcrumbList" :key="item.path">
|
<el-breadcrumb-item v-for="(item, index) in breadcrumbList" :key="item.path">
|
||||||
<span v-if="item.meta.noRedirect || index === breadcrumbList.length-1" class="no-redirect">
|
<span v-if="item.meta.noRedirect || index === breadcrumbList.length-1" class="no-redirect font">
|
||||||
{{ item.meta.title }}
|
{{ item.meta.title }}
|
||||||
</span>
|
</span>
|
||||||
<router-link v-else :to="item.redirect || item.path">
|
<router-link class="font" v-else :to="item.redirect || item.path">
|
||||||
{{ item.meta.title }}
|
{{ item.meta.title }}
|
||||||
</router-link>
|
</router-link>
|
||||||
</el-breadcrumb-item>
|
</el-breadcrumb-item>
|
||||||
@@ -47,3 +47,9 @@ const isDashboard = (meta) => {
|
|||||||
|
|
||||||
getBreadcrumb()
|
getBreadcrumb()
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
.font {
|
||||||
|
// font-size: 18px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
@@ -15,6 +15,8 @@ const toggleClick = () => {
|
|||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.toggle{
|
.toggle{
|
||||||
line-height: 65px;
|
line-height: 65px;
|
||||||
|
border-top-left-radius: 10px;
|
||||||
|
border-bottom-left-radius: 10px;
|
||||||
padding: 0 15px;
|
padding: 0 15px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="logo" ref="logo">
|
<div class="logo" ref="logo">
|
||||||
<span v-if="!siderbarStore.isCollapse">科研管理平台</span>
|
<img src="../../assets/kylogo.png" alt="">
|
||||||
|
<!-- <span v-if="!siderbarStore.isCollapse">科研管理平台</span> -->
|
||||||
<span v-if="!siderbarStore.isCollapse"></span>
|
<span v-if="!siderbarStore.isCollapse"></span>
|
||||||
</div>
|
</div>
|
||||||
<el-scrollbar :height="`calc(100vh - ${logoHeight}px)`" style="background-color: #ffffff">
|
<el-scrollbar :height="`calc(100vh - ${logoHeight}px)`" style="background-color: #ffffff">
|
||||||
|
|||||||
Reference in New Issue
Block a user