You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
578 lines
16 KiB
578 lines
16 KiB
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=375, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
<title>青核 Youthome - 实名认证失败</title>
|
|
<link rel="stylesheet" href="../colors_and_type.css">
|
|
<style>
|
|
/* ============================================================
|
|
* 实名认证失败页 - Traework 设计系统规范
|
|
* 浅色/深色双主题
|
|
* ============================================================ */
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
html, body {
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'SF Pro Display', 'Helvetica Neue', sans-serif;
|
|
background: var(--youth-bg-page);
|
|
color: var(--youth-text-primary);
|
|
min-height: 100vh;
|
|
overflow-x: hidden;
|
|
transition: background 0.3s ease, color 0.3s ease;
|
|
}
|
|
|
|
/* 页面容器 */
|
|
.page-container {
|
|
width: 375px;
|
|
min-height: 812px;
|
|
margin: 0 auto;
|
|
background: var(--youth-bg-page);
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* ============================================================
|
|
* 状态栏
|
|
* ============================================================ */
|
|
.status-bar {
|
|
height: 44px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 16px;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: var(--youth-text-primary);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.status-bar .right-icons {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
/* ============================================================
|
|
* 顶部导航栏
|
|
* ============================================================ */
|
|
.top-nav {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 4px;
|
|
height: 44px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.nav-left,
|
|
.nav-right {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.nav-btn {
|
|
width: 36px;
|
|
height: 36px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 50%;
|
|
color: var(--youth-text-primary);
|
|
cursor: pointer;
|
|
transition: background 0.2s ease;
|
|
border: none;
|
|
background: transparent;
|
|
}
|
|
|
|
.nav-btn:active {
|
|
background: var(--youth-bg-hover);
|
|
}
|
|
|
|
.nav-btn svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
stroke-width: 2;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
|
|
.nav-title {
|
|
font-size: 17px;
|
|
font-weight: 600;
|
|
color: var(--youth-text-primary);
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
/* ============================================================
|
|
* 内容区
|
|
* ============================================================ */
|
|
.content {
|
|
flex: 1;
|
|
padding: 0 16px 24px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* 状态展示区 */
|
|
.status-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 40px 0 32px;
|
|
}
|
|
|
|
.status-icon {
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 50%;
|
|
background: var(--youth-danger-50, #FFF1F0);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 20px;
|
|
position: relative;
|
|
}
|
|
|
|
.status-icon::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: -8px;
|
|
border-radius: 50%;
|
|
background: var(--youth-danger-50, #FFF1F0);
|
|
opacity: 0.5;
|
|
z-index: -1;
|
|
}
|
|
|
|
.status-icon svg {
|
|
width: 40px;
|
|
height: 40px;
|
|
stroke: var(--youth-danger-500, #F5222D);
|
|
fill: none;
|
|
stroke-width: 2;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
|
|
.status-title {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: var(--youth-text-primary);
|
|
margin-bottom: 8px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.status-subtitle {
|
|
font-size: 14px;
|
|
color: var(--youth-text-tertiary);
|
|
line-height: 1.5;
|
|
text-align: center;
|
|
max-width: 280px;
|
|
}
|
|
|
|
/* 原因卡片 */
|
|
.reason-card {
|
|
background: var(--youth-bg-card);
|
|
border-radius: 12px;
|
|
padding: 16px;
|
|
margin-bottom: 24px;
|
|
box-shadow: 0 2px 12px var(--youth-shadow-card, rgba(0, 0, 0, 0.04));
|
|
border: 1px solid var(--youth-border-light, #F0F1F3);
|
|
}
|
|
|
|
.reason-card-title {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: var(--youth-text-primary);
|
|
margin-bottom: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.reason-card-title .title-dot {
|
|
width: 3px;
|
|
height: 14px;
|
|
border-radius: 2px;
|
|
background: var(--youth-gradient-primary);
|
|
}
|
|
|
|
.reason-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.reason-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
}
|
|
|
|
.reason-icon {
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 50%;
|
|
background: var(--youth-danger-50, #FFF1F0);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
margin-top: 1px;
|
|
}
|
|
|
|
.reason-icon svg {
|
|
width: 10px;
|
|
height: 10px;
|
|
stroke: var(--youth-danger-500, #F5222D);
|
|
fill: none;
|
|
stroke-width: 2.5;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
|
|
.reason-text {
|
|
font-size: 14px;
|
|
color: var(--youth-text-secondary);
|
|
line-height: 1.5;
|
|
flex: 1;
|
|
}
|
|
|
|
/* 操作区 */
|
|
.action-section {
|
|
margin-top: auto;
|
|
padding-top: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 14px;
|
|
}
|
|
|
|
.btn-primary {
|
|
width: 100%;
|
|
height: 44px;
|
|
border-radius: 8px;
|
|
background: var(--youth-gradient-primary);
|
|
color: #FFFFFF;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
box-shadow: 0 2px 8px rgba(38, 194, 187, 0.25);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.btn-primary:active {
|
|
transform: scale(0.98);
|
|
box-shadow: 0 1px 4px rgba(38, 194, 187, 0.2);
|
|
}
|
|
|
|
.btn-secondary {
|
|
width: 100%;
|
|
height: 44px;
|
|
border-radius: 8px;
|
|
background: transparent;
|
|
color: var(--youth-primary);
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
border: 1px solid var(--youth-primary-border, #B3E8E4);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.btn-secondary:active {
|
|
background: var(--youth-primary-bg);
|
|
}
|
|
|
|
.btn-secondary svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
stroke-width: 2;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
|
|
.bottom-tip {
|
|
font-size: 12px;
|
|
color: var(--youth-text-tertiary);
|
|
line-height: 1.5;
|
|
text-align: center;
|
|
padding-top: 4px;
|
|
max-width: 280px;
|
|
}
|
|
|
|
/* ============================================================
|
|
* 深色主题
|
|
* ============================================================ */
|
|
[data-theme="dark"] .status-icon {
|
|
background: rgba(245, 34, 45, 0.15);
|
|
}
|
|
|
|
[data-theme="dark"] .status-icon::before {
|
|
background: rgba(245, 34, 45, 0.08);
|
|
}
|
|
|
|
[data-theme="dark"] .status-icon svg {
|
|
stroke: #FF4D4F;
|
|
}
|
|
|
|
[data-theme="dark"] .reason-icon {
|
|
background: rgba(245, 34, 45, 0.15);
|
|
}
|
|
|
|
[data-theme="dark"] .reason-icon svg {
|
|
stroke: #FF4D4F;
|
|
}
|
|
|
|
[data-theme="dark"] .btn-secondary {
|
|
border-color: rgba(38, 194, 187, 0.3);
|
|
background: rgba(38, 194, 187, 0.08);
|
|
}
|
|
|
|
[data-theme="dark"] .btn-secondary:active {
|
|
background: rgba(38, 194, 187, 0.15);
|
|
}
|
|
|
|
/* 主题切换按钮(演示用) */
|
|
.theme-toggle {
|
|
position: absolute;
|
|
top: 4px;
|
|
right: 4px;
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
background: var(--youth-bg-card);
|
|
border: 1px solid var(--youth-border-light, #F0F1F3);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
z-index: 10;
|
|
box-shadow: 0 2px 8px var(--youth-shadow-card, rgba(0, 0, 0, 0.04));
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.theme-toggle:active {
|
|
transform: scale(0.9);
|
|
}
|
|
|
|
.theme-toggle svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
stroke: var(--youth-text-secondary);
|
|
fill: none;
|
|
stroke-width: 2;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body data-theme="light">
|
|
<div class="page-container">
|
|
<!-- 主题切换按钮(演示) -->
|
|
<button class="theme-toggle" id="themeToggle" aria-label="切换主题">
|
|
<svg class="icon-sun" viewBox="0 0 24 24">
|
|
<circle cx="12" cy="12" r="4"></circle>
|
|
<path d="M12 2v2"></path>
|
|
<path d="M12 20v2"></path>
|
|
<path d="m4.93 4.93 1.41 1.41"></path>
|
|
<path d="m17.66 17.66 1.41 1.41"></path>
|
|
<path d="M2 12h2"></path>
|
|
<path d="M20 12h2"></path>
|
|
<path d="m6.34 17.66-1.41 1.41"></path>
|
|
<path d="m19.07 4.93-1.41 1.41"></path>
|
|
</svg>
|
|
</button>
|
|
|
|
<!-- 状态栏 -->
|
|
<div class="status-bar">
|
|
<span>9:41</span>
|
|
<div class="right-icons">
|
|
<svg width="17" height="11" viewBox="0 0 17 11" fill="currentColor">
|
|
<rect x="0" y="7" width="3" height="4" rx="0.5"></rect>
|
|
<rect x="4.5" y="5" width="3" height="6" rx="0.5"></rect>
|
|
<rect x="9" y="2.5" width="3" height="8.5" rx="0.5"></rect>
|
|
<rect x="13.5" y="0" width="3" height="11" rx="0.5"></rect>
|
|
</svg>
|
|
<svg width="15" height="11" viewBox="0 0 15 11" fill="currentColor">
|
|
<path d="M7.5 1C5.3 1 3.2 1.7 1.5 3C-0.5 4.7 -0.5 7.5 1.5 9.2C1.9 9.6 2.5 9.6 2.9 9.2C3.3 8.8 3.3 8.2 2.9 7.8C1.6 6.5 1.6 4.4 2.9 3.1C4.2 1.8 6.3 1.4 8 2C10.1 2.7 11.7 4.4 12.2 6.5C12.5 7.3 12.4 8.1 11.8 8.7C11.4 9.1 11.4 9.7 11.8 10.1C12.2 10.5 12.8 10.5 13.2 10.1C14.2 9.1 14.5 7.7 14.2 6.3C13.6 4 12.1 2.3 10.2 1.3C9.3 1 8.4 0.9 7.5 1Z"></path>
|
|
</svg>
|
|
<svg width="25" height="12" viewBox="0 0 25 12" fill="none">
|
|
<rect x="0.5" y="0.5" width="21" height="11" rx="2.5" stroke="currentColor" opacity="0.5"></rect>
|
|
<rect x="2" y="2" width="18" height="8" rx="1.5" fill="currentColor"></rect>
|
|
<rect x="22.5" y="4" width="1.5" height="4" rx="0.5" fill="currentColor" opacity="0.5"></rect>
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 顶部导航栏 -->
|
|
<div class="top-nav">
|
|
<div class="nav-left">
|
|
<button class="nav-btn" id="btn-back" aria-label="返回">
|
|
<svg viewBox="0 0 24 24">
|
|
<path d="M15 18 9 12l6-6"></path>
|
|
</svg>
|
|
</button>
|
|
</div>
|
|
<div class="nav-title">实名认证失败</div>
|
|
<div class="nav-right">
|
|
<div style="width: 36px;"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 内容区 -->
|
|
<div class="content">
|
|
<!-- 状态展示区 -->
|
|
<div class="status-section">
|
|
<div class="status-icon">
|
|
<svg viewBox="0 0 24 24">
|
|
<circle cx="12" cy="12" r="10"></circle>
|
|
<line x1="15" y1="9" x2="9" y2="15"></line>
|
|
<line x1="9" y1="9" x2="15" y2="15"></line>
|
|
</svg>
|
|
</div>
|
|
<div class="status-title">实名认证未通过</div>
|
|
<div class="status-subtitle">请检查学籍报告信息后重新提交</div>
|
|
</div>
|
|
|
|
<!-- 失败原因卡片 -->
|
|
<div class="reason-card">
|
|
<div class="reason-card-title">
|
|
<span class="title-dot"></span>
|
|
失败原因
|
|
</div>
|
|
<div class="reason-list">
|
|
<div class="reason-item">
|
|
<div class="reason-icon">
|
|
<svg viewBox="0 0 24 24">
|
|
<line x1="18" y1="6" x2="6" y2="18"></line>
|
|
<line x1="6" y1="6" x2="18" y2="18"></line>
|
|
</svg>
|
|
</div>
|
|
<div class="reason-text">学籍报告不清晰</div>
|
|
</div>
|
|
<div class="reason-item">
|
|
<div class="reason-icon">
|
|
<svg viewBox="0 0 24 24">
|
|
<line x1="18" y1="6" x2="6" y2="18"></line>
|
|
<line x1="6" y1="6" x2="18" y2="18"></line>
|
|
</svg>
|
|
</div>
|
|
<div class="reason-text">姓名与证件信息不一致</div>
|
|
</div>
|
|
<div class="reason-item">
|
|
<div class="reason-icon">
|
|
<svg viewBox="0 0 24 24">
|
|
<line x1="18" y1="6" x2="6" y2="18"></line>
|
|
<line x1="6" y1="6" x2="18" y2="18"></line>
|
|
</svg>
|
|
</div>
|
|
<div class="reason-text">学号信息无法识别</div>
|
|
</div>
|
|
<div class="reason-item">
|
|
<div class="reason-icon">
|
|
<svg viewBox="0 0 24 24">
|
|
<line x1="18" y1="6" x2="6" y2="18"></line>
|
|
<line x1="6" y1="6" x2="18" y2="18"></line>
|
|
</svg>
|
|
</div>
|
|
<div class="reason-text">报告已过期</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 操作区 -->
|
|
<div class="action-section">
|
|
<button class="btn-primary" id="btn-reupload">
|
|
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path>
|
|
<polyline points="17 8 12 3 7 8"></polyline>
|
|
<line x1="12" y1="3" x2="12" y2="15"></line>
|
|
</svg>
|
|
重新上传学籍报告
|
|
</button>
|
|
<button class="btn-secondary" id="btn-help">
|
|
<svg viewBox="0 0 24 24">
|
|
<circle cx="12" cy="12" r="10"></circle>
|
|
<path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
|
|
<line x1="12" y1="17" x2="12.01" y2="17"></line>
|
|
</svg>
|
|
查看认证帮助
|
|
</button>
|
|
<div class="bottom-tip">
|
|
认证信息仅用于校园真实身份核验,不会公开展示
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
// 返回按钮
|
|
document.getElementById('btn-back').addEventListener('click', function() {
|
|
console.log('返回上一页');
|
|
if (window.history.length > 1) {
|
|
window.history.back();
|
|
}
|
|
});
|
|
|
|
// 重新上传
|
|
document.getElementById('btn-reupload').addEventListener('click', function() {
|
|
console.log('重新上传学籍报告 - 进入上传流程');
|
|
});
|
|
|
|
// 查看帮助
|
|
document.getElementById('btn-help').addEventListener('click', function() {
|
|
console.log('查看认证帮助');
|
|
});
|
|
|
|
// 主题切换(演示用)
|
|
const themeToggle = document.getElementById('themeToggle');
|
|
themeToggle.addEventListener('click', function() {
|
|
const body = document.body;
|
|
const current = body.getAttribute('data-theme');
|
|
const next = current === 'light' ? 'dark' : 'light';
|
|
body.setAttribute('data-theme', next);
|
|
|
|
// 切换图标
|
|
const sunIcon = this.querySelector('.icon-sun');
|
|
if (next === 'dark') {
|
|
sunIcon.innerHTML = `
|
|
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
|
|
`;
|
|
} else {
|
|
sunIcon.innerHTML = `
|
|
<circle cx="12" cy="12" r="4"></circle>
|
|
<path d="M12 2v2"></path>
|
|
<path d="M12 20v2"></path>
|
|
<path d="m4.93 4.93 1.41 1.41"></path>
|
|
<path d="m17.66 17.66 1.41 1.41"></path>
|
|
<path d="M2 12h2"></path>
|
|
<path d="M20 12h2"></path>
|
|
<path d="m6.34 17.66-1.41 1.41"></path>
|
|
<path d="m19.07 4.93-1.41 1.41"></path>
|
|
`;
|
|
}
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|