|
|
@ -58,7 +58,7 @@
|
|
|
|
<div class="header-wrap-content--line"></div>
|
|
|
|
<div class="header-wrap-content--line"></div>
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
class="header-wrap-content__common flex flex-middle"
|
|
|
|
class="header-wrap-content__common flex flex-middle"
|
|
|
|
@click="onJumpPersonalPage('order')"
|
|
|
|
@click="onJumpPersonalPage('order/list')"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<img src="@/static/images/layout/icon-order.png" />
|
|
|
|
<img src="@/static/images/layout/icon-order.png" />
|
|
|
|
<span>我的订单</span>
|
|
|
|
<span>我的订单</span>
|
|
|
@ -116,10 +116,10 @@ export default {
|
|
|
|
handleCommandClick(event) {
|
|
|
|
handleCommandClick(event) {
|
|
|
|
switch (event) {
|
|
|
|
switch (event) {
|
|
|
|
case MENU_VALUE.PERSONAL:
|
|
|
|
case MENU_VALUE.PERSONAL:
|
|
|
|
this.$router.push("/account");
|
|
|
|
this.$router.push("/account/userInfo");
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case MENU_VALUE.ADDRESS:
|
|
|
|
case MENU_VALUE.ADDRESS:
|
|
|
|
this.$router.push("/account");
|
|
|
|
this.$router.push("/account/address");
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case MENU_VALUE.LOGON_OUT:
|
|
|
|
case MENU_VALUE.LOGON_OUT:
|
|
|
|
this.$store.commit("setLoginOut");
|
|
|
|
this.$store.commit("setLoginOut");
|
|
|
@ -127,8 +127,11 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
// 跳转个人中心页面
|
|
|
|
// 跳转个人中心页面
|
|
|
|
onJumpPersonalPage(type) {
|
|
|
|
onJumpPersonalPage(path) {
|
|
|
|
this.$router.push(`/account?type=${type}`);
|
|
|
|
if (!this.$isLoginValidate()) {
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
this.$router.push(`/account/${path}`);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
|