成果图
相关代码
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>质量管理与评估中心</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "微软雅黑", sans-serif;
}
.top-banner {
background-color: #1a365d;
color: white;
display: flex;
align-items: center;
justify-content: space-between;
padding: 15px 50px;
}
.logo-title {
display: flex;
align-items: center;
gap: 15px;
}
.logo {
width: 100%;
height: 80px;
border-radius: 50%;
overflow: hidden;
}
.logo img {
width: 100%;
height: 100%;
object-fit: cover;
}
.title h1 {
font-size: 22px;
font-weight: normal;
}
.title p {
font-size: 14px;
opacity: 0.9;
}
.search-box {
display: flex;
align-items: center;
gap: 5px;
}
.search-box input {
padding: 6px 10px;
border: none;
border-radius: 4px;
outline: none;
}
.search-box button {
background-color: #3b82f6;
color: white;
border: none;
width: 36px;
height: 36px;
border-radius: 4px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
.nav {
background-color: #1e40af;
display: flex;
justify-content: center;
}
.nav ul {
list-style: none;
display: flex;
}
.nav a {
color: white;
text-decoration: none;
padding: 15px 35px;
display: block;
font-size: 15px;
}
.nav a:hover {
background-color: #1e3a8a;
}
.carousel {
width: 100%;
overflow: hidden;
position: relative;
}
.carousel img {
width: 100%;
height: auto;
display: block;
}
.carousel .dots {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 8px;
}
.carousel .dot {
width: 12px;
height: 12px;
background-color: rgba(255,255,255,0.7);
border-radius: 50%;
cursor: pointer;
}
.carousel .dot.active {
background-color: white;
}
</style>
</head>
<body>
<div class="top-banner">
<div class="logo-title">
<div class="logo">
<img src="https://p9-flow-imagex-sign.byteimg.com/tos-cn-i-a9rns2rl98/eabe46e3861c405fbca9621e22d3df7f.png~tplv-a9rns2rl98-image.png?lk3s=8e244e95&rcl=20260120193240F59CB7754C9795062BE4&rrcfp=dafada99&x-expires=2085132760&x-signature=bjZzi6aoFmQo%2BsJgcRAIPAWxe%2FA%3D" alt="南宁理工学院校徽">
</div>
<div class="title">
<h1>质量管理与评估中心</h1>
<p>Quality Management and Evaluation Center,Nanning College of Technology</p>
</div>
</div>
<div class="search-box">
<input type="text" placeholder="搜索...">
<button>🔍</button>
</div>
</div>
<nav class="nav">
<ul>
<li><a href="#">网站首页</a></li>
<li><a href="#">机构设置</a></li>
<li><a href="#">质量监控</a></li>
<li><a href="#">教学评估</a></li>
<li><a href="#">文件制度</a></li>
<li><a href="#">下载中心</a></li>
<li><a href="#">学校首页</a></li>
</ul>
</nav>
<div class="carousel">
<img src="https://p3-flow-imagex-sign.byteimg.com/tos-cn-i-a9rns2rl98/080839d3ccd748ed85b5ee06ee72ba10.png~tplv-a9rns2rl98-image.png?lk3s=8e244e95&rcl=20260120192508CEB9B652F9E23109EA1B&rrcfp=dafada99&x-expires=2085132308&x-signature=XxfLKRvXn8aZr8woaffPUCid9I0%3D" alt="南宁理工学院大门">
<div class="dots">
<div class="dot active"></div>
<div class="dot"></div>
</div>
</div>
</body>
</html>