2025-07-01 20:28:56 +08:00

229 lines
5.9 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div class="deepseek-home">
<header class="deepseek-home__header">
<div class="deepseek-home__logo">
<span class="deepseek-home__logo-text">ZeroNode</span>
<span class="deepseek-home__logo-beta">零枢</span>
</div>
<div class="deepseek-home__actions">
<n-button type="primary" @click="handleLogin">登录</n-button>
<n-button @click="handleLogout">注册</n-button>
</div>
</header>
<main class="deepseek-home__main">
<section class="deepseek-home__hero">
<h1 class="deepseek-home__title">科技赋能数字化管理</h1>
<p class="deepseek-home__subtitle">先进的陪玩管理系统为您提供智能陪玩店体验</p>
</section>
<section class="deepseek-home__features">
<div class="deepseek-home__feature">
<div class="deepseek-home__feature-icon">
<svg viewBox="0 0 24 24">
<path d="M12 3L1 9l11 6 9-4.91V17h2V9M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82z" />
</svg>
</div>
<h3 class="deepseek-home__feature-title">稳定系统</h3>
<p class="deepseek-home__feature-desc">基于.NET9 + Vue3研发提供更稳定的系统体验</p>
</div>
<div class="deepseek-home__feature">
<div class="deepseek-home__feature-icon">
<svg viewBox="0 0 24 24">
<path
d="M12 15c1.66 0 3-1.34 3-3V6c0-1.66-1.34-3-3-3S9 4.34 9 6v6c0 1.66 1.34 3 3 3zm5.91-3c-.49 0-.9.36-.98.85C16.52 15.22 14.47 17 12 17s-4.52-1.78-4.93-4.15c-.08-.49-.49-.85-.98-.85-.61 0-1.09.54-1 1.14.49 3 2.89 5.35 5.91 5.78V21c0 .55.45 1 1 1s1-.45 1-1v-2.08c3.02-.43 5.42-2.78 5.91-5.78.1-.6-.39-1.14-1-1.14z" />
</svg>
</div>
<h3 class="deepseek-home__feature-title">科技赋能</h3>
<p class="deepseek-home__feature-desc">实施动态数据抓取为您带来更高效的数据管理</p>
</div>
<div class="deepseek-home__feature">
<div class="deepseek-home__feature-icon">
<svg viewBox="0 0 24 24">
<path
d="M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z" />
</svg>
</div>
<h3 class="deepseek-home__feature-title">融创集群</h3>
<p class="deepseek-home__feature-desc">将系统产品与第五人格陪玩产业融合打造数字化集群统一平台</p>
</div>
</section>
</main>
<footer class="deepseek-home__footer">
<div class="deepseek-home__footer-content">
<div class="deepseek-home__footer-links">
<a href="#" class="deepseek-home__footer-link">使用条款</a>
<a href="#" class="deepseek-home__footer-link">隐私政策</a>
<a href="#" class="deepseek-home__footer-link">联系我们</a>
</div>
</div>
<div class="deepseek-home__footer-copyright">
© 2025 AvengerS Gaming. All rights reserved.
</div>
</footer>
</div>
</template>
<script setup>
import { useAuth0 } from '@auth0/auth0-vue';
const { loginWithRedirect, logout } = useAuth0();
const handleLogin = () => {
loginWithRedirect();
}
const handleLogout = () => {
logout({ logoutParams: { returnTo: window.location.origin } });
}
</script>
<style lang="scss" scoped>
.deepseek-home {
display: flex;
flex-direction: column;
height: 100vh;
overflow: hidden;
font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
color: #333;
background-color: #fff;
&__header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 2rem;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
&__logo {
display: flex;
align-items: baseline;
font-weight: bold;
font-size: 1.5rem;
&-text {
color: $primaryColor;
}
&-beta {
margin-left: 0.5rem;
font-size: 1rem;
color: #666;
}
}
&__actions {
display: flex;
gap: 1rem;
}
&__main {
flex: 1;
padding: 1.5rem;
}
&__hero {
max-width: 800px;
margin: 3rem auto;
text-align: center;
padding: 2rem 0;
}
&__title {
font-size: 2.5rem;
margin-bottom: 1rem;
color: #222;
}
&__subtitle {
font-size: 1.2rem;
color: #666;
margin-bottom: 2rem;
}
&__features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
max-width: 1000px;
margin: 5rem auto;
}
&__feature {
text-align: center;
padding: 2rem;
border-radius: 8px;
transition: transform 0.3s, box-shadow 0.3s;
&:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
&-icon {
width: 60px;
height: 60px;
margin: 0 auto 1.5rem;
background-color: rgba(61, 142, 255, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: $primaryColor;
svg {
width: 30px;
height: 30px;
fill: currentColor;
}
}
&-title {
font-size: 1.3rem;
margin-bottom: 1rem;
color: #222;
}
&-desc {
color: #666;
line-height: 1.6;
}
}
&__footer {
background-color: #f8f8f8;
padding: 1rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
&__footer-content {
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.3em;
}
&__footer-links {
display: flex;
gap: 1.5rem;
}
&__footer-link {
color: #666;
text-decoration: none;
transition: color 0.3s;
&:hover {
color: $primaryColor;
}
}
&__footer-copyright {
color: #999;
font-size: 0.9rem;
}
}
</style>