fiee-official-website/src/views/manage/size768/index.vue
2025-10-20 11:09:18 +08:00

301 lines
6.3 KiB
Vue

<template>
<div class="home-page relative overflow-hidden z-10 bg-[#ffffff]">
<div
class="fixed h-[100vh] left-[50%] translate-x-[-50%] z-1"
style="width: 620px; pointer-events: none; mix-blend-mode: multiply"
>
<img src="@/assets/image/content/line.png" class="w-[100%]" alt="" />
</div>
<div class="w-[100%] h-[550PX] z-[] top-0 absolute">
<div class="relative w-[100%] h-[100%]">
<img
src="@/assets/image/content/bg_24.png"
alt=""
class="w-[100vw] h-[570PX] absolute top-[-50PX]"
/>
<img
src="@/assets/image/content/flower.png"
alt=""
class="w-[1174PX] h-[446PX] absolute z-10 left-[50%] translate-x-[-50%]"
/>
<img
src="@/assets/image/content/bg_22.png"
alt=""
class="w-[100vw] h-[80PX] absolute bottom-0 lef-0 right-0 z-10"
/>
</div>
</div>
<div class="relative z-10">
<!-- 标题区 -->
<div class="company-overview w-[600PX] pb-[160PX] !mt-[50PX]">
<div class="hero-section">
<!-- <transition name="fade-up" appear> -->
<n-h1 class="hero-title text-[32PX] min-h-[168PX]"
>FiEE, Inc. has a team of capable senior management with extensive
professional experience</n-h1
>
<!-- </transition> -->
</div>
</div>
<!-- 管理团队列表 -->
<main class="container w-[600PX] relative z-11">
<div class="leadership-grid">
<!-- 每个高管卡片 -->
<div
v-for="(leader, index) in leadershipTeam"
:key="index"
class="leader-card mt-[20PX]"
:style="{ '--delay': index * 0.2 + 's' }"
>
<div>
<div class="flex items-center">
<div
class="w-[58PX] h-[58PX] rounded-[50%] bg-[#FF7BAC] text-[#fff] flex justify-center items-center text-[20PX] font-600"
>
{{ getInitials(leader.name) }}
</div>
<div class="flex flex-col justify-between ml-[12PX]">
<h2 class="my-0">{{ leader.name }}</h2>
<div class="text-[#FF7BAC] text-[16PX]">
{{ leader.position }}
</div>
</div>
</div>
</div>
<!-- 卡片下半部 -->
<div>
<div
class="content-section"
v-for="(content, cIndex) in leader.content"
:key="cIndex"
>
<p>{{ content }}</p>
</div>
</div>
</div>
</div>
</main>
</div>
</div>
</template>
<script setup>
import { useI18n } from "vue-i18n";
import { computed } from "vue";
const { t } = useI18n();
const leadershipTeam = computed(() => [
{
name: t("MANAGEMENT.ONE.TITLE"),
position: t("MANAGEMENT.ONE.TITLETWO"),
content: [
t("MANAGEMENT.ONE.CONTENT"),
t("MANAGEMENT.ONE.CONTENTTWO"),
t("MANAGEMENT.ONE.CONTENTTHREE"),
],
},
{
name: t("MANAGEMENT.TWO.TITLE"),
position: t("MANAGEMENT.TWO.TITLETWO"),
content: [t("MANAGEMENT.TWO.CONTENTONE"), t("MANAGEMENT.TWO.CONTENTTWO")],
},
]);
const getInitials = (name) => {
return name
.split(" ")
.map((n) => n[0])
.join("");
};
</script>
<style scoped>
.home-page {
background-size: 100% 100%;
background-position: center;
background-repeat: no-repeat;
}
.company-overview {
/* width: 900PX; */
margin: 0 auto;
/* padding: 0 20px; */
color: var(--text-color);
}
/* 顶部大图区域 */
.hero-section {
/* background: linear-gradient(135deg, #00ffff, #b21f1f, #ff7bac); */
background-size: 400% 400%;
/* animation: gradientBG 15s ease infinite; */
color: #000;
padding: 120PX 0;
text-align: center;
border-radius: 8px;
}
/* 动画 */
@keyframes gradientBG {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.hero-title {
/* font-size: 40px; */
margin-bottom: 20px;
font-weight: 700;
}
.hero-subtitle {
font-size: 1.5rem;
opacity: 0.9;
}
/* 基础样式 */
.container {
/* max-width: 1200px; */
margin: 0 auto;
/* padding: 0 2rem; */
}
/* 标题区 */
.leadership-header {
background: linear-gradient(135deg, #f9fbfe 0%, #e8f2ff 100%);
padding: 6rem 0 4rem;
text-align: center;
}
.page-title {
font-size: 2.5rem;
color: #2c3e50;
margin-bottom: 1rem;
}
.page-subtitle {
color: #6b7c93;
font-size: 1.1rem;
}
/* 管理团队网格 */
.leadership-grid {
/* display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 2rem;
padding: 4rem 0; */
}
/* 高管卡片 */
.leader-card {
/* background: white; */
border-radius: 20px;
/* box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06); */
overflow: hidden;
transform: translateY(20px);
opacity: 0;
animation: cardEnter 0.6s ease forwards;
animation-delay: var(--delay);
transition: transform 0.3s ease;
}
.leader-card:hover {
transform: translateY(-5px);
}
/* 个人资料区 */
.card-profile {
padding: 2rem;
/* background: linear-gradient(
135deg,
#7a4dff 0%,
#895bff 100%
); */
background: #ff7bac;
position: relative;
}
.avatar-wrapper {
position: relative;
width: 80px;
height: 80px;
margin-bottom: 1.5rem;
}
.decorative-dot {
position: absolute;
width: 20px;
height: 20px;
background: #ffbfd7;
border-radius: 50%;
top: -10px;
right: -10px;
}
.initials {
width: 100%;
height: 100%;
background: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.8rem;
font-weight: bold;
color: #ff7bac;
}
.profile-info {
color: white;
}
.leader-name {
font-size: 1.6rem;
margin-bottom: 0.5rem;
}
.leader-position {
font-size: 1rem;
opacity: 0.9;
}
/* 内容区 */
.card-content {
/* padding: 2rem; */
}
.content-section {
/* margin-bottom: 1.5rem; */
}
.content-section p {
color: #5a6d80;
line-height: 1.7;
font-size: 0.95rem;
}
/* 动画 */
@keyframes cardEnter {
to {
opacity: 1;
transform: translateY(0);
}
}
/* 响应式 */
@media (max-width: 768px) {
.leadership-grid {
grid-template-columns: 1fr;
}
.leader-card {
margin: 0 1rem;
}
}
</style>