|
|
|
@ -62,11 +62,8 @@
|
|
|
|
|
<div class="default-bar-header">
|
|
|
|
|
<div class="bar-header-box">
|
|
|
|
|
<div class="bar-header-box__wrap flex flex-between flex-middle">
|
|
|
|
|
<div @click="onOpenHomePage">
|
|
|
|
|
<img
|
|
|
|
|
class="header-box-wrap__logo"
|
|
|
|
|
src="~/assets/img/layout/logo.png"
|
|
|
|
|
/>
|
|
|
|
|
<div class="header-box-wrap__logo" @click="onOpenHomePage">
|
|
|
|
|
<img src="~/assets/img/layout/logo.png" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="header-box-wrap__right flex flex-middle">
|
|
|
|
|
<div class="box-wrap-right__search flex">
|
|
|
|
@ -203,7 +200,10 @@ export default {
|
|
|
|
|
window.open(`${location.origin}/cart`);
|
|
|
|
|
},
|
|
|
|
|
onOpenHomePage() {
|
|
|
|
|
this.$router.push("/");
|
|
|
|
|
if (this.$route.path === "/") {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
window.open(`${location.origin}/`);
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
@ -308,7 +308,7 @@ export default {
|
|
|
|
|
@include layout-box;
|
|
|
|
|
background: #ffffff;
|
|
|
|
|
.bar-header-box__wrap {
|
|
|
|
|
height: 42px;
|
|
|
|
|
height: 40px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
margin-bottom: 38px;
|
|
|
|
|
padding-right: 50px;
|
|
|
|
|