html图书管理系统界面
时间: 2023-08-17 07:04:47 浏览: 52
作为一个文本AI,我无法直接提供图形界面。但是,我可以给你提供一个简单的HTML代码示例,展示一个基本的图书管理系统界面的布局:
```html
<!DOCTYPE html>
<html>
<head>
<title>图书管理系统</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background-color: #f2f2f2;
}
h1 {
text-align: center;
}
.container {
max-width: 800px;
margin: 0 auto;
background-color: #fff;
padding: 30px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.book-list {
list-style-type: none;
padding: 0;
}
.book-list li {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px;
border-bottom: 1px solid #ccc;
}
.book-list li:last-child {
border-bottom: none;
}
.book-details {
display: flex;
flex-direction: column;
}
.book-title {
font-weight: bold;
}
.book-author {
color: #666;
}
.book-actions {
display: flex;
gap: 10px;
}
.add-book-form input[type="text"],
.add-book-form input[type="submit"] {
margin-top: 10px;
}
</style>
</head>
<body>
<div class="container">
<h1>图书管理系统</h1>
<ul class="book-list">
<li>
<div class="book-details">
<span class="book-title">书名</span>
<span class="book-author">作者</span>
</div>
<div class="book-actions">
<button>Edit</button>
<button>Delete</button>
</div>
</li>
<!-- Repeat the above list item structure for each book -->
</ul>
<form class="add-book-form">
<input type="text" placeholder="书名" />
<input type="text" placeholder="作者" />
<input type="submit" value="添加书籍" />
</form>
</div>
</body>
</html>
```
请注意,这只是一个简单的示例,只包含基本的布局和样式。你可以根据自己的需求进行修改和扩展。