[update] 修改搜索中心bug
This commit is contained in:
@@ -7,13 +7,16 @@
|
||||
<!-- <img v-else src="~@/assets/logo.png" alt="logo">-->
|
||||
<!-- update-begin- author:sunjianlei --- date:20190814 --- for: logo颜色根据主题颜色变化 -->
|
||||
|
||||
<h1 v-if="showTitle">{{ title }}</h1>
|
||||
<img v-if="showTitle" src='../../assets/image/analysisLogo.png'/>
|
||||
<!--<img src="~@/assets/image/analysisLogo.png" alt="logo">-->
|
||||
<!--<h1 v-if="showTitle">{{ title }}</h1>-->
|
||||
</router-link>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mixin } from '@/utils/mixin.js'
|
||||
import { mapState } from 'vuex'
|
||||
|
||||
export default {
|
||||
name: 'Logo',
|
||||
@@ -21,7 +24,7 @@ export default {
|
||||
props: {
|
||||
title: {
|
||||
type: String,
|
||||
default: '研发云平台',
|
||||
default: 'SRMS',
|
||||
required: false
|
||||
},
|
||||
showTitle: {
|
||||
@@ -34,6 +37,11 @@ export default {
|
||||
type: Object,
|
||||
default: () => ({ name: 'dashboard' })
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
collapsed () {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -52,7 +60,7 @@ export default {
|
||||
background-color: transparent !important;
|
||||
|
||||
h1 {
|
||||
color: #222222 !important;
|
||||
color: @primary-color !important;
|
||||
}
|
||||
|
||||
a {
|
||||
|
||||
Reference in New Issue
Block a user