You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123 lines
3.3 KiB
123 lines
3.3 KiB
1 year ago
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<title>失物招领网站</title>
|
||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
|
||
|
<style>
|
||
|
body {
|
||
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
background-color: #f5f5f5;
|
||
|
}
|
||
|
|
||
|
header {
|
||
|
background-color: #ff6f61;
|
||
|
color: #fff;
|
||
|
padding: 20px 0;
|
||
|
text-align: center;
|
||
|
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
|
||
|
}
|
||
|
|
||
|
header h1 {
|
||
|
margin: 0;
|
||
|
font-size: 36px;
|
||
|
}
|
||
|
|
||
|
nav {
|
||
|
background-color: #ff9d8e;
|
||
|
text-align: center;
|
||
|
padding: 10px 0;
|
||
|
}
|
||
|
|
||
|
nav a {
|
||
|
color: #fff;
|
||
|
text-decoration: none;
|
||
|
margin: 0 20px;
|
||
|
font-size: 20px;
|
||
|
}
|
||
|
|
||
|
.content {
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
padding: 20px;
|
||
|
}
|
||
|
|
||
|
.search-box {
|
||
|
flex: 1;
|
||
|
padding: 20px;
|
||
|
background-color: #fff;
|
||
|
border: 1px solid #e0e0e0;
|
||
|
border-radius: 10px;
|
||
|
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
|
||
|
}
|
||
|
|
||
|
.search-box h2 {
|
||
|
font-size: 28px;
|
||
|
margin-bottom: 20px;
|
||
|
color: #333;
|
||
|
}
|
||
|
|
||
|
.search-box input[type="text"] {
|
||
|
width: 100%;
|
||
|
padding: 15px;
|
||
|
border: 2px solid #e0e0e0;
|
||
|
border-radius: 5px;
|
||
|
font-size: 18px;
|
||
|
outline: none;
|
||
|
}
|
||
|
|
||
|
.search-box button {
|
||
|
background-color: #ff6f61;
|
||
|
color: #fff;
|
||
|
border: none;
|
||
|
border-radius: 5px;
|
||
|
padding: 15px 25px;
|
||
|
font-size: 20px;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.search-results {
|
||
|
flex: 2;
|
||
|
padding: 20px;
|
||
|
background-color: #fff;
|
||
|
border: 1px solid #e0e0e0;
|
||
|
border-radius: 10px;
|
||
|
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
|
||
|
}
|
||
|
|
||
|
.search-results h2 {
|
||
|
font-size: 28px;
|
||
|
margin-bottom: 20px;
|
||
|
color: #333;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<header>
|
||
|
<h1>失物招领网站</h1>
|
||
|
</header>
|
||
|
<nav>
|
||
|
<a href="#"><i class="fas fa-search"></i> 失物</a>
|
||
|
<a href="#"><i class="fas fa-upload"></i> 失物发布</a>
|
||
|
<a href="#"><i class="fas fa-hand-holding"></i> 招领</a>
|
||
|
<a href="#"><i class="fas fa-plus"></i> 招领发布</a>
|
||
|
<a href="#"><i class="fas fa-images"></i> 图片匹配</a>
|
||
|
<a href="#"><i class="fas fa-bars"></i> 导航</a>
|
||
|
</nav>
|
||
|
<div class="content">
|
||
|
<div class="search-box">
|
||
|
<h2>招领信息搜索</h2>
|
||
|
<input type="text" placeholder="输入关键词">
|
||
|
<button>搜索</button>
|
||
|
</div>
|
||
|
<div class="search-results">
|
||
|
<h2>搜索结果</h2>
|
||
|
<!-- 这里显示搜索结果的详细信息和图片 -->
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|