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)" > -
+
热门分类
@@ -152,6 +152,7 @@ export default { .tab-category__label { width: 190px; height: 100%; + padding-left: 41px; background: linear-gradient(270deg, #ffa25a 0%, #ff7f39 100%); border-radius: 4px 4px 0px 0px; font-weight: bold; diff --git a/layouts/module/header/HeaderInfoBar.vue b/layouts/module/header/HeaderInfoBar.vue index e9265f5..8d49f49 100644 --- a/layouts/module/header/HeaderInfoBar.vue +++ b/layouts/module/header/HeaderInfoBar.vue @@ -196,6 +196,10 @@ export default { display: none !important; } } +.header-info-bar__popover { + padding: 22px !important; + margin-top: 8px !important; +}