diff --git a/layouts/module/header/HeaderCart.vue b/layouts/module/header/HeaderCart.vue index 710caba..cc5da56 100644 --- a/layouts/module/header/HeaderCart.vue +++ b/layouts/module/header/HeaderCart.vue @@ -145,13 +145,13 @@ export default { }, methods: { onJumpGoodsDetail(id) { - this.$router.push(`/goods/detail/${id}`); + window.open(`${location.origin}/goods/detail/${id}`); }, onJumCartPage() { if (!this.$isLoginValidate()) { return; } - this.$router.push("/cart"); + window.open(`${location.origin}/cart`); }, }, }; @@ -178,10 +178,9 @@ export default { border-radius: 50%; color: #ffffff; margin-left: 4px; - padding-top: 2px; &--more { width: unset; - padding: 2px 5px 0 4px; + padding: 1px 5px 0 4px; border-radius: 7px; } } diff --git a/layouts/module/header/HeaderCategory.vue b/layouts/module/header/HeaderCategory.vue index c775f7c..cb8273d 100644 --- a/layouts/module/header/HeaderCategory.vue +++ b/layouts/module/header/HeaderCategory.vue @@ -7,7 +7,7 @@ @mouseenter="handleCategoryChange(true)" @mouseleave="handleCategoryChange(false)" > -