fix contacts 768

This commit is contained in:
yuanshan 2025-10-11 10:55:18 +08:00
parent 000b23f4a8
commit 60d228c3d8
3 changed files with 124 additions and 43 deletions

View File

@ -74,7 +74,7 @@ function copyEmail() {
gap: 4px; gap: 4px;
background-color: white; background-color: white;
border-radius: 1rem; border-radius: 1rem;
background-image: url("@/assets/image/1920/contacts-bg.png"); background-image: url("@/assets/image/1440/contacts-bg.png");
background-size: 64% auto; background-size: 64% auto;
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;

View File

@ -1,67 +1,148 @@
<script setup> <script setup>
import { NCarousel, NDivider, NMarquee, NPopselect } from "naive-ui";
import { onUnmounted, ref, watch, onMounted, computed } from "vue"; import { onUnmounted, ref, watch, onMounted, computed } from "vue";
function copyEmail() { function copyEmail() {
navigator.clipboard.writeText("fiee@dlkadvisory.com"); navigator.clipboard.writeText("fiee@dlkadvisory.com");
} }
</script> </script>
<template> <template>
<main <div class="contact-container">
ref="main" <!-- Title Section -->
class="flex flex-col items-center from-primary to-accent w-[100vw] mt-12 animate-fade-in px-6 py-10 pt-500px" <div class="title-section">
> <div class="title-decoration"></div>
<div class="w-full flex flex-col items-center gap-5 px-4"> <div class="contact-title">Investor Contacts</div>
<h1 </div>
class="text-3xl font-bold text-primary animate-fade-in-down animate-delay-0"
> <!-- Card Section -->
Investor Contacts <div class="contact-card">
</h1> <div class="logo-text">FiEE Inc.</div>
<div <div class="relation-text">Investor Relations</div>
class="text-xl font-semibold text-gray-800 animate-fade-in-down animate-delay-200" <div class="email-section">
>
FiEE Inc.
</div>
<div class="text-lg text-#ff7bac animate-fade-in-down animate-delay-400">
Investor Relations
</div>
<div
class="text-base text-gray-600 flex items-center gap-2 animate-fade-in-down animate-delay-600"
>
<span>Email:</span> <span>Email:</span>
<span <span class="email-address" @click="copyEmail"
class="transition-colors duration-300 cursor-pointer text-#00baff hover:text-primary active:text-secondary select-all"
@click="copyEmail"
>fiee@dlkadvisory.com</span >fiee@dlkadvisory.com</span
> >
</div> </div>
</div> </div>
</main> </div>
</template> </template>
<style scoped lang="scss"> <style scoped lang="scss">
.contact-container {
width: 650 * 2.5px;
margin: 0 auto;
display: flex;
flex-direction: column;
align-items: center;
}
.title-section {
width: 100%;
display: flex;
flex-direction: column;
gap: 16 * 2.5px;
padding: 0 16 * 2.5px;
margin-bottom: 32 * 2.5px;
}
.title-decoration {
width: 58 * 2.5px;
height: 7 * 2.5px;
background: #ff7bac;
margin: auto 0;
margin-top: 43 * 2.5px;
}
.contact-title {
font-family: "PingFang SC", sans-serif;
font-weight: 500;
font-size: 32 * 2.5px;
line-height: 1.4em;
letter-spacing: 0.03em;
color: #000000;
}
.contact-card {
display: flex;
width: 100%;
height: 511 * 2.5px;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 4px;
background-color: white;
border-radius: 1rem;
background-image: url("@/assets/image/768/contacts-bg.png");
background-size: 64% auto;
background-position: center;
background-repeat: no-repeat;
box-shadow: 0px 3 * 2.5px 14 * 2.5px 0px rgba(0, 0, 0, 0.16);
animation: fade-in 0.8s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.logo-text {
width: 100%;
text-align: center;
font-feature-settings: "liga" off, "clig" off;
font-family: "PingFang SC";
font-size: 110 * 2.5px;
font-style: normal;
font-weight: 600;
line-height: normal;
letter-spacing: 0.48 * 2.5px;
background: linear-gradient(90deg, #ff7bac 0%, #0ff 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
color: transparent;
animation: fade-in-down 0.8s cubic-bezier(0.23, 1, 0.32, 1) both;
animation-delay: 0.2s;
}
.relation-text {
font-family: "PingFang SC", sans-serif;
font-size: 24 * 2.5px;
color: #000000;
font-weight: 600;
animation: fade-in-down 0.8s cubic-bezier(0.23, 1, 0.32, 1) both;
animation-delay: 0.4s;
}
.email-section {
font-size: 18 * 2.5px;
color: #4a5568;
display: flex;
align-items: center;
gap: 8 * 2.5px;
animation: fade-in-down 0.8s cubic-bezier(0.23, 1, 0.32, 1) both;
animation-delay: 0.6s;
margin-top: 16 * 2.5px;
}
.email-address {
color: #ff7bac;
cursor: pointer;
}
@keyframes fade-in {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes fade-in-down { @keyframes fade-in-down {
0% { 0% {
opacity: 0; opacity: 0;
transform: translateY(-20px); transform: translateY(-20 * 2.5px);
} }
100% { 100% {
opacity: 1; opacity: 1;
transform: translateY(0); transform: translateY(0);
} }
} }
.animate-fade-in-down {
animation: fade-in-down 0.8s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.animate-delay-0 {
animation-delay: 0s;
}
.animate-delay-200 {
animation-delay: 0.2s;
}
.animate-delay-400 {
animation-delay: 0.4s;
}
.animate-delay-600 {
animation-delay: 0.6s;
}
</style> </style>

View File

@ -245,7 +245,7 @@ async function handleSubmit(e) {
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
background-image: url("@/assets/image/1920/email-alerts-submit.png"); background-image: url("@/assets/image/1440/email-alerts-submit.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: bottom; background-position: bottom;
background-size: 100%; background-size: 100%;