130 lines
6.7 KiB
HTML
130 lines
6.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-video-edit-page>
|
|
<header class="site-header">
|
|
<div class="container nav">
|
|
<a class="brand magnetic" href="index.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-video.html" data-genealogy-context-link>视频</a>
|
|
</nav>
|
|
<div class="nav-actions">
|
|
<a href="profile-video.html" data-genealogy-context-link>返回视频列表</a>
|
|
<button class="btn primary magnetic" type="submit" form="video-edit-form" data-video-management hidden>保存视频</button>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<main>
|
|
<section class="module-hero">
|
|
<div class="container">
|
|
<div class="module-kicker">编辑视频</div>
|
|
<div class="module-title-row">
|
|
<div>
|
|
<h1 data-video-editor-title>发布视频</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 class="active" href="profile-video.html" data-genealogy-context-link>视频</a>
|
|
<a href="profile-family-home.html" data-genealogy-context-link>家谱主页</a>
|
|
</aside>
|
|
<div class="module-main">
|
|
<section class="module-panel">
|
|
<h2>视频内容</h2>
|
|
<form id="video-edit-form" class="editor-form" data-video-form data-video-management hidden novalidate>
|
|
<div class="editor-field">
|
|
<label for="video-title">视频标题 <span class="field-required" aria-hidden="true">*</span></label>
|
|
<input id="video-title" name="videoTitle" type="text" placeholder="请输入视频标题" required />
|
|
</div>
|
|
<div class="editor-field">
|
|
<label for="video-description">视频说明</label>
|
|
<textarea id="video-description" name="videoDesc" placeholder="可选,记录视频内容"></textarea>
|
|
</div>
|
|
<div class="editor-two">
|
|
<div class="editor-field">
|
|
<label for="video-file">视频文件 <span class="field-required" aria-hidden="true">*</span></label>
|
|
<input id="video-oss-id" name="videoOssId" type="hidden" />
|
|
<label class="upload-control" for="video-file">选择视频文件</label>
|
|
<input
|
|
id="video-file"
|
|
class="upload-input"
|
|
type="file"
|
|
accept="video/*"
|
|
data-upload-target="#video-oss-id"
|
|
data-upload-status="#video-file-status"
|
|
data-video-duration-target="#video-duration"
|
|
/>
|
|
<p id="video-file-status" class="upload-status" data-video-file-status role="status" aria-live="polite">请选择视频文件</p>
|
|
</div>
|
|
<div class="editor-field">
|
|
<label for="video-cover-file">封面图片</label>
|
|
<input id="video-cover-oss-id" name="coverOssId" type="hidden" />
|
|
<label class="upload-control" for="video-cover-file">选择封面图片</label>
|
|
<input
|
|
id="video-cover-file"
|
|
class="upload-input"
|
|
type="file"
|
|
accept="image/*"
|
|
data-upload-target="#video-cover-oss-id"
|
|
data-upload-status="#video-cover-status"
|
|
/>
|
|
<p id="video-cover-status" class="upload-status" data-video-cover-status role="status" aria-live="polite">未选择封面</p>
|
|
</div>
|
|
</div>
|
|
<div class="editor-two">
|
|
<div class="editor-field">
|
|
<label for="video-duration">视频时长(秒)</label>
|
|
<input id="video-duration" name="durationSeconds" type="number" step="1" min="0" readonly />
|
|
<p class="upload-status">选择视频后自动读取,不会要求手工填写。</p>
|
|
</div>
|
|
<div class="editor-field">
|
|
<label for="video-sort-order">排序值</label>
|
|
<input id="video-sort-order" name="sortOrder" type="number" step="1" placeholder="可选,数值越小越靠前" />
|
|
</div>
|
|
</div>
|
|
<input name="status" type="hidden" value="0" />
|
|
<div class="form-status" data-video-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-video.html" data-genealogy-context-link>取消</a>
|
|
</div>
|
|
</form>
|
|
<div class="api-state api-state--loading" data-api-state="loading" data-video-permission-placeholder role="status" aria-live="polite" aria-busy="true">正在核对视频维护权限…</div>
|
|
</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/profile-common.js?v=20260725-entry"></script>
|
|
<script src="config.js"></script>
|
|
<script src="utils/StorageUtil.js"></script>
|
|
<script src="utils/axios.js"></script>
|
|
<script src="utils/AxiosRequestUtil.js"></script>
|
|
<script src="utils/ApiClient.js"></script>
|
|
<script src="public/js/md5.js"></script>
|
|
<script src="public/js/upload-pages.js"></script>
|
|
<script src="public/js/media-display.js"></script>
|
|
<script src="public/js/video-pages.js"></script>
|
|
<script src="public/js/page-effects.js"></script>
|
|
</body>
|
|
</html>
|