家谱现有接口调试50%
This commit is contained in:
@@ -0,0 +1,130 @@
|
||||
<!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" data-growth-edit-page>
|
||||
<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 href="profile-content.html">内容发布</a
|
||||
><a class="active" href="profile-growth.html">成长日志</a>
|
||||
</nav>
|
||||
<div class="nav-actions">
|
||||
<a href="profile-growth.html">返回日志</a
|
||||
><button class="btn primary magnetic" type="submit" form="growth-edit-form">保存</button>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<main>
|
||||
<section class="module-hero">
|
||||
<div class="container">
|
||||
<div class="module-kicker">Growth Editor</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-content.html">内容发布</a
|
||||
><a href="profile-feed.html">发布动态</a
|
||||
><a class="active" href="profile-growth.html">成长日志</a
|
||||
><a href="profile-memo.html">备忘录</a>
|
||||
</aside>
|
||||
<div class="module-main">
|
||||
<section class="module-panel">
|
||||
<h2>日志内容</h2>
|
||||
<form id="growth-edit-form" class="editor-form layui-form" data-growth-form>
|
||||
<div class="editor-two">
|
||||
<div class="editor-field">
|
||||
<label for="growthPersonId">世系人物 ID</label
|
||||
><input
|
||||
id="growthPersonId"
|
||||
name="lineagePersonId"
|
||||
type="text"
|
||||
placeholder="请输入世系人物 ID"
|
||||
/>
|
||||
</div>
|
||||
<div class="editor-field">
|
||||
<label for="growthDate">日期</label
|
||||
><input
|
||||
id="growthDate"
|
||||
name="recordDate"
|
||||
type="text"
|
||||
placeholder="请选择日期"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="editor-two">
|
||||
<div class="editor-field">
|
||||
<label for="growthTitle">标题</label>
|
||||
<input id="growthTitle" name="recordTitle" type="text" placeholder="请输入成长记录标题" required />
|
||||
</div>
|
||||
<div class="editor-field">
|
||||
<label for="growthType">类型</label>
|
||||
<select id="growthType" name="recordType">
|
||||
<option value="growth">成长</option>
|
||||
<option value="birth">出生</option>
|
||||
<option value="education">教育</option>
|
||||
<option value="family">家庭</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="editor-field">
|
||||
<label for="growthContent">内容</label
|
||||
><textarea
|
||||
id="growthContent"
|
||||
name="recordContent"
|
||||
class="js-rich-editor"
|
||||
placeholder="请输入成长日志内容"
|
||||
></textarea>
|
||||
</div>
|
||||
<div class="editor-field">
|
||||
<label for="growthMediaOssIds">附件 OSS ID</label>
|
||||
<input id="growthMediaOssIds" name="mediaOssIds" type="text" placeholder="多个附件 ID 用英文逗号分隔" />
|
||||
<!-- 公共上传脚本会调用 /files/upload 并追加 OSS ID -->
|
||||
<label class="upload-control" for="growthMediaFile">添加照片</label>
|
||||
<input id="growthMediaFile" class="upload-input" type="file" accept="image/*" data-upload-target="#growthMediaOssIds" data-upload-status="#growthMediaStatus" data-upload-multiple="true" />
|
||||
<p id="growthMediaStatus" class="upload-status">未选择文件</p>
|
||||
</div>
|
||||
<div class="bottom-actions">
|
||||
<button class="btn primary magnetic" type="submit">保存</button
|
||||
><a class="btn ghost magnetic" href="profile-growth.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="public/js/ke/kindeditor.min.js"></script>
|
||||
<script src="public/js/rich-editor.js"></script>
|
||||
<script src="public/js/profile-common.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/upload-pages.js"></script>
|
||||
<script src="public/js/growth-pages.js"></script>
|
||||
<script src="public/js/page-effects.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user