diff --git a/buyer/src/components/header/Header.vue b/buyer/src/components/header/Header.vue
index 0568ae95..d83050d0 100644
--- a/buyer/src/components/header/Header.vue
+++ b/buyer/src/components/header/Header.vue
@@ -34,27 +34,18 @@
-<<<<<<< HEAD
-
我的订单
- 我的足迹
-=======
我的订单
我的足迹
我的消息
->>>>>>> dev-ryan
{{cartNum < 100 ? cartNum : '99'}}
-<<<<<<< HEAD
-
-=======
->>>>>>> dev-ryan
购物车
@@ -128,50 +119,21 @@ export default {
},
},
methods: {
-<<<<<<< HEAD
- handleClickTheme() {
- this.themeType === "light"
- ? (this.themeType = "dark")
- : (this.themeType = "light");
- window.document.documentElement.setAttribute(
- "data-theme",
- this.themeType
- );
- },
- changeCity(city) {
- this.city = city;
- },
- goToPay() {
-=======
changeCity (city) { // 选择所在城市
this.city = city;
},
goToPay () { // 跳转购物车
->>>>>>> dev-ryan
let url = this.$router.resolve({
path: "/cart",
});
window.open(url.href, "_blank");
},
-<<<<<<< HEAD
- myInfo() {
-=======
myInfo () { // 跳转会员中心
->>>>>>> dev-ryan
let url = this.$router.resolve({
path: "/home",
});
window.open(url.href, "_blank");
},
-<<<<<<< HEAD
- signOutFun() {
- storage.removeItem("accessToken");
- storage.removeItem("refreshToken");
- storage.removeItem("userInfo");
- storage.removeItem("cartNum");
- this.$store.commit("SET_CARTNUM", 0);
- this.$router.push("/login");
-=======
signOutFun () { // 退出登录
storage.removeItem('accessToken');
storage.removeItem('refreshToken');
@@ -179,7 +141,6 @@ export default {
storage.removeItem('cartNum');
this.$store.commit('SET_CARTNUM', 0)
this.$router.push('/login');
->>>>>>> dev-ryan
},
goUserCenter(path) {
// 跳转我的订单,我的足迹
@@ -410,13 +371,6 @@ export default {
.sign-out p {
font-size: 12px;
}
-<<<<<<< HEAD
-.cart-icon {
- padding: 0 6px;
-}
-=======
-
->>>>>>> dev-ryan
.goods-title:hover {
color: $theme_color;
}