修改主页布局

This commit is contained in:
huanglinhuan
2025-12-08 13:48:54 +08:00
parent 28ca0da7ed
commit 88e8523c9d
3 changed files with 15 additions and 7 deletions

View File

@@ -17,9 +17,12 @@
.logo {
margin-right: 16px;
color: #1890ff;
text-decoration: none;
font-weight: 600;
}
.logo-img {
height: 28px;
display: block;
}
.navbar-left {
@@ -87,4 +90,3 @@
.username {
color: #666;
}

View File

@@ -31,7 +31,13 @@ const Navbar = () => {
<nav className="navbar">
<div className="navbar-inner">
<div className="navbar-left">
<Link to="/" className="logo">主页</Link>
<Link to="/" className="logo">
<img
src="http://localhost:3001/uploads/logo.svg"
alt="Logo"
className="logo-img"
/>
</Link>
<div className="nav-item">
<span className="nav-label">产品</span>

View File

@@ -12,19 +12,19 @@ const slidesData = [
id: 2,
title: '解决方案:资料管理优化',
description: '一体化资料管理平台上线提效30%',
image: 'http://localhost:3001/uploads/home_2.jpg'
image: 'http://localhost:3001/uploads/home_2.png'
},
{
id: 3,
title: '产品更新PDF在线预览',
description: '新增在线预览与多端适配功能',
image: 'http://localhost:3001/uploads/home_3.jpg'
image: 'http://localhost:3001/uploads/home_3.png'
},
{
id: 4,
title: '客户案例:数字化转型',
description: '多行业落地实践,推动数据驱动决策',
image: 'http://localhost:3001/uploads/home_4.jpg'
image: 'http://localhost:3001/uploads/home_4.png'
}
];