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.
456 lines
14 KiB
456 lines
14 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>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
html, body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'SF Pro Display', 'Helvetica Neue', 'Segoe UI', Roboto, sans-serif;
|
|
background: var(--youth-bg-page);
|
|
color: var(--youth-text-primary);
|
|
min-height: 100vh;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.app-container {
|
|
width: 375px;
|
|
height: 812px;
|
|
margin: 0 auto;
|
|
background: var(--youth-bg-page);
|
|
position: relative;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* ===== 状态栏 ===== */
|
|
.status-bar {
|
|
height: 36px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 20px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--youth-text-primary);
|
|
position: relative;
|
|
z-index: 10;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.status-bar .right-icons {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
|
|
/* ===== 导航栏 ===== */
|
|
.nav-bar {
|
|
height: 52px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0 16px;
|
|
position: relative;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.nav-btn {
|
|
width: 34px;
|
|
height: 34px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 12px;
|
|
background: var(--youth-gradient-matte-card);
|
|
border: 1px solid var(--youth-border-light);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
color: var(--youth-text-primary);
|
|
position: absolute;
|
|
left: 16px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.nav-btn:active {
|
|
transform: translateY(-50%) scale(0.95);
|
|
}
|
|
|
|
.nav-title {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: var(--youth-text-primary);
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
/* ===== 内容滚动区 ===== */
|
|
.content-scroll {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
.content-scroll::-webkit-scrollbar {
|
|
width: 0;
|
|
}
|
|
|
|
/* ===== 设置分组 ===== */
|
|
.group-title {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: var(--youth-text-tertiary);
|
|
padding: 14px 20px 6px;
|
|
}
|
|
|
|
.settings-group {
|
|
margin: 0 16px;
|
|
background: var(--youth-bg-card);
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.6);
|
|
border: 1px solid var(--youth-border-light);
|
|
position: relative;
|
|
}
|
|
|
|
.settings-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 13px 16px;
|
|
cursor: pointer;
|
|
position: relative;
|
|
}
|
|
|
|
.settings-item:active {
|
|
background-color: var(--youth-bg-hover);
|
|
}
|
|
|
|
.settings-item:not(:last-child)::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 52px;
|
|
right: 16px;
|
|
height: 1px;
|
|
background: var(--youth-border-light);
|
|
}
|
|
|
|
.settings-icon {
|
|
width: 30px;
|
|
height: 30px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-right: 12px;
|
|
flex-shrink: 0;
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.settings-icon svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.settings-label {
|
|
flex: 1;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--youth-text-primary);
|
|
}
|
|
|
|
.settings-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.settings-value {
|
|
font-size: 13px;
|
|
color: var(--youth-text-tertiary);
|
|
}
|
|
|
|
.settings-arrow {
|
|
color: var(--youth-text-quaternary);
|
|
}
|
|
|
|
.settings-arrow svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
/* 图标背景色 */
|
|
.icon-bg-teal { background: linear-gradient(135deg, #E5F7F6 0%, #CCEFEA 100%); color: #26C2BB; }
|
|
.icon-bg-green { background: linear-gradient(135deg, #E5FFF0 0%, #CCFFDE 100%); color: #52C41A; }
|
|
.icon-bg-orange { background: linear-gradient(135deg, #FFF5E5 0%, #FFE9CC 100%); color: #FAAD14; }
|
|
.icon-bg-red { background: linear-gradient(135deg, #FFE5E5 0%, #FFCCCC 100%); color: #F5222D; }
|
|
.icon-bg-purple { background: linear-gradient(135deg, #F0EEFF 0%, #DED9FF 100%); color: #7B61FF; }
|
|
.icon-bg-pink { background: linear-gradient(135deg, #FFE5F0 0%, #FFCCE0 100%); color: #FF6B9D; }
|
|
.icon-bg-blue { background: linear-gradient(135deg, #E5F0FF 0%, #CCE0FF 100%); color: #5385E5; }
|
|
.icon-bg-gray { background: linear-gradient(135deg, #F5F5F5 0%, #EBEBEB 100%); color: #8C8C8C; }
|
|
|
|
/* ===== 底部操作区 ===== */
|
|
.bottom-actions {
|
|
padding: 16px 16px 10px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.btn-primary {
|
|
width: 100%;
|
|
height: 44px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 12px;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
color: white;
|
|
background: linear-gradient(135deg, #3FCFCA 0%, #26C2BB 100%);
|
|
box-shadow: 0 2px 8px rgba(38, 194, 187, 0.25);
|
|
border: none;
|
|
position: relative;
|
|
overflow: hidden;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.btn-primary::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0; left: 0; right: 0;
|
|
height: 50%;
|
|
background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, transparent 100%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.btn-primary:active { transform: scale(0.98); }
|
|
|
|
.btn-secondary {
|
|
width: 100%;
|
|
height: 44px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 12px;
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
color: var(--youth-text-primary);
|
|
background: var(--youth-bg-card);
|
|
border: 1px solid var(--youth-border-light);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.btn-secondary:active { transform: scale(0.98); }
|
|
|
|
.btn-danger {
|
|
width: 100%;
|
|
height: 44px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 12px;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
color: #F5222D;
|
|
background: var(--youth-bg-card);
|
|
border: 1px solid rgba(245, 34, 45, 0.2);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.btn-danger:active { transform: scale(0.98); }
|
|
|
|
/* ===== 状态标签 ===== */
|
|
.status-tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 3px 10px;
|
|
border-radius: 999px;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.status-tag.teal {
|
|
background: rgba(38, 194, 187, 0.1);
|
|
color: #26C2BB;
|
|
}
|
|
|
|
.status-tag.green {
|
|
background: rgba(82, 196, 26, 0.1);
|
|
color: #52C41A;
|
|
}
|
|
|
|
.status-tag.orange {
|
|
background: rgba(250, 173, 20, 0.1);
|
|
color: #FAAD14;
|
|
}
|
|
|
|
.status-tag.gray {
|
|
background: var(--youth-bg-input);
|
|
color: var(--youth-text-tertiary);
|
|
}
|
|
|
|
/* ===== Toast ===== */
|
|
.toast {
|
|
position: fixed;
|
|
top: 100px;
|
|
left: 50%;
|
|
transform: translateX(-50%) translateY(-20px);
|
|
padding: 10px 20px;
|
|
background: rgba(26, 26, 26, 0.9);
|
|
color: white;
|
|
border-radius: 999px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
z-index: 999;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.toast.show {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
transform: translateX(-50%) translateY(0);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="app-container" style="height: 1000px;">
|
|
<!-- 状态栏 -->
|
|
<div class="status-bar">
|
|
<span>9:41</span>
|
|
<div class="right-icons">
|
|
<svg viewBox="0 0 24 24" fill="currentColor" width="16" height="12">
|
|
<rect x="0" y="8" width="3" height="4" rx="1" opacity="0.4"></rect>
|
|
<rect x="5" y="5" width="3" height="7" rx="1" opacity="0.6"></rect>
|
|
<rect x="10" y="2" width="3" height="10" rx="1" opacity="0.8"></rect>
|
|
<rect x="15" y="0" width="3" height="12" rx="1"></rect>
|
|
</svg>
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" width="16" height="12">
|
|
<path d="M12 19l-2-2M5 12l-2-2M19 12l2-2M8.5 8.5L7 7M15.5 8.5L17 7M12 5V3" stroke-linecap="round"></path>
|
|
</svg>
|
|
<svg viewBox="0 0 26 12" fill="none" width="26" height="12">
|
|
<rect x="0.5" y="0.5" width="22" height="11" rx="3" stroke="currentColor" opacity="0.5"></rect>
|
|
<rect x="2" y="2" width="19" height="8" rx="1.5" fill="currentColor"></rect>
|
|
<rect x="23.5" y="4" width="2" height="4" rx="1" fill="currentColor" opacity="0.5"></rect>
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
<!-- 导航栏 -->
|
|
<div class="nav-bar">
|
|
<button class="nav-btn" onclick="goBack()">
|
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
|
|
<polyline points="15 18 9 12 15 6"></polyline>
|
|
</svg>
|
|
</button>
|
|
<span class="nav-title">帮助与反馈</span>
|
|
</div>
|
|
<div class="content-scroll">
|
|
<div class="group-title">常见问题</div>
|
|
<div class="settings-group">
|
|
<div class="settings-item" onclick="showToast('如何进行学生认证?')">
|
|
|
|
<span class="settings-label">如何进行学生认证?</span>
|
|
<div class="settings-right">
|
|
<div class="settings-arrow"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg></div>
|
|
</div>
|
|
</div>
|
|
<div class="settings-item" onclick="showToast('忘记密码怎么办?')">
|
|
|
|
<span class="settings-label">忘记密码怎么办?</span>
|
|
<div class="settings-right">
|
|
<div class="settings-arrow"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg></div>
|
|
</div>
|
|
</div>
|
|
<div class="settings-item" onclick="showToast('如何修改个人资料?')">
|
|
|
|
<span class="settings-label">如何修改个人资料?</span>
|
|
<div class="settings-right">
|
|
<div class="settings-arrow"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg></div>
|
|
</div>
|
|
</div>
|
|
<div class="settings-item" onclick="showToast('积分怎么获得?')">
|
|
|
|
<span class="settings-label">积分怎么获得?</span>
|
|
<div class="settings-right">
|
|
<div class="settings-arrow"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="group-title">意见反馈</div>
|
|
<div class="settings-group">
|
|
<div class="settings-item" onclick="showToast('功能建议')">
|
|
|
|
<span class="settings-label">功能建议</span>
|
|
<div class="settings-right">
|
|
<div class="settings-arrow"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg></div>
|
|
</div>
|
|
</div>
|
|
<div class="settings-item" onclick="showToast('Bug反馈')">
|
|
|
|
<span class="settings-label">Bug反馈</span>
|
|
<div class="settings-right">
|
|
<div class="settings-arrow"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg></div>
|
|
</div>
|
|
</div>
|
|
<div class="settings-item" onclick="showToast('举报不良内容')">
|
|
|
|
<span class="settings-label">举报不良内容</span>
|
|
<div class="settings-right">
|
|
<div class="settings-arrow"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="group-title">联系我们</div>
|
|
<div class="settings-group">
|
|
<div class="settings-item" onclick="showToast('客服邮箱')">
|
|
|
|
<span class="settings-label">客服邮箱</span>
|
|
<div class="settings-right">
|
|
<span class="settings-value">support@youthome.cn</span>
|
|
<div class="settings-arrow"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<!-- Toast -->
|
|
<div class="toast" id="toast"></div>
|
|
|
|
<script>
|
|
function goBack() {
|
|
window.history.back();
|
|
}
|
|
|
|
let toastTimer = null;
|
|
function showToast(message) {
|
|
const toast = document.getElementById('toast');
|
|
toast.textContent = message;
|
|
toast.classList.add('show');
|
|
if (toastTimer) clearTimeout(toastTimer);
|
|
toastTimer = setTimeout(() => { toast.classList.remove('show'); }, 2000);
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|