130 lines
5.7 KiB
HTML
130 lines
5.7 KiB
HTML
<!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-ceremony-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-gift.html">贺礼邀请</a>
|
|
</nav>
|
|
<div class="nav-actions">
|
|
<a href="profile-gift.html">返回贺礼</a
|
|
><button class="btn primary magnetic" type="submit" form="ceremony-edit-form">确定创建</button>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<main>
|
|
<section class="module-hero">
|
|
<div class="container">
|
|
<div class="module-kicker">Gift 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-merit.html">功德录</a
|
|
><a class="active" href="profile-gift.html">贺礼邀请</a
|
|
><a href="profile-feed.html">发布动态</a>
|
|
</aside>
|
|
<div class="module-main">
|
|
<section class="module-panel">
|
|
<h2>贺礼信息</h2>
|
|
<form id="ceremony-edit-form" class="editor-form layui-form" data-ceremony-form>
|
|
<div class="editor-two">
|
|
<div class="editor-field">
|
|
<label for="giftType">贺礼类型</label
|
|
><select id="giftType" name="ceremonyType">
|
|
<option value="wedding">婚礼</option>
|
|
<option value="education">升学</option>
|
|
<option value="birthday">生日</option>
|
|
<option value="ancestor">祭祀</option>
|
|
<option value="other">其他</option>
|
|
</select>
|
|
</div>
|
|
<div class="editor-field">
|
|
<label for="giftDate">举办时间</label
|
|
><input
|
|
id="giftDate"
|
|
name="ceremonyTime"
|
|
type="text"
|
|
placeholder="请选择时间"
|
|
/>
|
|
</div>
|
|
</div>
|
|
<div class="editor-field">
|
|
<label for="giftTitle">贺礼标题</label
|
|
><input id="giftTitle" name="ceremonyTitle" type="text" placeholder="请输入标题" required />
|
|
</div>
|
|
<div class="editor-field">
|
|
<label for="giftAddress">举办地点</label
|
|
><input
|
|
id="giftAddress"
|
|
name="location"
|
|
type="text"
|
|
placeholder="请输入地点"
|
|
/>
|
|
</div>
|
|
<div class="editor-field">
|
|
<label for="giftContent">贺礼内容</label
|
|
><textarea
|
|
id="giftContent"
|
|
name="ceremonyDesc"
|
|
class="js-rich-editor"
|
|
placeholder="请输入贺礼内容"
|
|
></textarea>
|
|
</div>
|
|
<div class="editor-field">
|
|
<label for="giftCoverOssId">封面 OSS ID</label>
|
|
<input id="giftCoverOssId" name="coverOssId" type="text" placeholder="上传封面后自动回填" />
|
|
<!-- 公共上传脚本会调用 /files/upload 并回填封面 OSS ID -->
|
|
<label class="upload-control" for="giftCoverFile">选择封面图片</label>
|
|
<input id="giftCoverFile" class="upload-input" type="file" accept="image/*" data-upload-target="#giftCoverOssId" data-upload-status="#giftCoverStatus" />
|
|
<p id="giftCoverStatus" class="upload-status">未选择文件</p>
|
|
</div>
|
|
<div class="bottom-actions">
|
|
<button class="btn primary magnetic" type="submit">确定创建</button
|
|
><a class="btn ghost magnetic" href="profile-gift.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/ceremony-pages.js"></script>
|
|
<script src="public/js/page-effects.js"></script>
|
|
</body>
|
|
</html>
|