From 6feb650f0620ce3568b67e02c58662c8efbe201d Mon Sep 17 00:00:00 2001 From: Yer <17633066053@163.com> Date: Fri, 14 Jul 2023 13:42:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96Buyer=E7=AB=AF=E5=B1=95?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buyer/src/components/advertising/FixedTop.vue | 2 +- buyer/src/components/indexDecorate/modelList/Carousel.vue | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/buyer/src/components/advertising/FixedTop.vue b/buyer/src/components/advertising/FixedTop.vue index 0a2d686d..2c9b012b 100644 --- a/buyer/src/components/advertising/FixedTop.vue +++ b/buyer/src/components/advertising/FixedTop.vue @@ -24,7 +24,7 @@ export default { .advertising { height: 80px; width: 100%; - background-color: $theme_color; + text-align: center; overflow: hidden; position: relative; diff --git a/buyer/src/components/indexDecorate/modelList/Carousel.vue b/buyer/src/components/indexDecorate/modelList/Carousel.vue index 01605a74..8050fdb4 100644 --- a/buyer/src/components/indexDecorate/modelList/Carousel.vue +++ b/buyer/src/components/indexDecorate/modelList/Carousel.vue @@ -154,7 +154,8 @@ export default { methods: { // 快捷跳转中心 entryControl(val) { - this.$router.push(val.path) + let url = this.$router.resolve(val.path); + window.open(url.href, '_blank'); }, }, mounted() {