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

361 lines
7.7 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">
<h1>Board Committees</h1>
<p>Expertise Oversight and Corporate Governance</p>
</div>
</section>
<!-- 委员会表格 -->
<div class="container">
<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"
:key="index"
>
<!-- 董事姓名 -->
<div class="director-cell">
<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> -->
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()
"
>
{{ getCommitteeRole(director.name, "Audit") }}
<span class="badge-icon"></span>
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()
"
>
{{ getCommitteeRole(director.name, "Compensation") }}
<span class="badge-icon"></span>
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()
"
>
{{ getCommitteeRole(director.name, "Governance") }}
<span class="badge-icon"></span>
</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 = {
"Cao Yu": {
Audit: "Chair",
Compensation: "Member",
},
"David Lazar": {
Audit: "Member",
Governance: "Chair",
},
"Hu Bin": {
Compensation: "Chair",
Governance: "Member",
},
"David Natan": {
Audit: "Member",
},
"Chan Oi Fat": {
Governance: "Member",
},
};
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 05:29:23 +00:00
.committees-page {
background-color: #faf9ff;
min-height: 100vh;
}
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%
);
padding: 6rem 2rem;
2025-05-23 04:03:48 +00:00
text-align: center;
color: #895bff;
}
2025-05-23 05:29:23 +00:00
.hero-section h1 {
font-size: 2.8rem;
2025-05-23 04:03:48 +00:00
margin-bottom: 1rem;
}
2025-05-23 05:29:23 +00:00
.hero-section p {
2025-05-23 04:03:48 +00:00
font-size: 1.2rem;
opacity: 0.9;
}
2025-05-23 05:29:23 +00:00
.container {
2025-05-23 04:03:48 +00:00
max-width: 1200px;
margin: 0 auto;
2025-05-23 05:29:23 +00:00
padding: 0 2rem;
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
/* 表格设计 */
.committees-table {
margin: 4rem 0;
background: white;
border-radius: 12px;
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 {
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 05:29:23 +00:00
.table-header {
background: #f9f6ff;
position: sticky;
top: 0;
z-index: 2;
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
.committee-cell {
padding: 1.5rem;
2025-05-23 04:03:48 +00:00
display: flex;
align-items: center;
justify-content: center;
text-align: center;
2025-05-23 05:29:23 +00:00
border-right: 1px solid #f0f0f0;
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
.committee-cell:last-child {
border-right: none;
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
.committee-cell h3 {
color: var(--primary-dark);
font-size: 1.1rem;
2025-05-23 04:03:48 +00:00
font-weight: 600;
}
2025-05-23 05:29:23 +00:00
.director-cell {
padding: 1.5rem;
border-right: 1px solid #f0f0f0;
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +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
.avatar {
width: 50px;
height: 50px;
2025-05-23 04:03:48 +00:00
border-radius: 50%;
background: var(--primary-transparent);
2025-05-23 05:29:23 +00:00
display: flex;
align-items: center;
justify-content: center;
color: var(--primary);
font-weight: bold;
flex-shrink: 0;
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
.director-info h4 {
font-size: 1.1rem;
color: #333;
margin-bottom: 0.3rem;
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
.director-title {
font-size: 0.85rem;
color: #666;
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
/* 职位徽章设计 */
.role-badges {
display: flex;
flex-direction: column;
gap: 0.8rem;
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
.role-badge {
padding: 0.5rem 1rem;
border-radius: 20px;
font-size: 0.85rem;
font-weight: 500;
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 80px;
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
.role-badge.chair {
background: rgba(74, 222, 128, 0.15);
color: #10b981;
border: 1px solid rgba(16, 185, 129, 0.3);
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
.role-badge.member {
background: rgba(96, 165, 250, 0.15);
color: #3b82f6;
border: 1px solid rgba(59, 130, 246, 0.3);
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
.badge-icon {
width: 16px;
height: 16px;
margin-left: 0.5rem;
background: currentColor;
mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><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>')
no-repeat center;
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
/* 悬停效果 */
.table-row {
transition: all 0.3s ease;
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
.table-row:hover {
background: #fdfcff;
transform: translateY(-1px);
box-shadow: 0 5px 15px rgba(137, 91, 255, 0.05);
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
/* 响应式设计 */
@media (max-width: 1024px) {
.committees-table {
overflow-x: auto;
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
.table-header,
.table-row {
grid-template-columns: 250px repeat(3, 200px);
width: max-content;
min-width: 100%;
2025-05-23 04:03:48 +00:00
}
}
2025-05-23 05:29:23 +00:00
@media (max-width: 768px) {
.hero-section {
padding: 4rem 1rem;
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
.hero-section h1 {
font-size: 2.2rem;
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
.director-info {
flex-direction: column;
text-align: center;
gap: 0.8rem;
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
.director-cell {
padding: 1rem;
2025-05-23 04:03:48 +00:00
}
2025-05-23 05:29:23 +00:00
.committee-cell {
padding: 1rem 0.5rem;
2025-05-23 04:03:48 +00:00
}
}
2025-05-23 05:29:23 +00:00
.director-link {
color: #895bff;
text-decoration: none;
transition: color 0.3s ease;
}
.director-link:hover {
color: var(--primary);
text-decoration: underline;
}
2025-05-23 04:03:48 +00:00
</style>