Initial commit
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,118 @@
|
||||
<!doctype html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
{{template "seoCommon" .}}
|
||||
<title>编辑个人资料 - 黄果短剧</title>
|
||||
<meta
|
||||
name="description"
|
||||
content="编辑黄果短剧个人资料,更新昵称与个人简介,展示你的个性信息 - 黄果短剧"
|
||||
/>
|
||||
<meta name="keywords" content="编辑资料,昵称,个人简介,黄果短剧" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:title" content="编辑个人资料 - 黄果短剧" />
|
||||
<meta
|
||||
property="og:description"
|
||||
content="编辑黄果短剧个人资料,更新昵称与个人简介。"
|
||||
/>
|
||||
<link rel="stylesheet" href="/static/css/editProfile.css" />
|
||||
<link rel="stylesheet" href="/static/css/accountShared.css?v=11" />
|
||||
</head>
|
||||
<body class="site-shell edit-profile-layout is-edit-profile-page">
|
||||
{{template "header" .}}
|
||||
<main class="edit-profile-page">
|
||||
<h1 class="seo-visually-hidden">编辑个人资料</h1>
|
||||
<div class="edit-profile-pc">
|
||||
<nav class="setting-breadcrumb" aria-label="面包屑">
|
||||
<a class="setting-breadcrumb-link" href="/user-center/">个人中心</a>
|
||||
<span class="setting-breadcrumb-sep">/</span>
|
||||
<a class="setting-breadcrumb-link" href="/setting/">账号设置</a>
|
||||
<span class="setting-breadcrumb-sep">/</span>
|
||||
<span class="setting-breadcrumb-current">编辑资料</span>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="edit-profile-h5">
|
||||
<div class="edit-profile-h5-nav">
|
||||
<a
|
||||
class="edit-profile-h5-back"
|
||||
href="javascript:history.back()"
|
||||
aria-label="返回"
|
||||
>
|
||||
<img src="/static/images/back.svg" alt="返回" />
|
||||
</a>
|
||||
<div class="edit-profile-h5-nav-title">编辑个人资料</div>
|
||||
<div class="edit-profile-h5-nav-spacer" aria-hidden="true"></div>
|
||||
</div>
|
||||
|
||||
<form
|
||||
class="edit-profile-h5-body"
|
||||
action="/edit-profile/"
|
||||
method="post"
|
||||
data-edit-profile-form
|
||||
novalidate
|
||||
>
|
||||
<div class="edit-profile-avatar-card">
|
||||
<span class="edit-profile-avatar-text">
|
||||
<span class="edit-profile-avatar-title">个人头像</span>
|
||||
<!-- <span class="edit-profile-avatar-desc">点击头像可重新上传</span>-->
|
||||
</span>
|
||||
<span class="edit-profile-avatar-wrap" aria-hidden="true">
|
||||
{{if .profile.Avatar}}
|
||||
<img
|
||||
class="edit-profile-avatar lazy"
|
||||
src="/static/images/placeholder.png?v=2"
|
||||
data-src="{{.profile.Avatar}}"
|
||||
alt="当前用户头像"
|
||||
/>
|
||||
{{else}}
|
||||
<img
|
||||
class="edit-profile-avatar"
|
||||
src="/static/images/avatar.png"
|
||||
alt="默认用户头像"
|
||||
/>
|
||||
{{end}}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<label class="edit-profile-field">
|
||||
<span class="edit-profile-field-label">昵称</span>
|
||||
<input
|
||||
class="edit-profile-field-input"
|
||||
type="text"
|
||||
name="nickname"
|
||||
value="{{.profile.NickName}}"
|
||||
maxlength="20"
|
||||
data-edit-profile-nickname
|
||||
/>
|
||||
</label>
|
||||
|
||||
<label class="edit-profile-field edit-profile-field--bio">
|
||||
<span class="edit-profile-field-label">个人简介</span>
|
||||
<textarea
|
||||
class="edit-profile-field-input edit-profile-field-input--bio"
|
||||
name="introduction"
|
||||
rows="2"
|
||||
maxlength="120"
|
||||
placeholder="分享你的追剧偏好"
|
||||
data-edit-profile-bio
|
||||
>
|
||||
{{.profile.Introduction}}</textarea
|
||||
>
|
||||
</label>
|
||||
|
||||
<button
|
||||
class="edit-profile-submit"
|
||||
type="submit"
|
||||
data-edit-profile-submit
|
||||
>
|
||||
保存修改
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</main>
|
||||
{{template "footer" .}}
|
||||
<script src="/static/js/pages/editProfile.js?v=2"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user