Files
jiapu/profile-data.html
T
2026-07-11 11:03:47 +08:00

238 lines
10 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-profile-page>
<header class="site-header">
<div class="container nav">
<a class="brand magnetic" href="profile.html"
><img class="brand-logo" src="public/images/logo.png" alt="我们的家谱,代代相传" /></a
>
<nav class="nav-links">
<a href="profile.html">首页</a
><a href="profile-families.html">数字家谱</a
><a href="plaza.html">家谱广场</a
><a href="profile-content.html">家族文化</a
><a href="surname.html">姓氏百科</a><a href="app.html">应用下载</a
><a href="help.html">帮助中心</a><a href="about.html">关于我们</a>
</nav>
<div class="nav-actions">
<a class="active" href="profile.html">个人中心</a
><a class="btn primary magnetic" href="profile-create-family.html"
>创建家谱</a
>
</div>
</div>
</header>
<main>
<section class="module-hero">
<div class="container">
<div class="module-kicker">Profile Data</div>
<div class="module-title-row">
<div>
<h1>个人资料</h1>
<p>
管理个人资料、亲属关系和账号安全信息。
</p>
</div>
<a class="btn primary magnetic" href="#profile-edit-form"
>编辑资料</a
>
</div>
</div>
</section>
<section class="section">
<div class="container module-layout">
<aside class="module-nav">
<a href="profile-families.html">我的家谱</a
><a href="profile-messages.html">消息中心</a
><a href="profile-family-admin.html">家族管理</a
><a href="profile-content.html">内容发布</a
><a class="active" href="profile-data.html">个人资料</a
><a href="profile-services.html">帮助与服务</a>
</aside>
<div class="module-main">
<section class="module-panel">
<h2>编辑资料</h2>
<form class="editor-form profile-data-form" id="profile-edit-form" data-profile-form>
<div class="editor-two">
<div class="editor-field">
<label for="profileNickName">昵称</label>
<input
id="profileNickName"
name="nickName"
type="text"
autocomplete="nickname"
placeholder="请输入昵称"
/>
</div>
<div class="editor-field">
<label for="profileAvatarFile">头像</label>
<input
id="profileAvatarOssId"
name="avatarOssId"
type="hidden"
/>
<label class="upload-control" for="profileAvatarFile">选择头像文件</label>
<input
id="profileAvatarFile"
class="upload-input"
type="file"
accept="image/*"
data-upload-target="#profileAvatarOssId"
data-upload-status="#profileAvatarStatus"
data-upload-mode="auto"
data-upload-biz-type="avatar"
data-upload-usage-scene="profile_avatar"
/>
<p id="profileAvatarStatus" class="upload-status">未选择文件</p>
</div>
</div>
<div class="editor-two">
<div class="editor-field">
<label for="profileSex">性别</label>
<select id="profileSex" name="sex">
<option value="">请选择</option>
<option value="0"></option>
<option value="1"></option>
</select>
</div>
<div class="editor-field">
<label for="profileBirthday">出生日期</label>
<input id="profileBirthday" name="birthday" type="date" />
</div>
</div>
<div class="bottom-actions profile-form-actions">
<button class="btn primary magnetic" type="submit">保存资料</button>
<span class="form-status" data-profile-status></span>
</div>
</form>
</section>
<section class="module-panel">
<h2>基本资料</h2>
<div class="form-like">
<p>
<span>头像</span><b>已上传</b
><a class="link-btn" href="profile-data.html">更换</a>
</p>
<p>
<span>姓名</span><b data-profile-text="displayName">鹿野 Loyel</b
><a class="link-btn" href="profile-data.html">编辑</a>
</p>
<p>
<span>绑定账号</span><b data-profile-text="phone">已绑定</b
><a class="link-btn" href="profile-security.html">安全设置</a>
</p>
<p>
<span>血亲关系</span><b>第二代 顺字辈</b
><a class="link-btn" href="profile-family-admin.html"
>查看世系</a
>
</p>
</div>
</section>
<section class="module-panel">
<h2>个人信息</h2>
<div class="form-like">
<p>
<span>父亲</span><b>某某</b
><a class="link-btn" href="profile-data.html">编辑</a>
</p>
<p>
<span>出生日期</span><b data-profile-text="birthday">待选择</b
><a class="link-btn" href="profile-data.html">选择</a>
</p>
<p>
<span>现居地址</span><b data-profile-text="regionText">待填写</b
><a class="link-btn" href="profile-data.html">填写</a>
</p>
<p>
<span>微信 / QQ</span><b>待填写</b
><a class="link-btn" href="profile-data.html">填写</a>
</p>
<p>
<span>学历 / 职业</span><b>待填写</b
><a class="link-btn" href="profile-data.html">填写</a>
</p>
</div>
</section>
<section class="module-panel">
<h2>现居地区</h2>
<!-- 地区资料表单:字段对应 ProfileUpdateBody 的省市区编码。 -->
<form class="editor-form region-profile-form" data-region-profile-form>
<div class="region-picker profile-region-picker" data-region-picker>
<select class="input" name="provinceCode" data-region-level="province">
<option value="">请选择省</option>
</select>
<select class="input" name="cityCode" data-region-level="city">
<option value="">请选择市</option>
</select>
<select class="input" name="districtCode" data-region-level="district">
<option value="">请选择区县</option>
</select>
</div>
<div class="bottom-actions">
<button class="btn primary magnetic" type="submit">保存地区</button>
</div>
</form>
<form class="editor-form" data-region-search-form data-region-search-panel>
<div class="editor-two">
<div class="editor-field">
<label for="profileRegionKeyword">搜索地区</label>
<input id="profileRegionKeyword" name="regionKeyword" type="search" placeholder="地区名称或编码" />
</div>
<div class="bottom-actions">
<button class="btn ghost magnetic" type="submit">搜索</button>
</div>
</div>
</form>
<p class="api-status" data-region-search-path></p>
<div class="module-list" data-region-search-results></div>
</section>
<section class="module-panel">
<h2>亲属</h2>
<div class="module-list">
<div class="module-row">
<div>
<h3>张三</h3>
<p>父亲 · 已绑定成员资料</p>
</div>
<span class="pill">查看</span>
</div>
<div class="module-row">
<div>
<h3>张三</h3>
<p>父亲 · 未绑定账号</p>
</div>
<span class="pill">邀请激活</span>
</div>
</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="config.js"></script>
<script src="utils/StorageUtil.js"></script>
<script src="utils/FormUtil.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/region-pages.js"></script>
<script src="public/js/profile-pages.js"></script>
<script src="public/js/profile-common.js"></script>
<script src="public/js/page-effects.js"></script>
</body>
</html>