| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423 |
- <!DOCTYPE html>
- <html lang="zh-CN">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>留氏(衢州)族谱信息管理系统</title>
- <link href="{{ url_for('static', filename='css/bootstrap.min.css') }}" rel="stylesheet">
- <style>
- @font-face {
- font-family: "HuakangWeibei";
- src: url("{{ home_font('HuakangWeibei.ttf') }}") format("truetype");
- font-weight: normal;
- font-style: normal;
- }
- @font-face {
- font-family: "AdobeKaiti";
- src: url("{{ home_font('AdobeKaitiStd-Regular.otf') }}") format("opentype");
- font-weight: normal;
- font-style: normal;
- }
- @font-face {
- font-family: "SourceHanSans";
- src: url("{{ home_font('SourceHanSansSC-Regular.otf') }}") format("opentype");
- font-weight: normal;
- font-style: normal;
- }
- @font-face {
- font-family: "SourceHanSerif";
- src: url("{{ home_font('SourceHanSerifCN-Regular.otf') }}") format("opentype");
- font-weight: normal;
- font-style: normal;
- }
- *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
- body {
- min-height: 100vh;
- overflow-x: hidden;
- background: #f5f2ed;
- }
- .page-bg {
- position: fixed;
- inset: 0;
- z-index: 0;
- background: url("{{ home_img('bg.png') }}") center center / cover no-repeat;
- }
- .page-wrap {
- position: relative;
- z-index: 1;
- min-height: 100vh;
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 52px 20px 32px;
- }
- .page-inner {
- width: 100%;
- max-width: 1058px;
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- /* Logo */
- .logo {
- width: 155px;
- height: auto;
- margin-bottom: 18px;
- }
- /* 主标题 - 华康魏碑 */
- .main-title {
- font-family: "HuakangWeibei", "STSong", serif;
- font-size: 34px;
- font-weight: normal;
- color: #1a1008;
- letter-spacing: 0.06em;
- text-align: center;
- line-height: 1.35;
- margin-bottom: 8px;
- }
- /* 副标题 - 思源宋体 */
- .edition {
- font-family: "SourceHanSerif", "STSong", serif;
- font-size: 15px;
- color: #6b5840;
- letter-spacing: 0.28em;
- padding-left: 0.28em;
- margin-bottom: 28px;
- }
- /* 主按钮 */
- .action-btns {
- display: flex;
- gap: 16px;
- margin-bottom: 42px;
- }
- .action-btn {
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- width: 295px;
- height: 62px;
- text-decoration: none;
- flex-shrink: 0;
- background-repeat: no-repeat;
- background-position: center;
- background-size: 100% 100%;
- border: none;
- }
- .action-btn--members {
- background-image: url("{{ home_img('btn-members-gold.png') }}");
- }
- .action-btn--scan {
- background-image: url("{{ home_img('btn-scan-silver.png') }}");
- }
- .action-btn--members:hover {
- background-image: url("{{ home_img('btn-members-gold.png') }}");
- }
- .action-btn--scan:hover {
- background-image: url("{{ home_img('btn-scan-gold.png') }}");
- }
- .action-btn-text {
- position: relative;
- z-index: 1;
- font-family: "HuakangWeibei", "STSong", serif;
- font-size: 21px;
- font-weight: normal;
- color: #2a1a08;
- letter-spacing: 0.18em;
- padding-left: 0.18em;
- pointer-events: none;
- white-space: nowrap;
- line-height: 1;
- /* 图标区约占左侧 56px,文字在按钮内视觉居中 */
- transform: translateX(14px);
- }
- .action-btn--scan .action-btn-text {
- color: #2a2a2a;
- transform: translateX(12px);
- }
- /* 快速导航 */
- .nav-section {
- width: 100%;
- text-align: center;
- margin-bottom: 34px;
- }
- .nav-frame {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- width: 232px;
- height: 48px;
- background: url("{{ home_img('nav-frame.png') }}") center / 100% 100% no-repeat;
- margin-bottom: 16px;
- }
- .nav-frame-title {
- font-family: "HuakangWeibei", "STSong", serif;
- font-size: 15px;
- color: #4a3820;
- letter-spacing: 0.45em;
- padding-left: 0.45em;
- }
- .quick-nav {
- display: flex;
- flex-wrap: wrap;
- align-items: center;
- justify-content: center;
- gap: 2px;
- font-family: "AdobeKaiti", "KaiTi", serif;
- font-size: 14px;
- color: #2a1a08;
- line-height: 2.4;
- }
- .quick-nav a {
- color: #2a1a08;
- text-decoration: none;
- padding: 0 3px;
- transition: color 0.15s;
- }
- .quick-nav a:hover { color: #8b6020; }
- .quick-nav .sep {
- color: rgba(80, 60, 40, 0.35);
- margin: 0 2px;
- user-select: none;
- }
- .nav-seal {
- width: 72px;
- height: auto;
- margin: 0 6px;
- vertical-align: middle;
- }
- /* 编委会面板 — 标签框尺寸来自切图 committee-bg.png 实测:x=0~63, y=78~406 */
- .committee-panel {
- width: 100%;
- height: 242px;
- background: url("{{ home_img('committee-bg.png') }}") center / 100% 100% no-repeat;
- position: relative;
- padding: 24px 40px 24px calc(100% * 72 / 2115);
- margin-bottom: 36px;
- }
- .committee-side-label {
- position: absolute;
- left: 0;
- top: calc(100% * 78 / 484);
- width: calc(100% * 63 / 2115);
- height: calc(100% * 329 / 484);
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .committee-side-label-text {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- gap: 3px;
- font-family: "HuakangWeibei", "STSong", serif;
- font-size: 13px;
- color: #4a3820;
- line-height: 1;
- }
- .committee-side-label-text span {
- display: block;
- }
- .committee-body {
- display: flex;
- flex-direction: column;
- justify-content: center;
- height: 100%;
- }
- .cm-row {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 7px 0;
- border-bottom: 1px dashed rgba(160, 140, 100, 0.28);
- min-height: 34px;
- }
- .cm-row:last-child { border-bottom: none; }
- .cm-dot {
- width: 11px;
- height: 11px;
- flex-shrink: 0;
- background: url("{{ home_img('committee-dot.png') }}") center / contain no-repeat;
- }
- .cm-label {
- font-family: "HuakangWeibei", "STSong", serif;
- font-size: 15px;
- color: #4a3820;
- white-space: nowrap;
- width: 92px;
- flex-shrink: 0;
- }
- .cm-value {
- font-family: "AdobeKaiti", "KaiTi", serif;
- font-size: 15px;
- color: #1a1008;
- flex: 1;
- }
- .cm-names {
- word-spacing: 0.5em;
- }
- /* 页脚 - 思源黑体 */
- .page-footer {
- font-family: "SourceHanSans", "PingFang SC", sans-serif;
- font-size: 13px;
- color: #7a6a58;
- text-align: center;
- letter-spacing: 0.03em;
- padding: 8px 0;
- }
- .page-footer .sep {
- margin: 0 10px;
- color: rgba(120, 100, 80, 0.4);
- }
- @media (max-width: 680px) {
- .page-wrap { padding: 32px 16px 24px; }
- .main-title { font-size: 22px; letter-spacing: 0.04em; }
- .edition { font-size: 14px; margin-bottom: 24px; }
- .action-btns { flex-direction: column; align-items: center; gap: 12px; margin-bottom: 32px; }
- .action-btn { width: 260px; height: 55px; }
- .action-btn-text { font-size: 18px; transform: translateX(10px); }
- .action-btn--scan .action-btn-text { transform: translateX(8px); }
- .committee-panel {
- height: auto;
- min-height: 220px;
- padding: 20px 16px 20px calc(100% * 72 / 2115);
- background-size: cover;
- }
- .committee-side-label-text { font-size: 11px; gap: 2px; }
- .cm-label { width: 76px; font-size: 14px; }
- .cm-row { flex-wrap: wrap; padding: 8px 0; }
- .quick-nav { font-size: 13px; }
- .nav-seal { width: 72px; }
- }
- </style>
- </head>
- <body>
- <div class="page-bg"></div>
- <div class="page-wrap">
- <div class="page-inner">
- <img src="{{ home_img('logo.png') }}" alt="留" class="logo">
- <h1 class="main-title">留氏(衢州)族谱信息管理系统</h1>
- <p class="edition">二〇二五年度版</p>
- <div class="action-btns">
- <a href="{{ url_for('members') }}" class="action-btn action-btn--members">
- <span class="action-btn-text">成员管理</span>
- </a>
- <a href="{{ url_for('index') }}" class="action-btn action-btn--scan">
- <span class="action-btn-text">扫描件管理</span>
- </a>
- </div>
- <div class="nav-section">
- <div class="nav-frame">
- <span class="nav-frame-title">快速导航</span>
- </div>
- <div class="quick-nav">
- <a href="{{ url_for('members') }}">成员列表</a>
- <span class="sep">/</span>
- <a href="{{ url_for('add_member') }}">列入新成员</a>
- <span class="sep">/</span>
- <a href="{{ url_for('tree') }}">关系树状图</a>
- <span class="sep">/</span>
- <img src="{{ home_img('nav-seal.png') }}" alt="系统管理" class="nav-seal">
- <span class="sep">/</span>
- <a href="{{ url_for('index') }}">扫描件管理</a>
- <span class="sep">/</span>
- {% if session.get('is_super_admin') %}
- <a href="{{ url_for('pdf_management') }}">家谱管理</a>
- <span class="sep">/</span>
- {% endif %}
- <a href="{{ url_for('suspected_errors') }}">疑似错误汇总</a>
- </div>
- </div>
- <div class="committee-panel">
- <div class="committee-side-label">
- <div class="committee-side-label-text">
- <span>编</span><span>委</span><span>会</span><span>成</span><span>员</span>
- </div>
- </div>
- <div class="committee-body">
- <div class="cm-row">
- <span class="cm-dot"></span>
- <span class="cm-label">主编:</span>
- <span class="cm-value">留文正</span>
- </div>
- <div class="cm-row">
- <span class="cm-dot"></span>
- <span class="cm-label">编委成员:</span>
- <span class="cm-value cm-names">留忠德 留文正 留越 留良吾 留如藩 留强 ……</span>
- </div>
- <div class="cm-row">
- <span class="cm-dot"></span>
- <span class="cm-label">外支顾问:</span>
- <span class="cm-value">留朝信</span>
- </div>
- <div class="cm-row">
- <span class="cm-dot"></span>
- <span class="cm-label">技术支持:</span>
- <span class="cm-value">留越</span>
- </div>
- <div class="cm-row">
- <span class="cm-dot"></span>
- <span class="cm-label">技术实现:</span>
- <span class="cm-value">春笋秋竹(杭州)科技有限公司</span>
- </div>
- </div>
- </div>
- <footer class="page-footer">
- © 2025 留氏(衢州)族谱信息管理系统
- <span class="sep">|</span>
- 传承家族文化,弘扬民族精神
- </footer>
- </div>
- </div>
- <script src="{{ url_for('static', filename='js/bootstrap.bundle.min.js') }}"></script>
- </body>
- </html>
|