feat: 成功案例滑动效果优化 - 鼠标悬停暂停,移开继续滚动

This commit is contained in:
leisileken
2026-06-25 16:18:16 +08:00
6 changed files with 21 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ const isMenuOpen = ref(false)
const isScrolled = ref(false)
const navItems = [
{ name: '首页', path: '/' },
{ name: '首页', path: '/home' },
{ name: '产品中心', path: '/products' },
{ name: '解决方案', path: '/solutions' },
{ name: '关于我们', path: '/about' },
@@ -42,7 +42,7 @@ onUnmounted(() => {
>
<div class="container mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex items-center justify-between h-16 lg:h-20">
<div class="flex items-center space-x-3 cursor-pointer" @click="router.push('/')">
<div class="flex items-center space-x-3 cursor-pointer" @click="router.push('/home')">
<img src="/images/logo.jpg" alt="云阶智元" class="w-10 h-10 rounded-lg object-cover" />
<div>
<span