From c59e8e3c379e24e24a51e79e8eb3f93354255d6f Mon Sep 17 00:00:00 2001 From: fanshuai Date: Mon, 24 Mar 2025 22:27:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/homeView.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/home/homeView.vue b/src/views/home/homeView.vue index 9c2940b..eb7352a 100644 --- a/src/views/home/homeView.vue +++ b/src/views/home/homeView.vue @@ -34,7 +34,9 @@ export default { const prevSlide = () => { currentIndex.value = (currentIndex.value - 1 + slides.length) % slides.length } - + const geet = () => { + alert(`欢迎咨询`) + } // 自动播放 onMounted(() => { setInterval(nextSlide, 4000) @@ -45,6 +47,7 @@ export default { currentIndex, nextSlide, prevSlide, + geet, } }, } @@ -68,7 +71,7 @@ export default {
客户案例
关于我们
- 免费咨询 + 免费咨询 @@ -389,7 +392,7 @@ export default { flex-direction: column; justify-content: space-around; height: 250px; - margin-right: 300px; + background-color: #fff; width: 600px; margin-top: 50px; @@ -402,7 +405,6 @@ export default { display: flex; flex-direction: column; justify-content: space-around; - margin-right: 300px; height: 500px; margin-top: 50px; margin-left: 100px;