家谱现有接口调试50%
This commit is contained in:
@@ -0,0 +1,137 @@
|
||||
<!doctype html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>创建家谱 - 个人中心 - 代代相传</title>
|
||||
<link rel="stylesheet" href="public/css/public.css" />
|
||||
<link rel="stylesheet" href="public/layui/css/layui.css" />
|
||||
<link rel="stylesheet" href="public/css/profile-module.css" />
|
||||
</head>
|
||||
<body class="page-profile-module">
|
||||
<header class="site-header">
|
||||
<div class="container nav">
|
||||
<a class="brand magnetic" href="profile.html"
|
||||
><img class="brand-logo brand-logo-mark" src="public/images/logo-mark.png" alt="" /><span class="brand-text">个人中心</span></a
|
||||
>
|
||||
<nav class="nav-links">
|
||||
<a class="active" href="profile-families.html">我的家谱</a
|
||||
><a href="profile-family-admin.html">家族管理</a
|
||||
><a href="profile-content.html">内容发布</a>
|
||||
</nav>
|
||||
<div class="nav-actions">
|
||||
<a href="profile-families.html">返回我的家谱</a>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<main>
|
||||
<section class="module-hero">
|
||||
<div class="container">
|
||||
<div class="module-kicker">Create Family</div>
|
||||
<div class="module-title-row">
|
||||
<div>
|
||||
<h1>创建家谱</h1>
|
||||
<p>
|
||||
个人中心专用创建流程,用于录入姓氏、谱名、堂号、地望、祠堂和访问权限。
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="section">
|
||||
<div class="container module-layout">
|
||||
<aside class="module-nav">
|
||||
<a href="profile-families.html">我的家谱</a
|
||||
><a class="active" href="profile-create-family.html">创建家谱</a
|
||||
><a href="profile-join-family.html">加入家谱</a>
|
||||
</aside>
|
||||
<div class="module-main">
|
||||
<section class="module-panel">
|
||||
<h2>基础信息</h2>
|
||||
<!-- 个人中心创建家谱复用创建接口,字段对应 GenealogyCreateBody。 -->
|
||||
<form class="editor-form profile-create-family-form" data-genealogy-form="create" data-success-url="profile-families.html">
|
||||
<div class="editor-two">
|
||||
<div class="editor-field">
|
||||
<label for="familySurname">姓氏</label>
|
||||
<input id="familySurname" name="surname" type="text" required />
|
||||
</div>
|
||||
<div class="editor-field">
|
||||
<label for="familyName">谱名</label>
|
||||
<input id="familyName" name="genealogyName" type="text" required />
|
||||
</div>
|
||||
</div>
|
||||
<div class="editor-two">
|
||||
<div class="editor-field">
|
||||
<label for="ancestralHall">堂号/祠堂</label>
|
||||
<input id="ancestralHall" name="ancestralHall" type="text" />
|
||||
</div>
|
||||
<div class="editor-field">
|
||||
<label for="originPlace">籍贯/起源地</label>
|
||||
<input id="originPlace" name="originPlace" type="text" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="editor-field">
|
||||
<label>家族所在地</label>
|
||||
<div class="profile-region-picker" data-region-picker>
|
||||
<select name="provinceCode" data-region-level="province">
|
||||
<option value="">请选择省</option>
|
||||
</select>
|
||||
<select name="cityCode" data-region-level="city">
|
||||
<option value="">请选择市</option>
|
||||
</select>
|
||||
<select name="districtCode" data-region-level="district">
|
||||
<option value="">请选择区县</option>
|
||||
</select>
|
||||
<input type="hidden" name="regionCode" data-region-code />
|
||||
</div>
|
||||
</div>
|
||||
<div class="editor-field">
|
||||
<label for="addressDetail">详细地址</label>
|
||||
<input id="addressDetail" name="addressDetail" type="text" />
|
||||
</div>
|
||||
<div class="editor-field">
|
||||
<label for="intro">家谱简介</label>
|
||||
<textarea id="intro" name="intro"></textarea>
|
||||
</div>
|
||||
<div class="editor-two">
|
||||
<div class="editor-field">
|
||||
<label for="visibility">可见范围</label>
|
||||
<select id="visibility" name="visibility">
|
||||
<option value="1">公开</option>
|
||||
<option value="2">成员可见</option>
|
||||
<option value="0">私密</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="editor-field">
|
||||
<label for="joinMode">加入方式</label>
|
||||
<select id="joinMode" name="joinMode">
|
||||
<option value="1">审核加入</option>
|
||||
<option value="2">邀请码加入</option>
|
||||
<option value="0">关闭加入</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bottom-actions">
|
||||
<button class="btn primary magnetic" type="submit">确定创建</button>
|
||||
<a class="btn ghost magnetic" href="profile-families.html">返回列表</a>
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<script src="public/js/jquery360.js"></script>
|
||||
<script src="public/layui/layui.js"></script>
|
||||
<script src="public/js/lay-config.js"></script>
|
||||
<script src="config.js"></script>
|
||||
<script src="utils/StorageUtil.js"></script>
|
||||
<script src="utils/FormUtil.js"></script>
|
||||
<script src="utils/RequestUtil.js"></script>
|
||||
<script src="public/js/api-client.js"></script>
|
||||
<script src="public/js/region-pages.js"></script>
|
||||
<script src="public/js/genealogy-pages.js"></script>
|
||||
<script src="public/js/profile-common.js"></script>
|
||||
<script src="public/js/page-effects.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user