2026-02-25 18:49:41 +08:00
|
|
|
<template>
|
|
|
|
|
<section class="page page-home">
|
2026-02-26 20:41:42 +08:00
|
|
|
<!-- 背景图层 -->
|
|
|
|
|
<img src="/src/assets/images/bg-top.png" class="bg-main" />
|
|
|
|
|
<img src="/src/assets/images/bg-top-points.png" class="bg-points" />
|
2026-02-25 18:49:41 +08:00
|
|
|
<nav class="nav">
|
|
|
|
|
<div class="nav-logo">
|
2026-02-26 20:26:22 +08:00
|
|
|
<image src="/src/assets/images/logo-top.png" class="logo-img"></image>
|
|
|
|
|
<span class="logo-text">Key of Love</span>
|
2026-02-25 18:49:41 +08:00
|
|
|
</div>
|
|
|
|
|
<ul class="nav-links">
|
2026-02-26 20:26:22 +08:00
|
|
|
<li><a href="#">Home</a></li>
|
|
|
|
|
<li><a href="#">Privacy Agreement</a></li>
|
2026-02-25 18:49:41 +08:00
|
|
|
</ul>
|
|
|
|
|
</nav>
|
2026-02-26 20:26:22 +08:00
|
|
|
<div class="bg-points"></div>
|
2026-02-25 18:49:41 +08:00
|
|
|
<div class="hero">
|
2026-02-26 20:26:22 +08:00
|
|
|
<div class="hero-phones">
|
2026-02-26 20:41:42 +08:00
|
|
|
<div class="hero-content">
|
|
|
|
|
<h1 class="hero-title">
|
|
|
|
|
Not just a tool but<br />
|
|
|
|
|
giving meaning to every click
|
|
|
|
|
</h1>
|
|
|
|
|
<div class="hero-buttons">
|
|
|
|
|
<a href="#" class="btn btn-primary">
|
|
|
|
|
<span class="btn-icon">▶</span> Android
|
|
|
|
|
</a>
|
|
|
|
|
<a href="#" class="btn btn-primary">
|
|
|
|
|
<span class="btn-icon">🍎</span> App Store
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2026-02-26 20:26:22 +08:00
|
|
|
<img src="/src/assets/images/bg-top-phone.png" class="phone-main" />
|
2026-02-25 18:49:41 +08:00
|
|
|
</div>
|
2026-02-26 20:41:42 +08:00
|
|
|
<!-- <div class="deco deco-coin1">🪙</div>
|
2026-02-26 20:26:22 +08:00
|
|
|
<div class="deco deco-coin2">🏆</div>
|
|
|
|
|
<div class="deco deco-star1">✨</div>
|
2026-02-26 20:41:42 +08:00
|
|
|
<div class="deco deco-star2">⭐</div> -->
|
2026-02-25 18:49:41 +08:00
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
|
</script>
|
|
|
|
|
|
2026-02-26 20:26:22 +08:00
|
|
|
<style scoped lang="less">
|
|
|
|
|
|
2026-02-25 18:49:41 +08:00
|
|
|
.page-home {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100vh;
|
2026-02-26 20:41:42 +08:00
|
|
|
background: none;
|
2026-02-26 20:26:22 +08:00
|
|
|
color: #222;
|
2026-02-25 18:49:41 +08:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-26 20:41:42 +08:00
|
|
|
.bg-main {
|
|
|
|
|
position: absolute;
|
|
|
|
|
inset: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
z-index: 0;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-26 20:26:22 +08:00
|
|
|
.bg-points {
|
2026-02-25 18:49:41 +08:00
|
|
|
position: absolute;
|
2026-02-26 20:41:42 +08:00
|
|
|
bottom: 0;
|
2026-02-26 20:26:22 +08:00
|
|
|
left: 50%;
|
2026-02-26 20:41:42 +08:00
|
|
|
transform: translateX(-50%);
|
2026-02-26 20:26:22 +08:00
|
|
|
width: 90%;
|
|
|
|
|
height: 90%;
|
2026-02-26 20:41:42 +08:00
|
|
|
object-fit: contain;
|
|
|
|
|
z-index: 1;
|
2026-02-26 20:26:22 +08:00
|
|
|
pointer-events: none;
|
2026-02-25 18:49:41 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.nav {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
2026-02-26 20:26:22 +08:00
|
|
|
padding: 0 @nav-px;
|
|
|
|
|
height: @nav-h;
|
2026-02-25 18:49:41 +08:00
|
|
|
position: relative;
|
|
|
|
|
z-index: 10;
|
2026-02-26 20:26:22 +08:00
|
|
|
flex-shrink: 0;
|
2026-02-25 18:49:41 +08:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-26 20:26:22 +08:00
|
|
|
.nav-logo {
|
2026-02-25 18:49:41 +08:00
|
|
|
display: flex;
|
2026-02-26 20:26:22 +08:00
|
|
|
align-items: center;
|
|
|
|
|
gap: clamp(6px, 0.5vw, 12px);
|
|
|
|
|
.logo-img {
|
|
|
|
|
height: clamp(28px, 2.5vh, 52px);
|
|
|
|
|
}
|
2026-02-25 18:49:41 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-26 20:26:22 +08:00
|
|
|
.logo-text {
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: #333;
|
|
|
|
|
font-size: @font-nav;
|
|
|
|
|
font-style: italic;
|
2026-02-25 18:49:41 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-26 20:26:22 +08:00
|
|
|
.nav-links {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: clamp(16px, 2vw, 48px);
|
|
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
font-size: @font-nav;
|
|
|
|
|
color: #000000;
|
|
|
|
|
transition: color 0.3s;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
&:hover { color: #00BFA5; }
|
|
|
|
|
}
|
2026-02-25 18:49:41 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero {
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
2026-02-26 20:26:22 +08:00
|
|
|
flex-direction: column;
|
2026-02-25 18:49:41 +08:00
|
|
|
align-items: center;
|
2026-02-26 20:26:22 +08:00
|
|
|
justify-content: flex-start;
|
|
|
|
|
padding-top: clamp(10px, 1.5vh, 30px);
|
2026-02-25 18:49:41 +08:00
|
|
|
position: relative;
|
2026-02-26 20:26:22 +08:00
|
|
|
z-index: 1;
|
2026-02-25 18:49:41 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero-content {
|
|
|
|
|
text-align: center;
|
2026-02-26 20:26:22 +08:00
|
|
|
margin-bottom: clamp(20px, 2.5vh, 50px);
|
2026-02-25 18:49:41 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-26 20:26:22 +08:00
|
|
|
.hero-emoji {
|
|
|
|
|
font-size: clamp(32px, 3.5vw, 72px);
|
|
|
|
|
margin-bottom: clamp(8px, 0.8vh, 16px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero-title {
|
|
|
|
|
font-size: @font-hero;
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
line-height: 1.3;
|
|
|
|
|
color: #1a1a1a;
|
|
|
|
|
margin-bottom: clamp(16px, 2vh, 40px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero-buttons {
|
2026-02-25 18:49:41 +08:00
|
|
|
display: flex;
|
2026-02-26 20:26:22 +08:00
|
|
|
gap: clamp(10px, 1vw, 24px);
|
2026-02-25 18:49:41 +08:00
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-26 20:26:22 +08:00
|
|
|
.btn {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: clamp(6px, 0.5vw, 10px);
|
|
|
|
|
padding: clamp(10px, 0.8vh, 18px) clamp(20px, 1.8vw, 40px);
|
2026-02-25 18:49:41 +08:00
|
|
|
border-radius: 50px;
|
2026-02-26 20:26:22 +08:00
|
|
|
font-size: @font-btn;
|
|
|
|
|
font-weight: 600;
|
2026-02-25 18:49:41 +08:00
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.3s;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-26 20:26:22 +08:00
|
|
|
.btn-primary {
|
|
|
|
|
background: #00BFA5;
|
|
|
|
|
color: #fff;
|
|
|
|
|
&:hover {
|
|
|
|
|
background: #00A98E;
|
|
|
|
|
transform: translateY(-2px);
|
|
|
|
|
box-shadow: 0 6px 20px rgba(0, 191, 165, 0.35);
|
|
|
|
|
}
|
2026-02-25 18:49:41 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-26 20:26:22 +08:00
|
|
|
.btn-icon { font-size: 0.85em; }
|
|
|
|
|
|
|
|
|
|
.hero-phones {
|
2026-02-25 18:49:41 +08:00
|
|
|
position: absolute;
|
2026-02-26 20:26:22 +08:00
|
|
|
bottom: 0;
|
2026-02-25 18:49:41 +08:00
|
|
|
left: 50%;
|
|
|
|
|
transform: translateX(-50%);
|
2026-02-26 20:26:22 +08:00
|
|
|
display: flex;
|
2026-02-26 20:41:42 +08:00
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.hero-content {
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin-bottom: clamp(16px, 2vh, 36px);
|
2026-02-25 18:49:41 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-26 20:26:22 +08:00
|
|
|
.phone-main {
|
|
|
|
|
height: clamp(320px, 52vh, 680px);
|
|
|
|
|
width: auto;
|
|
|
|
|
display: block;
|
2026-02-25 18:49:41 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-26 20:26:22 +08:00
|
|
|
.phone-placeholder {
|
|
|
|
|
border: 2px dashed #ddd;
|
|
|
|
|
border-radius: clamp(16px, 1.5vw, 32px);
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
color: #bbb;
|
|
|
|
|
font-size: @font-small;
|
|
|
|
|
background: #fafafa;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.phone-center {
|
|
|
|
|
width: @phone-w-main;
|
|
|
|
|
height: @phone-h-main;
|
|
|
|
|
z-index: 2;
|
2026-02-25 18:49:41 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-26 20:26:22 +08:00
|
|
|
.phone-left {
|
|
|
|
|
width: @phone-w-side;
|
|
|
|
|
height: @phone-h-side;
|
|
|
|
|
transform: rotate(-6deg);
|
|
|
|
|
z-index: 1;
|
2026-02-25 18:49:41 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-26 20:26:22 +08:00
|
|
|
.phone-right {
|
|
|
|
|
width: @phone-w-side;
|
|
|
|
|
height: @phone-h-side;
|
|
|
|
|
transform: rotate(6deg);
|
|
|
|
|
z-index: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.deco {
|
|
|
|
|
position: absolute;
|
|
|
|
|
font-size: clamp(20px, 2.2vw, 52px);
|
|
|
|
|
z-index: 0;
|
|
|
|
|
animation: float 3s ease-in-out infinite;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.deco-coin1 { top: 30%; left: 8%; animation-delay: 0s; }
|
|
|
|
|
.deco-coin2 { top: 25%; right: 8%; animation-delay: 0.5s; }
|
|
|
|
|
.deco-star1 { top: 50%; left: 15%; font-size: clamp(16px, 1.6vw, 38px); animation-delay: 1s; }
|
|
|
|
|
.deco-star2 { top: 45%; right: 15%; font-size: clamp(14px, 1.3vw, 32px); animation-delay: 1.5s; }
|
|
|
|
|
|
|
|
|
|
@keyframes float {
|
|
|
|
|
0%, 100% { transform: translateY(0); }
|
|
|
|
|
50% { transform: translateY(-10px); }
|
2026-02-25 18:49:41 +08:00
|
|
|
}
|
|
|
|
|
|
2026-02-26 20:26:22 +08:00
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
.hero-phones { gap: 8px; }
|
|
|
|
|
.phone-center { width: 140px; height: 260px; }
|
|
|
|
|
.phone-left, .phone-right { width: 110px; height: 210px; }
|
|
|
|
|
.deco { display: none; }
|
2026-02-25 18:49:41 +08:00
|
|
|
}
|
|
|
|
|
</style>
|