|
@@ -1,13 +1,15 @@
|
|
|
<template>
|
|
|
<header :style="{ backgroundColor: `${bgColor || '#fff'}` }">
|
|
|
<div class="topbar com-margin-auto com-flex com-width-1400">
|
|
|
- <nuxt-link :to="{ name: 'index' }">
|
|
|
+ <nuxt-link
|
|
|
+ :to="{ name: 'index' }"
|
|
|
+ style="max-height: 100px">
|
|
|
<img
|
|
|
v-show="websitelogo.length"
|
|
|
:src="`${websitelogo}`"
|
|
|
alt="Logo"
|
|
|
- id="logo" />
|
|
|
- </nuxt-link>
|
|
|
+ id="logo"
|
|
|
+ /></nuxt-link>
|
|
|
<div class="search-input">
|
|
|
<el-input
|
|
|
v-model="keyword"
|
|
@@ -729,7 +731,7 @@ export default {
|
|
|
(/^\/.+/.test(res.logo) ? res.logo : `/${res.logo}`)
|
|
|
: res.logo
|
|
|
this.bgColor = res.theme_color || ''
|
|
|
- this.fontColor = res.font_color || ''
|
|
|
+ this.fontColor = res.font_color || '#5EC618'
|
|
|
})
|
|
|
},
|
|
|
created() {
|
|
@@ -1032,7 +1034,7 @@ header {
|
|
|
#logo {
|
|
|
cursor: pointer;
|
|
|
// max-width: 120px;
|
|
|
- min-height: 60px;
|
|
|
+ max-height: 100px;
|
|
|
}
|
|
|
.search-input {
|
|
|
flex: 1;
|