|
|
@ -22,13 +22,13 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="tabbar-fixed-box__line"></div>
|
|
|
|
<div class="tabbar-fixed-box__line"></div>
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
@mouseenter="customerHover = true"
|
|
|
|
@mouseenter="messageHover = true"
|
|
|
|
@mouseleave="customerHover = false"
|
|
|
|
@mouseleave="messageHover = false"
|
|
|
|
@click="onConcatCustomer"
|
|
|
|
@click="onOpenMessagePage"
|
|
|
|
class="tabbar-fixed-box__common flex flex-middle"
|
|
|
|
class="tabbar-fixed-box__common flex flex-middle"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<span v-show="customerHover">消息通知</span>
|
|
|
|
<span v-show="messageHover">消息通知</span>
|
|
|
|
<img v-show="!customerHover" src="~/assets/img/home/icon-message.png" />
|
|
|
|
<img v-show="!messageHover" src="~/assets/img/home/icon-message.png" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div v-show="showToTop">
|
|
|
|
<div v-show="showToTop">
|
|
|
|
<div class="tabbar-fixed-box__line"></div>
|
|
|
|
<div class="tabbar-fixed-box__line"></div>
|
|
|
@ -60,7 +60,7 @@ export default {
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
appHover: false,
|
|
|
|
appHover: false,
|
|
|
|
customerHover: false,
|
|
|
|
messageHover: false,
|
|
|
|
totopHover: false,
|
|
|
|
totopHover: false,
|
|
|
|
tabBarVisible: false,
|
|
|
|
tabBarVisible: false,
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -80,10 +80,11 @@ export default {
|
|
|
|
this.tabBarVisible = true;
|
|
|
|
this.tabBarVisible = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onConcatCustomer() {
|
|
|
|
onOpenMessagePage() {
|
|
|
|
if (!this.$isLoginValidate()) {
|
|
|
|
if (!this.$isLoginValidate()) {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
window.open(`${location.origin}/account/message`);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
toPageTop() {
|
|
|
|
toPageTop() {
|
|
|
|
document.querySelector("body").scrollIntoView({ behavior: "smooth" });
|
|
|
|
document.querySelector("body").scrollIntoView({ behavior: "smooth" });
|
|
|
@ -98,6 +99,7 @@ export default {
|
|
|
|
left: 50%;
|
|
|
|
left: 50%;
|
|
|
|
top: 568px;
|
|
|
|
top: 568px;
|
|
|
|
margin-left: 630px;
|
|
|
|
margin-left: 630px;
|
|
|
|
|
|
|
|
border: 1px solid #f8f8f8;
|
|
|
|
&--change {
|
|
|
|
&--change {
|
|
|
|
margin-left: 390px;
|
|
|
|
margin-left: 390px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|