fix: 样式调整

This commit is contained in:
lilinyuan
2024-07-04 17:18:38 +08:00
parent 5c889e41c2
commit dd80659044
5 changed files with 20 additions and 4 deletions

View File

@@ -1,10 +1,10 @@
<template>
<el-breadcrumb separator="/">
<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 }}
</span>
<router-link v-else :to="item.redirect || item.path">
<router-link class="font" v-else :to="item.redirect || item.path">
{{ item.meta.title }}
</router-link>
</el-breadcrumb-item>
@@ -47,3 +47,9 @@ const isDashboard = (meta) => {
getBreadcrumb()
</script>
<style scoped lang="scss">
.font {
// font-size: 18px;
}
</style>

View File

@@ -15,6 +15,8 @@ const toggleClick = () => {
<style lang="scss" scoped>
.toggle{
line-height: 65px;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
padding: 0 15px;
cursor: pointer;
&:hover {

View File

@@ -1,6 +1,7 @@
<template>
<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>
</div>
<el-scrollbar :height="`calc(100vh - ${logoHeight}px)`" style="background-color: #ffffff">