修改主页布局
This commit is contained in:
@@ -17,9 +17,12 @@
|
|||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
margin-right: 16px;
|
margin-right: 16px;
|
||||||
color: #1890ff;
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: 600;
|
}
|
||||||
|
|
||||||
|
.logo-img {
|
||||||
|
height: 28px;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-left {
|
.navbar-left {
|
||||||
@@ -87,4 +90,3 @@
|
|||||||
.username {
|
.username {
|
||||||
color: #666;
|
color: #666;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,13 @@ const Navbar = () => {
|
|||||||
<nav className="navbar">
|
<nav className="navbar">
|
||||||
<div className="navbar-inner">
|
<div className="navbar-inner">
|
||||||
<div className="navbar-left">
|
<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">
|
<div className="nav-item">
|
||||||
<span className="nav-label">产品</span>
|
<span className="nav-label">产品</span>
|
||||||
|
|||||||
@@ -12,19 +12,19 @@ const slidesData = [
|
|||||||
id: 2,
|
id: 2,
|
||||||
title: '解决方案:资料管理优化',
|
title: '解决方案:资料管理优化',
|
||||||
description: '一体化资料管理平台上线,提效30%',
|
description: '一体化资料管理平台上线,提效30%',
|
||||||
image: 'http://localhost:3001/uploads/home_2.jpg'
|
image: 'http://localhost:3001/uploads/home_2.png'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 3,
|
id: 3,
|
||||||
title: '产品更新:PDF在线预览',
|
title: '产品更新:PDF在线预览',
|
||||||
description: '新增在线预览与多端适配功能',
|
description: '新增在线预览与多端适配功能',
|
||||||
image: 'http://localhost:3001/uploads/home_3.jpg'
|
image: 'http://localhost:3001/uploads/home_3.png'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 4,
|
id: 4,
|
||||||
title: '客户案例:数字化转型',
|
title: '客户案例:数字化转型',
|
||||||
description: '多行业落地实践,推动数据驱动决策',
|
description: '多行业落地实践,推动数据驱动决策',
|
||||||
image: 'http://localhost:3001/uploads/home_4.jpg'
|
image: 'http://localhost:3001/uploads/home_4.png'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user