等待后端更新接口
This commit is contained in:
+15
-15
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>创建贺礼 - 个人中心 - 代代相传</title>
|
||||
<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" />
|
||||
@@ -17,18 +17,18 @@
|
||||
>
|
||||
<nav class="nav-links">
|
||||
<a href="profile-content.html">内容发布</a
|
||||
><a class="active" href="profile-gift.html">贺礼邀请</a>
|
||||
><a class="active" href="profile-ceremony.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>
|
||||
<a href="profile-ceremony.html">返回活动列表</a
|
||||
><button class="btn primary magnetic" type="submit" form="ceremony-edit-form" data-ceremony-editor-action hidden>确定创建</button>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<main>
|
||||
<section class="module-hero">
|
||||
<div class="container">
|
||||
<div class="module-kicker">Gift Editor</div>
|
||||
<div class="module-kicker">Ceremony Editor</div>
|
||||
<div class="module-title-row">
|
||||
<div>
|
||||
<h1 data-ceremony-editor-title>创建祭祀活动</h1>
|
||||
@@ -42,17 +42,17 @@
|
||||
<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 class="active" href="profile-ceremony.html">祭祀活动</a
|
||||
><a href="profile-feed.html">发布动态</a>
|
||||
</aside>
|
||||
<div class="module-main">
|
||||
<section class="module-panel">
|
||||
<h2>活动信息</h2>
|
||||
<div class="api-empty" data-ceremony-editor-placeholder>正在加载活动编辑信息…</div>
|
||||
<form id="ceremony-edit-form" class="editor-form layui-form" data-ceremony-form data-ceremony-editor hidden>
|
||||
<div class="api-state api-state--loading" data-api-state="loading" data-ceremony-editor-placeholder role="status" aria-live="polite" aria-busy="true">正在加载活动编辑信息…</div>
|
||||
<form id="ceremony-edit-form" class="editor-form layui-form" data-ceremony-form data-ceremony-editor hidden novalidate>
|
||||
<div class="editor-two">
|
||||
<div class="editor-field">
|
||||
<label for="giftType">活动类型</label
|
||||
<label for="giftType">活动类型 <span class="field-required" aria-hidden="true">*</span></label
|
||||
><input id="giftType" name="ceremonyType" type="text" placeholder="请输入后端约定的活动类型" required />
|
||||
</div>
|
||||
<div class="editor-field">
|
||||
@@ -66,7 +66,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="editor-field">
|
||||
<label for="giftTitle">贺礼标题</label
|
||||
<label for="giftTitle">活动标题 <span class="field-required" aria-hidden="true">*</span></label
|
||||
><input id="giftTitle" name="ceremonyTitle" type="text" placeholder="请输入标题" required />
|
||||
</div>
|
||||
<div class="editor-field">
|
||||
@@ -93,11 +93,11 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="editor-field">
|
||||
<label for="giftContent">贺礼内容</label
|
||||
<label for="giftContent">活动说明</label
|
||||
><textarea class="js-rich-editor"
|
||||
id="giftContent"
|
||||
name="ceremonyDesc"
|
||||
placeholder="请输入贺礼内容"
|
||||
placeholder="请输入活动说明"
|
||||
></textarea>
|
||||
</div>
|
||||
<div class="editor-field">
|
||||
@@ -105,17 +105,17 @@
|
||||
<input id="giftCoverOssId" name="coverOssId" type="hidden" />
|
||||
<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>
|
||||
<p id="giftCoverStatus" class="upload-status" role="status" aria-live="polite">未选择文件</p>
|
||||
</div>
|
||||
<div class="editor-field">
|
||||
<label for="giftSortOrder">排序值</label
|
||||
><input id="giftSortOrder" name="sortOrder" type="number" step="1" placeholder="可选,数值越小越靠前" />
|
||||
</div>
|
||||
<input name="status" type="hidden" value="0" />
|
||||
<p class="upload-status" data-ceremony-form-status aria-live="polite"></p>
|
||||
<div class="upload-status" data-ceremony-form-status role="status" aria-live="polite"></div>
|
||||
<div class="bottom-actions">
|
||||
<button class="btn primary magnetic" type="submit">确定创建</button
|
||||
><a class="btn ghost magnetic" href="profile-gift.html"
|
||||
><a class="btn ghost magnetic" href="profile-ceremony.html"
|
||||
>取消</a
|
||||
>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user