<!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>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Microsoft YaHei', sans-serif;
line-height: 1.6;
color: #333;
background-color: #f4f4f4;
padding: 20px;
display: flex;
flex-direction: column;
min-height: 100vh;
}
.container {
max-width: 1200px;
margin: 0 auto;
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
flex: 1;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 1px solid #eee;
flex-wrap: wrap;
}
.header-left {
display: flex;
align-items: center;
flex-wrap: wrap;
flex: 1;
}
.header-right {
display: flex;
align-items: center;
}
h1, h2, h3 {
color: #333;
margin-bottom: 15px;
}
.btn {
display: inline-block;
padding: 8px 16px;
background: #4CAF50;
color: white;
text-decoration: none;
border-radius: 4px;
border: none;
cursor: pointer;
font-size: 14px;
margin: 5px 5px 5px 0;
}
.btn-danger {
background: #f44336;
}
.btn-secondary {
background: #777;
}
.btn-info {
background: #2196F3;
}
.form-group {
margin-bottom: 15px;
}
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
input[type="text"],
input[type="date"],
input[type="password"],
input[type="search"],
textarea {
padding: 8px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
}
textarea {
min-height: 100px;
}
.actions {
margin-top: 10px;
}
.tree-node {
margin: 10px 0;
position: relative;
}
.person-card {
border: 1px solid #ddd;
border-radius: 4px;
padding: 15px;
background: white;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
position: relative;
z-index: 2;
}
.children-container {
position: relative;
margin-left: 40px;
padding-left: 20px;
}
.children-line {
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 2px;
background-color: #4CAF50;
z-index: 1;
}
.children-nodes {
display: flex;
flex-direction: column;
position: relative;
}
.children-nodes::before {
content: '';
position: absolute;
left: -20px;
top: -10px;
height: 20px;
width: 20px;
border-left: 2px solid #4CAF50;
border-bottom: 2px solid #4CAF50;
border-bottom-left-radius: 8px;
}
.alert {
padding: 10px;
margin-bottom: 15px;
border-radius: 4px;
}
.alert-error {
background: #ffebee;
color: #c62828;
border: 1px solid #ef9a9a;
}
.alert-success {
background: #e8f5e9;
color: #2e7d32;
border: 1px solid #a5d6a7;
}
.login-form {
max-width: 400px;
margin: 50px auto;
padding: 20px;
background: white;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.login-form h2 {
text-align: center;
margin-bottom: 20px;
}
.person-details {
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.person-details h2 {
border-bottom: 2px solid #4CAF50;
padding-bottom: 10px;
margin-bottom: 20px;
}
.detail-row {
margin-bottom: 15px;
display: flex;
flex-wrap: wrap;
}
.detail-label {
font-weight: bold;
width: 100px;
flex-shrink: 0;
}
.detail-value {
flex-grow: 1;
}
.login-note {
text-align: center;
margin-top: 20px;
padding: 10px;
background: #e3f2fd;
border-radius: 4px;
}
.search-form {
display: flex;
margin: 15px 0;
max-width: 400px;
}
.search-form input[type="search"] {
flex: 1;
margin-right: 10px;
width: auto;
}
.search-results {
margin-top: 20px;
}
.search-result-item {
border: 1px solid #ddd;
border-radius: 4px;
padding: 15px;
margin-bottom: 10px;
background: white;
}
.announcement {
background: #fff8e1;
border-left: 4px solid #ffc107;
padding: 15px;
margin: 20px 0;
border-radius: 4px;
}
.announcement h3 {
color: #ff9800;
margin-top: 0;
}
.footer {
text-align: center;
margin-top: 30px;
padding: 20px;
color: #777;
border-top: 1px solid #eee;
}
@media (max-width: 768px) {
.detail-row {
flex-direction: column;
}
.detail-label {
width: 100%;
margin-bottom: 5px;
}
.children-container {
margin-left: 20px;
}
.btn {
display: block;
width: 100%;
text-align: center;
margin: 5px 0;
}
header {
flex-direction: column;
text-align: center;
}
header h1 {
margin-bottom: 10px;
}
.header-left, .header-right {
flex-direction: column;
width: 100%;
}
.search-form {
flex-direction: column;
max-width: 100%;
}
.search-form input[type="search"] {
margin-right: 0;
margin-bottom: 10px;
width: 100%;
}
}
</style>
</head>
<body>
<div class="container">
<header>
<div class="header-left">
<h1>永兴吴氏宗谱蕲州狮子口道靖支</h1>
<!--form method="GET" action="" class="search-form">
<input type="hidden" name="action" value="search">
<input type="search" name="q" placeholder="搜索人物..." value="">
<button type="submit" class="btn btn-info">搜索</button>
</form-->
</div>
<div class="header-right">
<a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dlogin" class="btn">登录</a>
</div>
</header>
<!-- 网站公告板 -->
<div class="announcement">
<h3>网站公告</h3>
<p>欢迎使用永兴吴氏宗谱蕲州狮子口道靖支!本系统支持创建、编辑和浏览家族树状结构。</p>
<p>您可以通过搜索功能查找特定人物,登录后可以添加新成员或编辑现有信息。</p>
<p>如有问题或建议,请联系管理员。</p>
</div>
<h2>家谱树</h2>
<div class="login-note">
<p>请<a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dlogin">登录</a>后添加或修改家谱信息</p>
</div>
<div class="tree">
<div class="tree-node"><div class="person-card"><h3><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dview%26id%3D1">康定</a></h3></div></div> </div>
<!-- 版权信息 -->
<div class="footer">
<p>© 2023 永兴吴氏宗谱蕲州狮子口道靖支. 保留所有权利.</p>
<p>技术支持: family@example.com</p>
</div>
</div>
</body>
</html>