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;