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.
1424 lines
40 KiB
1424 lines
40 KiB
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>帮助与反馈 - 青核 Youthome</title>
|
|
<style>
|
|
/* ============================================================
|
|
设计系统变量
|
|
============================================================ */
|
|
:root {
|
|
--primary: #17B0CF;
|
|
--primary-hover: #1298B3;
|
|
--primary-active: #0E8098;
|
|
--primary-bg: rgba(23, 176, 207, 0.1);
|
|
--primary-light: #73D3E6;
|
|
--primary-lighter: #BCEAF3;
|
|
|
|
--bg-page: #FAFAFA;
|
|
--bg-card: #FFFFFF;
|
|
--bg-sidebar: #FFFFFF;
|
|
--bg-hover: #F5F5F5;
|
|
--bg-active: rgba(23, 176, 207, 0.08);
|
|
|
|
--text-primary: #333333;
|
|
--text-secondary: #666666;
|
|
--text-tertiary: #999999;
|
|
--text-placeholder: #CCCCCC;
|
|
--text-white: #FFFFFF;
|
|
|
|
--border: #F0F0F0;
|
|
--border-light: #F5F5F5;
|
|
--border-focus: var(--primary);
|
|
|
|
--success: #52C41A;
|
|
--success-bg: #F6FFED;
|
|
--warning: #FAAD14;
|
|
--warning-bg: #FFFBE6;
|
|
--error: #F5222D;
|
|
--error-bg: #FFF1F0;
|
|
|
|
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.03);
|
|
--shadow-card: 0 2px 12px rgba(0, 0, 0, 0.04);
|
|
--shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
|
|
--shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
|
|
|
|
--radius-sm: 8px;
|
|
--radius-md: 12px;
|
|
--radius-lg: 16px;
|
|
--radius-xl: 20px;
|
|
--radius-full: 9999px;
|
|
|
|
--sidebar-width: 240px;
|
|
--topbar-height: 56px;
|
|
--control-height: 44px;
|
|
--page-width: 1920px;
|
|
--search-width: 360px;
|
|
--search-height: 36px;
|
|
--nav-item-height: 48px;
|
|
--page-padding-x: 24px;
|
|
--card-padding: 20px;
|
|
--transition-fast: 0.15s ease;
|
|
--transition-base: 0.2s ease;
|
|
--transition-slow: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html, body {
|
|
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
|
|
background: var(--bg-page);
|
|
color: var(--text-primary);
|
|
font-size: 14px;
|
|
line-height: 1.6;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
a {
|
|
color: var(--primary);
|
|
text-decoration: none;
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--primary-hover);
|
|
}
|
|
|
|
button {
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
border: none;
|
|
outline: none;
|
|
background: none;
|
|
}
|
|
|
|
input, textarea, select {
|
|
font-family: inherit;
|
|
outline: none;
|
|
}
|
|
|
|
svg {
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
|
|
/* ============================================================
|
|
全局布局
|
|
============================================================ */
|
|
.app {
|
|
width: 1920px
|
|
max-width: 100%;
|
|
overflow: hidden;;
|
|
min-height: 100vh;
|
|
margin: 0 auto;
|
|
position: relative;
|
|
background: var(--bg-page);
|
|
}
|
|
|
|
/* ============================================================
|
|
左侧边栏
|
|
============================================================ */
|
|
.sidebar {
|
|
position: fixed;
|
|
left: 50%;
|
|
top: 0;
|
|
transform: translateX(-960px);
|
|
width: var(--sidebar-width);
|
|
height: 100vh;
|
|
background: var(--bg-sidebar);
|
|
border-right: 1px solid var(--border);
|
|
display: flex;
|
|
flex-direction: column;
|
|
z-index: 100;
|
|
}
|
|
|
|
.sidebar-logo {
|
|
padding: 24px 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
border-bottom: 1px solid var(--border-light);
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.sidebar-logo-icon {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 10px;
|
|
background: linear-gradient(135deg, var(--primary-light), var(--primary));
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #fff;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
flex-shrink: 0;
|
|
box-shadow: 0 4px 12px rgba(23, 176, 207, 0.25);
|
|
}
|
|
|
|
.sidebar-logo-text .main {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.sidebar-logo-text .sub {
|
|
font-size: 11px;
|
|
color: var(--text-tertiary);
|
|
margin-top: 1px;
|
|
}
|
|
|
|
/* 发布按钮 */
|
|
.sidebar-publish {
|
|
padding: 16px 16px 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.publish-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
height: 44px;
|
|
background: var(--primary);
|
|
color: #fff;
|
|
border-radius: 12px;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all var(--transition-base);
|
|
box-shadow: 0 4px 12px rgba(23, 176, 207, 0.25);
|
|
width: 100%;
|
|
}
|
|
|
|
.publish-btn:hover {
|
|
opacity: 0.92;
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 6px 16px rgba(23, 176, 207, 0.35);
|
|
}
|
|
|
|
.publish-btn svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.publish-btn .publish-arrow {
|
|
width: 16px;
|
|
height: 16px;
|
|
opacity: 0.8;
|
|
transition: transform var(--transition-base);
|
|
}
|
|
|
|
.publish-btn:hover .publish-arrow {
|
|
transform: translateY(1px);
|
|
}
|
|
|
|
.publish-dropdown {
|
|
display: none;
|
|
margin-top: 6px;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-light);
|
|
border-radius: 12px;
|
|
padding: 6px;
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.sidebar-publish:hover .publish-dropdown {
|
|
display: block;
|
|
}
|
|
|
|
.publish-option {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 10px 12px;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: background var(--transition-fast);
|
|
}
|
|
|
|
.publish-option:hover {
|
|
background: var(--bg-hover);
|
|
}
|
|
|
|
.publish-option svg {
|
|
width: 22px;
|
|
height: 22px;
|
|
color: var(--primary);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.publish-option-title {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.publish-option-desc {
|
|
font-size: 11px;
|
|
color: var(--text-tertiary);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* 导航 */
|
|
.sidebar-nav {
|
|
flex: 1;
|
|
padding: 8px 12px 16px;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.nav-section-title {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--text-tertiary);
|
|
padding: 12px 12px 8px;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.nav-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 10px 12px;
|
|
border-radius: 10px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.nav-item:hover {
|
|
background: var(--bg-hover);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.nav-item.active {
|
|
background: var(--primary-bg);
|
|
color: var(--primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.nav-item svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.nav-item-label {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex: 1;
|
|
}
|
|
|
|
.nav-badge {
|
|
min-width: 18px;
|
|
height: 18px;
|
|
padding: 0 5px;
|
|
background: #FF4D4F;
|
|
color: #fff;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
border-radius: 9px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
line-height: 1;
|
|
}
|
|
|
|
/* 侧边栏底部用户 */
|
|
.sidebar-footer {
|
|
padding: 16px;
|
|
border-top: 1px solid var(--border-light);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.sidebar-user {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 10px;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
background: var(--primary-bg);
|
|
}
|
|
|
|
.sidebar-avatar {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(135deg, var(--primary-light), var(--primary));
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #fff;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.sidebar-user-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.sidebar-user-name {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.sidebar-user-desc {
|
|
font-size: 11px;
|
|
color: var(--text-tertiary);
|
|
margin-top: 1px;
|
|
}
|
|
|
|
.sidebar-user-arrow {
|
|
width: 16px;
|
|
height: 16px;
|
|
color: var(--text-tertiary);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* ============================================================
|
|
主内容区
|
|
============================================================ */
|
|
.main-content {
|
|
margin-left: calc(50% - 960px + var(--sidebar-width));
|
|
margin-right: calc(50% - 960px);
|
|
padding: 24px 40px 40px;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.content-wrapper {
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* ============================================================
|
|
页面头部
|
|
============================================================ */
|
|
.page-header {
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.page-title {
|
|
font-size: 26px;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.page-subtitle {
|
|
font-size: 14px;
|
|
color: var(--text-tertiary);
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.search-bar {
|
|
position: relative;
|
|
max-width: 480px;
|
|
}
|
|
|
|
.search-bar input {
|
|
width: 100%;
|
|
height: 44px;
|
|
padding: 0 16px 0 44px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
font-size: 14px;
|
|
color: var(--text-primary);
|
|
background: var(--bg-card);
|
|
transition: all var(--transition-fast);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.search-bar input:hover {
|
|
border-color: var(--text-tertiary);
|
|
}
|
|
|
|
.search-bar input:focus {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 3px rgba(23, 176, 207, 0.12);
|
|
}
|
|
|
|
.search-bar input::placeholder {
|
|
color: var(--text-placeholder);
|
|
}
|
|
|
|
.search-bar svg {
|
|
position: absolute;
|
|
left: 14px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 20px;
|
|
height: 20px;
|
|
color: var(--text-tertiary);
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* ============================================================
|
|
快速帮助分类
|
|
============================================================ */
|
|
.help-categories {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 16px;
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.category-card {
|
|
background: var(--bg-card);
|
|
border-radius: var(--radius-lg);
|
|
padding: 22px 20px;
|
|
border: 1px solid var(--border-light);
|
|
cursor: pointer;
|
|
transition: all var(--transition-base);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.category-card:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: var(--shadow-md);
|
|
border-color: var(--primary-lighter);
|
|
}
|
|
|
|
.category-icon {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.category-icon svg {
|
|
width: 24px;
|
|
height: 24px;
|
|
color: #fff;
|
|
}
|
|
|
|
.category-icon.icon-shield {
|
|
background: linear-gradient(135deg, var(--primary-light), var(--primary));
|
|
}
|
|
|
|
.category-icon.icon-file {
|
|
background: linear-gradient(135deg, #FFD4A3, #FF9F45);
|
|
}
|
|
|
|
.category-icon.icon-bell {
|
|
background: linear-gradient(135deg, #B5D8FF, #4A90FF);
|
|
}
|
|
|
|
.category-icon.icon-book {
|
|
background: linear-gradient(135deg, #D4B5FF, #9254DE);
|
|
}
|
|
|
|
.category-title {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.category-desc {
|
|
font-size: 12px;
|
|
color: var(--text-tertiary);
|
|
}
|
|
|
|
/* ============================================================
|
|
标签页
|
|
============================================================ */
|
|
.tabs-container {
|
|
background: var(--bg-card);
|
|
border-radius: var(--radius-lg);
|
|
border: 1px solid var(--border-light);
|
|
box-shadow: var(--shadow-sm);
|
|
margin-bottom: 28px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.tabs-header {
|
|
display: flex;
|
|
padding: 0 24px;
|
|
border-bottom: 1px solid var(--border-light);
|
|
background: var(--bg-card);
|
|
}
|
|
|
|
.tab-item {
|
|
padding: 16px 24px;
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
position: relative;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.tab-item:hover {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.tab-item.active {
|
|
color: var(--primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.tab-item.active::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 24px;
|
|
right: 24px;
|
|
height: 2px;
|
|
background: var(--primary);
|
|
border-radius: 1px;
|
|
}
|
|
|
|
.tab-content {
|
|
padding: 24px;
|
|
}
|
|
|
|
.tab-pane {
|
|
display: none;
|
|
}
|
|
|
|
.tab-pane.active {
|
|
display: block;
|
|
}
|
|
|
|
/* ============================================================
|
|
FAQ 手风琴
|
|
============================================================ */
|
|
.faq-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.faq-item {
|
|
border: 1px solid var(--border-light);
|
|
border-radius: var(--radius-md);
|
|
overflow: hidden;
|
|
transition: all var(--transition-base);
|
|
background: var(--bg-card);
|
|
}
|
|
|
|
.faq-item:hover {
|
|
border-color: var(--primary-lighter);
|
|
}
|
|
|
|
.faq-item.active {
|
|
border-color: var(--primary-lighter);
|
|
background: var(--bg-page);
|
|
}
|
|
|
|
.faq-question {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 18px 20px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--text-primary);
|
|
transition: all var(--transition-fast);
|
|
user-select: none;
|
|
}
|
|
|
|
.faq-question:hover {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.faq-question-text {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.faq-q-badge {
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 6px;
|
|
background: var(--primary-bg);
|
|
color: var(--primary);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.faq-arrow {
|
|
width: 18px;
|
|
height: 18px;
|
|
color: var(--text-tertiary);
|
|
transition: transform var(--transition-base);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.faq-item.active .faq-arrow {
|
|
transform: rotate(180deg);
|
|
color: var(--primary);
|
|
}
|
|
|
|
.faq-answer {
|
|
max-height: 0;
|
|
overflow: hidden;
|
|
transition: max-height var(--transition-slow);
|
|
}
|
|
|
|
.faq-item.active .faq-answer {
|
|
max-height: 200px;
|
|
}
|
|
|
|
.faq-answer-content {
|
|
padding: 0 20px 18px 54px;
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
line-height: 1.7;
|
|
}
|
|
|
|
/* ============================================================
|
|
意见反馈表单
|
|
============================================================ */
|
|
.feedback-form {
|
|
max-width: 640px;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.form-label {
|
|
display: block;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--text-primary);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.form-label .required {
|
|
color: var(--error);
|
|
margin-left: 2px;
|
|
}
|
|
|
|
.form-label .optional {
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
color: var(--text-tertiary);
|
|
margin-left: 6px;
|
|
}
|
|
|
|
.feedback-types {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.feedback-type {
|
|
padding: 8px 18px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
font-size: 13px;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
background: var(--bg-card);
|
|
}
|
|
|
|
.feedback-type:hover {
|
|
border-color: var(--primary);
|
|
color: var(--primary);
|
|
}
|
|
|
|
.feedback-type.active {
|
|
background: var(--primary-bg);
|
|
border-color: var(--primary);
|
|
color: var(--primary);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.form-input {
|
|
width: 100%;
|
|
height: 44px;
|
|
padding: 0 14px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
font-size: 14px;
|
|
color: var(--text-primary);
|
|
background: var(--bg-card);
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.form-input:hover {
|
|
border-color: var(--text-tertiary);
|
|
}
|
|
|
|
.form-input:focus {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 3px rgba(23, 176, 207, 0.12);
|
|
}
|
|
|
|
.form-input::placeholder {
|
|
color: var(--text-placeholder);
|
|
}
|
|
|
|
textarea.form-input {
|
|
height: auto;
|
|
min-height: 120px;
|
|
padding: 12px 14px;
|
|
resize: vertical;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.upload-area {
|
|
border: 1px dashed var(--border);
|
|
border-radius: var(--radius-md);
|
|
padding: 32px 20px;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
background: var(--bg-card);
|
|
}
|
|
|
|
.upload-area:hover {
|
|
border-color: var(--primary);
|
|
background: var(--primary-bg);
|
|
}
|
|
|
|
.upload-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
margin: 0 auto 10px;
|
|
color: var(--text-tertiary);
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
.upload-area:hover .upload-icon {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.upload-icon svg {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
|
|
.upload-text {
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.upload-hint {
|
|
font-size: 12px;
|
|
color: var(--text-tertiary);
|
|
}
|
|
|
|
.submit-btn {
|
|
width: 100%;
|
|
height: 46px;
|
|
background: var(--primary);
|
|
color: #fff;
|
|
border-radius: var(--radius-sm);
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
box-shadow: 0 2px 8px rgba(23, 176, 207, 0.25);
|
|
}
|
|
|
|
.submit-btn:hover {
|
|
background: var(--primary-hover);
|
|
box-shadow: 0 4px 12px rgba(23, 176, 207, 0.35);
|
|
}
|
|
|
|
.submit-btn:active {
|
|
background: var(--primary-active);
|
|
}
|
|
|
|
/* ============================================================
|
|
联系客服
|
|
============================================================ */
|
|
.contact-section {
|
|
background: linear-gradient(135deg, rgba(23, 176, 207, 0.08) 0%, rgba(23, 176, 207, 0.02) 100%);
|
|
border-radius: var(--radius-lg);
|
|
padding: 32px;
|
|
border: 1px solid var(--primary-lighter);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.contact-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20px;
|
|
}
|
|
|
|
.contact-icon {
|
|
width: 56px;
|
|
height: 56px;
|
|
border-radius: 16px;
|
|
background: linear-gradient(135deg, var(--primary-light), var(--primary));
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: 0 4px 12px rgba(23, 176, 207, 0.25);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.contact-icon svg {
|
|
width: 28px;
|
|
height: 28px;
|
|
color: #fff;
|
|
}
|
|
|
|
.contact-text .title {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.contact-text .desc {
|
|
font-size: 13px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.contact-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.contact-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
height: 44px;
|
|
padding: 0 24px;
|
|
background: var(--primary);
|
|
color: #fff;
|
|
border-radius: var(--radius-sm);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
box-shadow: 0 2px 8px rgba(23, 176, 207, 0.25);
|
|
}
|
|
|
|
.contact-btn:hover {
|
|
background: var(--primary-hover);
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 12px rgba(23, 176, 207, 0.35);
|
|
}
|
|
|
|
.contact-btn svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.contact-email {
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.contact-email svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
color: var(--primary);
|
|
}
|
|
|
|
/* ============================================================
|
|
滚动条
|
|
============================================================ */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: #D9D9D9;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #BFBFBF;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
</style>
|
|
<link rel="stylesheet" href="../css/web-refresh.css?v=20261020-brand-color">
|
|
</head>
|
|
<body>
|
|
<div class="app">
|
|
<!-- 左侧边栏 -->
|
|
<aside class="sidebar">
|
|
<div class="sidebar-logo" onclick="location.href='feed.html'">
|
|
<div class="sidebar-logo-icon">青</div>
|
|
<div class="sidebar-logo-text">
|
|
<div class="main">青核 Youthome</div>
|
|
<div class="sub">校园实名社交</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 发布按钮 -->
|
|
<div class="sidebar-publish">
|
|
<div class="publish-btn">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<line x1="12" y1="5" x2="12" y2="19"></line>
|
|
<line x1="5" y1="12" x2="19" y2="12"></line>
|
|
</svg>
|
|
<span>发布</span>
|
|
<svg class="publish-arrow" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<polyline points="6 9 12 15 18 9"></polyline>
|
|
</svg>
|
|
</div>
|
|
<div class="publish-dropdown">
|
|
<div class="publish-option" onclick="location.href='publish-post.html'">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
|
|
<circle cx="8.5" cy="8.5" r="1.5"></circle>
|
|
<polyline points="21 15 16 10 5 21"></polyline>
|
|
</svg>
|
|
<div class="publish-option-text">
|
|
<div class="publish-option-title">发布动态</div>
|
|
<div class="publish-option-desc">分享图文、心情</div>
|
|
</div>
|
|
</div>
|
|
<div class="publish-option" onclick="location.href='publish-video.html'">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<polygon points="23 7 16 12 23 17 23 7"></polygon>
|
|
<rect x="1" y="5" width="15" height="14" rx="2" ry="2"></rect>
|
|
</svg>
|
|
<div class="publish-option-text">
|
|
<div class="publish-option-title">发布视频</div>
|
|
<div class="publish-option-desc">上传短视频</div>
|
|
</div>
|
|
</div>
|
|
<div class="publish-option" onclick="location.href='activity-create.html'">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect>
|
|
<line x1="16" y1="2" x2="16" y2="6"></line>
|
|
<line x1="8" y1="2" x2="8" y2="6"></line>
|
|
<line x1="3" y1="10" x2="21" y2="10"></line>
|
|
</svg>
|
|
<div class="publish-option-text">
|
|
<div class="publish-option-title">发起活动</div>
|
|
<div class="publish-option-desc">组织线下聚会</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 导航 -->
|
|
<nav class="sidebar-nav">
|
|
<div class="nav-item" onclick="location.href='feed.html'">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path>
|
|
<polyline points="9 22 9 12 15 12 15 22"></polyline>
|
|
</svg>
|
|
首页
|
|
</div>
|
|
|
|
<div class="nav-item" onclick="location.href='feed.html'">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<path d="M19 20H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v1m2 13a2 2 0 0 1-2-2V7m2 13a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"></path>
|
|
</svg>
|
|
动态
|
|
</div>
|
|
|
|
<div class="nav-item" onclick="location.href='video.html'">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<polygon points="23 7 16 12 23 17 23 7"></polygon>
|
|
<rect x="1" y="5" width="15" height="14" rx="2" ry="2"></rect>
|
|
</svg>
|
|
视频
|
|
</div>
|
|
|
|
<div class="nav-item" onclick="location.href='activities.html'">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect>
|
|
<line x1="16" y1="2" x2="16" y2="6"></line>
|
|
<line x1="8" y1="2" x2="8" y2="6"></line>
|
|
<line x1="3" y1="10" x2="21" y2="10"></line>
|
|
</svg>
|
|
活动
|
|
</div>
|
|
|
|
<div class="nav-item" onclick="location.href='topic-detail.html'">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"></path>
|
|
</svg>
|
|
话题
|
|
</div>
|
|
|
|
<div class="nav-item" onclick="location.href='notification.html'">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path>
|
|
<path d="M13.73 21a2 2 0 0 1-3.46 0"></path>
|
|
</svg>
|
|
<div class="nav-item-label">
|
|
消息
|
|
<span class="nav-badge">3</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="nav-item active" onclick="location.href='me.html'">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path>
|
|
<circle cx="12" cy="7" r="4"></circle>
|
|
</svg>
|
|
我的
|
|
</div>
|
|
</nav>
|
|
|
|
<!-- 底部用户 -->
|
|
<div class="sidebar-footer">
|
|
<div class="sidebar-user" onclick="location.href='me.html'">
|
|
<div class="sidebar-avatar">林</div>
|
|
<div class="sidebar-user-info">
|
|
<div class="sidebar-user-name">林小夏</div>
|
|
<div class="sidebar-user-desc">清华大学</div>
|
|
</div>
|
|
<svg class="sidebar-user-arrow" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<polyline points="9 18 15 12 9 6"></polyline>
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
</aside>
|
|
|
|
<!-- 主内容区 -->
|
|
<main class="main-content">
|
|
<div class="content-wrapper">
|
|
<!-- 页面头部 -->
|
|
<header class="page-header">
|
|
<h1 class="page-title">帮助与反馈</h1>
|
|
<p class="page-subtitle">有问题?我们来帮你</p>
|
|
<div class="search-bar">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<circle cx="11" cy="11" r="8"></circle>
|
|
<line x1="21" y1="21" x2="16.65" y2="16.65"></line>
|
|
</svg>
|
|
<input type="text" placeholder="搜索常见问题">
|
|
</div>
|
|
</header>
|
|
|
|
<!-- 快速帮助分类 -->
|
|
<section class="help-categories">
|
|
<div class="category-card">
|
|
<div class="category-icon icon-shield">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path>
|
|
</svg>
|
|
</div>
|
|
<div class="category-title">账号与安全</div>
|
|
<div class="category-desc">实名认证、密码修改、账号设置</div>
|
|
</div>
|
|
|
|
<div class="category-card">
|
|
<div class="category-icon icon-file">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path>
|
|
<polyline points="14 2 14 8 20 8"></polyline>
|
|
<line x1="16" y1="13" x2="8" y2="13"></line>
|
|
<line x1="16" y1="17" x2="8" y2="17"></line>
|
|
<polyline points="10 9 9 9 8 9"></polyline>
|
|
</svg>
|
|
</div>
|
|
<div class="category-title">发布与内容</div>
|
|
<div class="category-desc">动态发布、编辑删除、内容审核</div>
|
|
</div>
|
|
|
|
<div class="category-card">
|
|
<div class="category-icon icon-bell">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path>
|
|
<path d="M13.73 21a2 2 0 0 1-3.46 0"></path>
|
|
</svg>
|
|
</div>
|
|
<div class="category-title">消息与通知</div>
|
|
<div class="category-desc">消息设置、推送开关、通知管理</div>
|
|
</div>
|
|
|
|
<div class="category-card">
|
|
<div class="category-icon icon-book">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"></path>
|
|
<path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"></path>
|
|
</svg>
|
|
</div>
|
|
<div class="category-title">社区规范</div>
|
|
<div class="category-desc">用户协议、社区公约、举报须知</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- 标签页区域 -->
|
|
<section class="tabs-container">
|
|
<div class="tabs-header">
|
|
<div class="tab-item active" data-tab="faq">常见问题</div>
|
|
<div class="tab-item" data-tab="feedback">意见反馈</div>
|
|
</div>
|
|
|
|
<div class="tab-content">
|
|
<!-- 常见问题 -->
|
|
<div class="tab-pane active" id="faq-pane">
|
|
<div class="faq-list">
|
|
<div class="faq-item active">
|
|
<div class="faq-question">
|
|
<div class="faq-question-text">
|
|
<span class="faq-q-badge">Q</span>
|
|
<span>如何进行实名认证?</span>
|
|
</div>
|
|
<svg class="faq-arrow" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<polyline points="6 9 12 15 18 9"></polyline>
|
|
</svg>
|
|
</div>
|
|
<div class="faq-answer">
|
|
<div class="faq-answer-content">
|
|
进入 我的 -> 设置 -> 实名认证,按提示填写真实姓名和身份证号,上传学籍证明即可。
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="faq-item">
|
|
<div class="faq-question">
|
|
<div class="faq-question-text">
|
|
<span class="faq-q-badge">Q</span>
|
|
<span>忘记密码怎么办?</span>
|
|
</div>
|
|
<svg class="faq-arrow" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<polyline points="6 9 12 15 18 9"></polyline>
|
|
</svg>
|
|
</div>
|
|
<div class="faq-answer">
|
|
<div class="faq-answer-content">
|
|
在登录页点击"忘记密码",通过绑定的手机号验证后重置密码。
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="faq-item">
|
|
<div class="faq-question">
|
|
<div class="faq-question-text">
|
|
<span class="faq-q-badge">Q</span>
|
|
<span>如何修改昵称?</span>
|
|
</div>
|
|
<svg class="faq-arrow" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<polyline points="6 9 12 15 18 9"></polyline>
|
|
</svg>
|
|
</div>
|
|
<div class="faq-answer">
|
|
<div class="faq-answer-content">
|
|
进入 我的 -> 编辑资料 -> 昵称,每月可修改一次。
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="faq-item">
|
|
<div class="faq-question">
|
|
<div class="faq-question-text">
|
|
<span class="faq-q-badge">Q</span>
|
|
<span>发布的动态可以删除吗?</span>
|
|
</div>
|
|
<svg class="faq-arrow" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<polyline points="6 9 12 15 18 9"></polyline>
|
|
</svg>
|
|
</div>
|
|
<div class="faq-answer">
|
|
<div class="faq-answer-content">
|
|
可以。在动态详情页点击右上角菜单,选择删除即可。删除后可在回收站恢复,保留7天。
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="faq-item">
|
|
<div class="faq-question">
|
|
<div class="faq-question-text">
|
|
<span class="faq-q-badge">Q</span>
|
|
<span>如何举报违规内容?</span>
|
|
</div>
|
|
<svg class="faq-arrow" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<polyline points="6 9 12 15 18 9"></polyline>
|
|
</svg>
|
|
</div>
|
|
<div class="faq-answer">
|
|
<div class="faq-answer-content">
|
|
点击动态右上角菜单,选择举报,填写举报原因后提交,我们会在24小时内处理。
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="faq-item">
|
|
<div class="faq-question">
|
|
<div class="faq-question-text">
|
|
<span class="faq-q-badge">Q</span>
|
|
<span>青核积分有什么用?</span>
|
|
</div>
|
|
<svg class="faq-arrow" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<polyline points="6 9 12 15 18 9"></polyline>
|
|
</svg>
|
|
</div>
|
|
<div class="faq-answer">
|
|
<div class="faq-answer-content">
|
|
积分可用于兑换周边礼品、活动优先报名权、专属头像框等特权。每日签到、发布动态、邀请好友均可获得积分。
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 意见反馈 -->
|
|
<div class="tab-pane" id="feedback-pane">
|
|
<form class="feedback-form">
|
|
<div class="form-group">
|
|
<label class="form-label">反馈类型<span class="required">*</span></label>
|
|
<div class="feedback-types">
|
|
<div class="feedback-type active">功能建议</div>
|
|
<div class="feedback-type">Bug反馈</div>
|
|
<div class="feedback-type">内容举报</div>
|
|
<div class="feedback-type">其他</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="form-label">反馈标题<span class="required">*</span></label>
|
|
<input type="text" class="form-input" placeholder="请简要描述您遇到的问题或建议">
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="form-label">详细描述<span class="required">*</span></label>
|
|
<textarea class="form-input" placeholder="请详细描述您遇到的问题或建议,以便我们更好地为您解决..."></textarea>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="form-label">上传截图<span class="optional">选填</span></label>
|
|
<div class="upload-area">
|
|
<div class="upload-icon">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<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>
|
|
</div>
|
|
<div class="upload-text">点击或拖拽图片到此处上传</div>
|
|
<div class="upload-hint">支持 JPG、PNG 格式,单张不超过 5MB</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="form-label">联系方式<span class="optional">选填</span></label>
|
|
<input type="text" class="form-input" placeholder="手机号或邮箱,方便我们联系您">
|
|
</div>
|
|
|
|
<button type="button" class="submit-btn">提交反馈</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- 联系客服 -->
|
|
<section class="contact-section">
|
|
<div class="contact-info">
|
|
<div class="contact-icon">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"></path>
|
|
</svg>
|
|
</div>
|
|
<div class="contact-text">
|
|
<div class="title">需要更多帮助?</div>
|
|
<div class="desc">我们的客服团队随时为您服务</div>
|
|
</div>
|
|
</div>
|
|
<div class="contact-actions">
|
|
<button class="contact-btn">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path>
|
|
</svg>
|
|
在线客服
|
|
</button>
|
|
<div class="contact-email">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path>
|
|
<polyline points="22,6 12,13 2,6"></polyline>
|
|
</svg>
|
|
support@youthome.com
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
|
|
<script>
|
|
// FAQ 手风琴交互
|
|
document.querySelectorAll('.faq-item').forEach(function(item) {
|
|
var question = item.querySelector('.faq-question');
|
|
question.addEventListener('click', function() {
|
|
var isActive = item.classList.contains('active');
|
|
// 关闭所有
|
|
document.querySelectorAll('.faq-item').forEach(function(i) {
|
|
i.classList.remove('active');
|
|
});
|
|
// 如果当前不是激活状态,则激活当前
|
|
if (!isActive) {
|
|
item.classList.add('active');
|
|
}
|
|
});
|
|
});
|
|
|
|
// Tab 切换
|
|
document.querySelectorAll('.tab-item').forEach(function(tab) {
|
|
tab.addEventListener('click', function() {
|
|
var target = tab.getAttribute('data-tab');
|
|
|
|
// 切换 tab 标题
|
|
document.querySelectorAll('.tab-item').forEach(function(t) {
|
|
t.classList.remove('active');
|
|
});
|
|
tab.classList.add('active');
|
|
|
|
// 切换 tab 内容
|
|
document.querySelectorAll('.tab-pane').forEach(function(pane) {
|
|
pane.classList.remove('active');
|
|
});
|
|
document.getElementById(target + '-pane').classList.add('active');
|
|
});
|
|
});
|
|
|
|
// 反馈类型选择
|
|
document.querySelectorAll('.feedback-type').forEach(function(type) {
|
|
type.addEventListener('click', function() {
|
|
document.querySelectorAll('.feedback-type').forEach(function(t) {
|
|
t.classList.remove('active');
|
|
});
|
|
type.classList.add('active');
|
|
});
|
|
});
|
|
</script>
|
|
<script src="../js/web-local-data.js?v=20261016-local" defer></script>
|
|
<script src="../js/web-api.js?v=20261020-api" defer></script>
|
|
<script src="../js/web-shell.js" defer></script>
|
|
</body>
|
|
</html>
|
|
|
|
|