修改了logo错乱问题
This commit is contained in:
parent
b746c3f05c
commit
c16bb6b8fc
BIN
public/assets/img/mzlogob.png
Normal file
BIN
public/assets/img/mzlogob.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 58 KiB |
BIN
public/assets/img/mzlogoh.png
Normal file
BIN
public/assets/img/mzlogoh.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
@ -6,7 +6,7 @@
|
|||||||
<!-- <a href="#"> -->
|
<!-- <a href="#"> -->
|
||||||
<a href="https://www.aimzhu.com">
|
<a href="https://www.aimzhu.com">
|
||||||
<!-- <img src="/assets/img/footerlogo1.png" alt=""> -->
|
<!-- <img src="/assets/img/footerlogo1.png" alt=""> -->
|
||||||
<img src="/assets/img/footerlogo22.png" alt="">
|
<img src="/assets/img/mzlogob.png" alt="">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-right-content">
|
<div class="box-right-content">
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
|
|
||||||
<li><router-link to="/HomePage" replace @click="activateHomePage" :class="{ activeHomePage: $route.path === '/HomePage' }">首页</router-link></li>
|
<li><router-link to="/HomePage" replace @click="activateHomePage" :class="{ activeHomePage: $route.path === '/HomePage' }">首页</router-link></li>
|
||||||
<li><router-link to="/ShouFei" @click="activate" :class="{ active: $route.path === '/ShouFei' }">收费介绍</router-link></li>
|
<li><router-link to="/ShouFei" @click="activate" :class="{ active: $route.path === '/ShouFei' }">收费介绍</router-link></li>
|
||||||
<li><router-link to="/AppDZSoftware" @click="activate" :class="{ active: $route.path === '/AppDZSoftware' }">App电子软著</router-link></li>
|
<!-- <li><router-link to="/AppDZSoftware" @click="activate" :class="{ active: $route.path === '/AppDZSoftware' }">App电子软著</router-link></li>
|
||||||
<li><router-link to="/TM" @click="activate" :class="{ active: $route.path === '/TM' }">商标注册</router-link></li>
|
<li><router-link to="/TM" @click="activate" :class="{ active: $route.path === '/TM' }">商标注册</router-link></li> -->
|
||||||
<li><router-link to="/KeFu" @click="activate" :class="{ active: $route.path === '/KeFu' }">客服中心</router-link></li>
|
<li><router-link to="/KeFu" @click="activate" :class="{ active: $route.path === '/KeFu' }">客服中心</router-link></li>
|
||||||
<li><router-link to="/ZhengShu" @click="activate" :class="{ active: $route.path === '/ZhengShu' }">证书展示</router-link></li>
|
<li><router-link to="/ZhengShu" @click="activate" :class="{ active: $route.path === '/ZhengShu' }">证书展示</router-link></li>
|
||||||
<!-- <li><router-link to="/DaiLiShang" @click="activate" :class="{ active: $route.path === '/DaiLiShang' }">代理商展示</router-link></li> -->
|
<!-- <li><router-link to="/DaiLiShang" @click="activate" :class="{ active: $route.path === '/DaiLiShang' }">代理商展示</router-link></li> -->
|
||||||
@ -53,7 +53,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
// logoSrc: '/src/assets/img/headicon1.png',
|
// logoSrc: '/src/assets/img/headicon1.png',
|
||||||
// logoSrc: '/assets/img/headicon1.png',
|
// logoSrc: '/assets/img/headicon1.png',
|
||||||
logoSrc: '/assets/img/headicon21.png',
|
logoSrc: '/assets/img/mzlogoh.png',
|
||||||
isFixed: false,
|
isFixed: false,
|
||||||
shouldReloadHomePage: false, // 添加标志,用于判断是否需要刷新首页
|
shouldReloadHomePage: false, // 添加标志,用于判断是否需要刷新首页
|
||||||
// isHomePage: true, // 用于跟踪是否在首页
|
// isHomePage: true, // 用于跟踪是否在首页
|
||||||
@ -74,7 +74,7 @@ export default {
|
|||||||
activateHomePage() {
|
activateHomePage() {
|
||||||
this.isFixed = false; // 重置为默认样式
|
this.isFixed = false; // 重置为默认样式
|
||||||
// this.logoSrc = '/assets/img/headicon1.png';
|
// this.logoSrc = '/assets/img/headicon1.png';
|
||||||
this.logoSrc = '/assets/img/headicon21.png';
|
this.logoSrc = '/assets/img/mzlogoh.png';
|
||||||
this.phoneIcon = '/assets/img/nav-phone1.png';
|
this.phoneIcon = '/assets/img/nav-phone1.png';
|
||||||
// his.shouldReloadHomePage = true; // 设置刷新标志
|
// his.shouldReloadHomePage = true; // 设置刷新标志
|
||||||
// 如果当前不是在首页,则设置标志以刷新
|
// 如果当前不是在首页,则设置标志以刷新
|
||||||
@ -89,7 +89,7 @@ export default {
|
|||||||
activate() {
|
activate() {
|
||||||
this.isFixed = true; // 激活固定样式
|
this.isFixed = true; // 激活固定样式
|
||||||
// this.logoSrc = '/assets/img/headicon2.png';
|
// this.logoSrc = '/assets/img/headicon2.png';
|
||||||
this.logoSrc = '/assets/img/headicon21.png';
|
this.logoSrc = '/assets/img/mzlogoh.png';
|
||||||
this.phoneIcon = '/assets/img/nav-phone2.png';
|
this.phoneIcon = '/assets/img/nav-phone2.png';
|
||||||
},
|
},
|
||||||
handleScroll() {
|
handleScroll() {
|
||||||
@ -99,11 +99,11 @@ export default {
|
|||||||
|
|
||||||
if(window.scrollY > 0) {
|
if(window.scrollY > 0) {
|
||||||
// this.logoSrc = '/assets/img/headicon2.png';
|
// this.logoSrc = '/assets/img/headicon2.png';
|
||||||
this.logoSrc = '/assets/img/headicon21.png';
|
this.logoSrc = '/assets/img/mzlogoh.png';
|
||||||
this.phoneIcon = '/assets/img/nav-phone2.png';
|
this.phoneIcon = '/assets/img/nav-phone2.png';
|
||||||
} else {
|
} else {
|
||||||
// this.logoSrc = '/assets/img/headicon1.png';
|
// this.logoSrc = '/assets/img/headicon1.png';
|
||||||
this.logoSrc = '/assets/img/headicon21.png';
|
this.logoSrc = '/assets/img/mzlogoh.png';
|
||||||
this.phoneIcon = '/assets/img/nav-phone1.png';
|
this.phoneIcon = '/assets/img/nav-phone1.png';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user