fiee-official-website/src/views/CommitteeAppointment/size375/index.vue

459 lines
10 KiB
Vue
Raw Normal View History

2025-05-23 04:03:48 +00:00
<template>
2025-05-23 05:29:23 +00:00
<div class="committees-page">
<!-- 标题区 -->
<section class="hero-section">
<div class="container">
2025-05-23 07:32:12 +00:00
<h1>Committee Appointments</h1>
2025-05-23 05:29:23 +00:00
</div>
</section>
2025-05-23 07:32:12 +00:00
<!-- 移动端委员会卡片 -->
<div class="container mobile-view">
<div
class="director-card"
v-for="(director, index) in otherDirectors"
:key="director.name"
:style="{ '--delay': index * 0.1 + 's' }"
>
<div class="card-header">
<div class="director-info">
<div class="avatar"></div>
<div>
<router-link :to="'/boarddirectors'" class="director-link">
{{ director.name }}
</router-link>
<p class="director-title">{{ director.title }}</p>
</div>
</div>
</div>
<div class="committee-groups">
<!-- 审计委员会 -->
<div class="committee-group">
<h3 class="committee-name">Audit Committee</h3>
<div class="role-badges">
<template v-if="getCommitteeRole(director.name, 'Audit')">
<div
class="role-badge"
:class="
getCommitteeRole(director.name, 'Audit').toLowerCase()
"
></div>
</template>
</div>
</div>
<!-- 薪酬委员会 -->
<div class="committee-group">
<h3 class="committee-name">Compensation Committee</h3>
<div class="role-badges">
<template v-if="getCommitteeRole(director.name, 'Compensation')">
<div
class="role-badge"
:class="
getCommitteeRole(
director.name,
'Compensation'
).toLowerCase()
"
></div>
</template>
</div>
</div>
<!-- 提名与公司治理委员会 -->
<div class="committee-group">
<h3 class="committee-name">
Nominating and Corporate Governance Committee
</h3>
<div class="role-badges">
<template v-if="getCommitteeRole(director.name, 'Governance')">
<div
class="role-badge"
:class="
getCommitteeRole(director.name, 'Governance').toLowerCase()
"
></div>
</template>
</div>
</div>
</div>
</div>
</div>
<!-- 桌面端表格视图 (在大屏幕上显示) -->
<div class="container desktop-view">
2025-05-23 05:29:23 +00:00
<div class="committees-table">
<!-- 表头 - 委员会名称 -->
<div class="table-header">
<div class="director-cell"></div>
<div class="committee-cell">
<h3>Audit Committee</h3>
</div>
<div class="committee-cell">
<h3>Compensation Committee</h3>
</div>
<div class="committee-cell">
<h3>Nominating and Corporate Governance Committee</h3>
</div>
2025-05-23 04:03:48 +00:00
</div>
2025-05-23 05:29:23 +00:00
<!-- 表格内容 - 每位董事 -->
<div
class="table-row"
v-for="(director, index) in otherDirectors"
2025-05-23 07:32:12 +00:00
:key="director.name"
2025-05-23 05:29:23 +00:00
>
<!-- 董事姓名 -->
<div class="director-cell">
<div class="director-info">
<div class="avatar"></div>
<div>
<router-link :to="'/boarddirectors'" class="director-link">
{{ director.name }}
</router-link>
2025-05-23 07:32:12 +00:00
<p class="director-title">{{ director.title }}</p>
2025-05-23 04:03:48 +00:00
</div>
2025-05-23 05:29:23 +00:00
</div>
</div>
<!-- 委员会职位 -->
<div class="committee-cell">
<div class="role-badges">
<template v-if="getCommitteeRole(director.name, 'Audit')">
<div
class="role-badge"
:class="
getCommitteeRole(director.name, 'Audit').toLowerCase()
"
>
2025-05-23 07:32:12 +00:00
<!-- {{ getCommitteeRole(director.name, "Audit") }} -->
2025-05-23 04:03:48 +00:00
</div>
2025-05-23 05:29:23 +00:00
</template>
2025-05-23 04:03:48 +00:00
</div>
</div>
2025-05-23 05:29:23 +00:00
<div class="committee-cell">
<div class="role-badges">
<template v-if="getCommitteeRole(director.name, 'Compensation')">
2025-05-23 04:03:48 +00:00
<div
2025-05-23 05:29:23 +00:00
class="role-badge"
:class="
getCommitteeRole(
director.name,
'Compensation'
).toLowerCase()
"
>
2025-05-23 07:32:12 +00:00
<!-- {{ getCommitteeRole(director.name, "Compensation") }} -->
2025-05-23 04:03:48 +00:00
</div>
2025-05-23 05:29:23 +00:00
</template>
</div>
</div>
<div class="committee-cell">
<div class="role-badges">
<template v-if="getCommitteeRole(director.name, 'Governance')">
<div
class="role-badge"
:class="
getCommitteeRole(director.name, 'Governance').toLowerCase()
"
>
2025-05-23 07:32:12 +00:00
<!-- {{ getCommitteeRole(director.name, "Governance") }} -->
2025-05-23 05:29:23 +00:00
</div>
</template>
2025-05-23 04:03:48 +00:00
</div>
</div>
</div>
2025-05-23 05:29:23 +00:00
</div>
2025-05-23 04:03:48 +00:00
</div>
</div>
</template>
<script setup>
const otherDirectors = [
{
name: "Cao Yu",
title: "Chief Financial Officer, Secretary, Treasurer and Director",
},
{ name: "David Lazar", title: "Director" },
{ name: "Hu Bin", title: "Director" },
{ name: "David Natan", title: "Director" },
{ name: "Chan Oi Fat", title: "Director" },
];
2025-05-23 05:29:23 +00:00
// 模拟数据 - 实际应从API获取
const committeeRoles = {
2025-05-23 07:32:12 +00:00
"Cao Yu": {},
"David Lazar": {},
2025-05-23 05:29:23 +00:00
"Hu Bin": {
Compensation: "Chair",
Governance: "Member",
2025-05-23 07:32:12 +00:00
Audit: "Member",
2025-05-23 05:29:23 +00:00
},
"David Natan": {
2025-05-23 07:32:12 +00:00
Compensation: "Member",
Governance: "Chair",
Audit: "Chair",
2025-05-23 05:29:23 +00:00
},
"Chan Oi Fat": {
2025-05-23 07:32:12 +00:00
Compensation: "Member",
2025-05-23 05:29:23 +00:00
Governance: "Member",
2025-05-23 07:32:12 +00:00
Audit: "Member",
2025-05-23 05:29:23 +00:00
},
};
const getCommitteeRole = (name, committee) => {
return committeeRoles[name]?.[committee] || null;
};
2025-05-23 04:03:48 +00:00
</script>
<style scoped>
/* 紫色主题变量 */
:root {
--primary: #895bff;
--primary-light: #a07cff;
--primary-dark: #6a11cb;
--primary-transparent: rgba(137, 91, 255, 0.1);
2025-05-23 07:32:12 +00:00
--bg-light: #f9f6ff;
--text-primary: #333;
--text-secondary: #666;
--border-radius: 12px;
--mobile-padding: 16px;
2025-05-23 04:03:48 +00:00
}
2025-05-23 07:32:12 +00:00
/* 基础样式 */
2025-05-23 05:29:23 +00:00
.committees-page {
2025-05-23 07:32:12 +00:00
background-image: url("@/assets/image/bg-mobile.png");
background-size: 100% 100%;
background-position: center;
background-repeat: no-repeat;
2025-05-23 05:29:23 +00:00
min-height: 100vh;
}
2025-05-23 07:32:12 +00:00
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 var(--mobile-padding);
}
2025-05-23 04:03:48 +00:00
/* 标题区设计 */
2025-05-23 05:29:23 +00:00
.hero-section {
background: linear-gradient(
135deg,
var(--primary-light) 0%,
var(--primary) 100%
);
2025-05-23 07:32:12 +00:00
padding: 4rem 2rem;
2025-05-23 04:03:48 +00:00
text-align: center;
2025-05-23 07:32:12 +00:00
color: #d7c7fe;
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
.hero-section h1 {
2025-05-23 07:32:12 +00:00
font-size: clamp(1.8rem, 5vw, 2.5rem);
2025-05-23 04:03:48 +00:00
margin-bottom: 1rem;
}
2025-05-23 07:32:12 +00:00
/* 桌面视图 (默认隐藏) */
.desktop-view {
display: none;
2025-05-23 04:03:48 +00:00
}
2025-05-23 07:32:12 +00:00
/* 移动端视图 (默认显示) */
.mobile-view {
display: block;
margin: 3rem 0;
2025-05-23 04:03:48 +00:00
}
2025-05-23 07:32:12 +00:00
/* 董事卡片 */
.director-card {
2025-05-23 05:29:23 +00:00
background: white;
2025-05-23 07:32:12 +00:00
border-radius: var(--border-radius);
margin-bottom: 1.5rem;
box-shadow: 0 5px 20px rgba(137, 91, 255, 0.08);
2025-05-23 05:29:23 +00:00
overflow: hidden;
2025-05-23 07:32:12 +00:00
transform: translateY(20px);
opacity: 0;
animation: fadeIn 0.5s ease forwards;
animation-delay: var(--delay);
2025-05-23 04:03:48 +00:00
}
2025-05-23 07:32:12 +00:00
@keyframes fadeIn {
to {
opacity: 1;
transform: translateY(0);
}
2025-05-23 04:03:48 +00:00
}
2025-05-23 07:32:12 +00:00
.card-header {
padding: 1.5rem;
background: var(--bg-light);
border-bottom: 1px solid #f0f0f0;
2025-05-23 04:03:48 +00:00
}
2025-05-23 07:32:12 +00:00
.director-info {
2025-05-23 04:03:48 +00:00
display: flex;
align-items: center;
2025-05-23 07:32:12 +00:00
gap: 1.2rem;
2025-05-23 04:03:48 +00:00
}
2025-05-23 07:32:12 +00:00
.avatar {
width: 48px;
height: 48px;
background: var(--primary-transparent);
border-radius: 50%;
2025-05-23 04:03:48 +00:00
}
2025-05-23 07:32:12 +00:00
.director-link {
color: var(--primary);
text-decoration: none;
2025-05-23 05:29:23 +00:00
font-size: 1.1rem;
2025-05-23 07:32:12 +00:00
font-weight: 500;
transition: all 0.3s ease;
2025-05-23 04:03:48 +00:00
}
2025-05-23 07:32:12 +00:00
.director-link:hover {
color: var(--primary-dark);
text-decoration: underline;
2025-05-23 04:03:48 +00:00
}
2025-05-23 07:32:12 +00:00
.director-title {
font-size: 0.9rem;
color: var(--text-secondary);
margin-top: 0.2rem;
2025-05-23 04:03:48 +00:00
}
2025-05-23 07:32:12 +00:00
.committee-groups {
padding: 1.5rem;
2025-05-23 04:03:48 +00:00
}
2025-05-23 07:32:12 +00:00
.committee-group {
margin-bottom: 1.2rem;
2025-05-23 04:03:48 +00:00
}
2025-05-23 07:32:12 +00:00
.committee-group:last-child {
margin-bottom: 0;
}
.committee-name {
font-size: 1rem;
color: var(--primary-dark);
margin-bottom: 0.7rem;
font-weight: 600;
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
.role-badges {
display: flex;
2025-05-23 07:32:12 +00:00
flex-wrap: wrap;
gap: 0.5rem;
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
.role-badge {
2025-05-23 07:32:12 +00:00
padding: 0.4rem 0.8rem;
border-radius: 16px;
2025-05-23 05:29:23 +00:00
font-size: 0.85rem;
font-weight: 500;
display: inline-flex;
align-items: center;
justify-content: center;
2025-05-23 07:32:12 +00:00
min-width: 70px;
2025-05-23 04:03:48 +00:00
}
2025-05-23 07:32:12 +00:00
.chair {
background: rgba(137, 91, 255, 0.15);
color: var(--primary-dark);
2025-05-23 04:03:48 +00:00
}
2025-05-23 07:32:12 +00:00
.member {
background: rgba(137, 91, 255, 0.08);
color: var(--primary);
2025-05-23 04:03:48 +00:00
}
2025-05-23 07:32:12 +00:00
/* 桌面视图 (在大屏幕上显示) */
@media (min-width: 768px) {
.mobile-view {
display: none;
}
2025-05-23 04:03:48 +00:00
2025-05-23 07:32:12 +00:00
.desktop-view {
display: block;
margin: 4rem 0;
}
2025-05-23 04:03:48 +00:00
2025-05-23 07:32:12 +00:00
/* 表格设计 */
2025-05-23 05:29:23 +00:00
.committees-table {
2025-05-23 07:32:12 +00:00
background: white;
border-radius: var(--border-radius);
overflow: hidden;
box-shadow: 0 10px 30px rgba(137, 91, 255, 0.08);
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
.table-header,
.table-row {
2025-05-23 07:32:12 +00:00
display: grid;
grid-template-columns: 1.5fr repeat(3, 1fr);
border-bottom: 1px solid #f0f0f0;
2025-05-23 04:03:48 +00:00
}
2025-05-23 07:32:12 +00:00
.table-header {
background: var(--bg-light);
position: sticky;
top: 0;
z-index: 2;
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
2025-05-23 07:32:12 +00:00
.committee-cell {
padding: 1.5rem;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
border-right: 1px solid #f0f0f0;
2025-05-23 04:03:48 +00:00
}
2025-05-23 07:32:12 +00:00
.committee-cell:last-child {
border-right: none;
}
.committee-cell h3 {
color: var(--primary-dark);
font-size: 1.1rem;
font-weight: 600;
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
.director-cell {
2025-05-23 07:32:12 +00:00
padding: 1.5rem;
border-right: 1px solid #f0f0f0;
2025-05-23 04:03:48 +00:00
}
2025-05-23 07:32:12 +00:00
.director-info {
display: flex;
align-items: center;
gap: 1.2rem;
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
2025-05-23 07:32:12 +00:00
.director-info h4 {
font-size: 1.1rem;
color: var(--text-primary);
margin-bottom: 0.3rem;
}
.director-title {
font-size: 0.85rem;
color: var(--text-secondary);
}
/* 悬停效果 */
.table-row {
transition: all 0.3s ease;
}
.table-row:hover {
background: #fdfcff;
transform: translateY(-1px);
box-shadow: 0 5px 15px rgba(137, 91, 255, 0.05);
}
2025-05-23 05:29:23 +00:00
}
2025-05-23 04:03:48 +00:00
</style>