Spaces:
Running
Running
zhouwei commited on
Commit ·
edda47e
1
Parent(s): 68bbe34
first change
Browse files- env.d.ts +6 -0
- package-lock.json +0 -0
- src/App.vue +87 -56
- src/assets/main.css +4 -4
- src/components/HelloWorld.vue +320 -19
- src/views/AboutView.vue +183 -8
- src/views/HomeView.vue +753 -3
env.d.ts
CHANGED
|
@@ -1 +1,7 @@
|
|
| 1 |
/// <reference types="vite/client" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
/// <reference types="vite/client" />
|
| 2 |
+
|
| 3 |
+
declare module '*.vue' {
|
| 4 |
+
import type { DefineComponent } from 'vue'
|
| 5 |
+
const component: DefineComponent<Record<string, unknown>, Record<string, unknown>, unknown>
|
| 6 |
+
export default component
|
| 7 |
+
}
|
package-lock.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
src/App.vue
CHANGED
|
@@ -1,85 +1,116 @@
|
|
| 1 |
<script setup lang="ts">
|
| 2 |
import { RouterLink, RouterView } from 'vue-router'
|
| 3 |
-
import HelloWorld from './components/HelloWorld.vue'
|
| 4 |
</script>
|
| 5 |
|
| 6 |
<template>
|
| 7 |
-
<
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
<
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
</div>
|
| 18 |
-
</header>
|
| 19 |
-
|
| 20 |
-
<RouterView />
|
| 21 |
</template>
|
| 22 |
|
| 23 |
-
<style
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
|
|
|
| 27 |
}
|
| 28 |
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
|
|
|
|
|
|
| 32 |
}
|
| 33 |
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
text-align: center;
|
| 38 |
-
margin-top: 2rem;
|
| 39 |
}
|
| 40 |
|
| 41 |
-
|
| 42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
}
|
| 44 |
|
| 45 |
-
nav
|
| 46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
}
|
| 48 |
|
| 49 |
-
nav
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
border-left: 1px solid var(--color-border);
|
| 53 |
}
|
| 54 |
|
| 55 |
-
nav
|
| 56 |
-
|
|
|
|
| 57 |
}
|
| 58 |
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
|
| 66 |
-
|
| 67 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
}
|
| 69 |
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
flex-wrap: wrap;
|
| 74 |
}
|
|
|
|
| 75 |
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
}
|
| 85 |
</style>
|
|
|
|
| 1 |
<script setup lang="ts">
|
| 2 |
import { RouterLink, RouterView } from 'vue-router'
|
|
|
|
| 3 |
</script>
|
| 4 |
|
| 5 |
<template>
|
| 6 |
+
<div id="app">
|
| 7 |
+
<!-- 导航栏 -->
|
| 8 |
+
<nav class="floating-nav">
|
| 9 |
+
<RouterLink to="/" class="nav-item">首页</RouterLink>
|
| 10 |
+
<RouterLink to="/about" class="nav-item">关于</RouterLink>
|
| 11 |
+
</nav>
|
| 12 |
+
|
| 13 |
+
<!-- 路由视图 -->
|
| 14 |
+
<RouterView />
|
| 15 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
</template>
|
| 17 |
|
| 18 |
+
<style>
|
| 19 |
+
* {
|
| 20 |
+
margin: 0;
|
| 21 |
+
padding: 0;
|
| 22 |
+
box-sizing: border-box;
|
| 23 |
}
|
| 24 |
|
| 25 |
+
body {
|
| 26 |
+
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
| 27 |
+
line-height: 1.6;
|
| 28 |
+
color: #333;
|
| 29 |
+
overflow-x: hidden;
|
| 30 |
}
|
| 31 |
|
| 32 |
+
#app {
|
| 33 |
+
position: relative;
|
| 34 |
+
min-height: 100vh;
|
|
|
|
|
|
|
| 35 |
}
|
| 36 |
|
| 37 |
+
.floating-nav {
|
| 38 |
+
position: fixed;
|
| 39 |
+
top: 30px;
|
| 40 |
+
right: 30px;
|
| 41 |
+
z-index: 1000;
|
| 42 |
+
display: flex;
|
| 43 |
+
gap: 1rem;
|
| 44 |
+
background: rgba(255, 255, 255, 0.1);
|
| 45 |
+
backdrop-filter: blur(10px);
|
| 46 |
+
padding: 0.8rem 1.5rem;
|
| 47 |
+
border-radius: 50px;
|
| 48 |
+
border: 1px solid rgba(255, 255, 255, 0.2);
|
| 49 |
+
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
|
| 50 |
}
|
| 51 |
|
| 52 |
+
.nav-item {
|
| 53 |
+
color: white;
|
| 54 |
+
text-decoration: none;
|
| 55 |
+
font-weight: 500;
|
| 56 |
+
font-size: 0.9rem;
|
| 57 |
+
padding: 0.5rem 1rem;
|
| 58 |
+
border-radius: 25px;
|
| 59 |
+
transition: all 0.3s ease;
|
| 60 |
+
position: relative;
|
| 61 |
+
overflow: hidden;
|
| 62 |
}
|
| 63 |
|
| 64 |
+
.nav-item:hover {
|
| 65 |
+
background: rgba(255, 255, 255, 0.2);
|
| 66 |
+
transform: translateY(-2px);
|
|
|
|
| 67 |
}
|
| 68 |
|
| 69 |
+
.nav-item.router-link-exact-active {
|
| 70 |
+
background: rgba(255, 255, 255, 0.3);
|
| 71 |
+
color: white;
|
| 72 |
}
|
| 73 |
|
| 74 |
+
.nav-item.router-link-exact-active::before {
|
| 75 |
+
content: '';
|
| 76 |
+
position: absolute;
|
| 77 |
+
top: 0;
|
| 78 |
+
left: 0;
|
| 79 |
+
width: 100%;
|
| 80 |
+
height: 100%;
|
| 81 |
+
background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
|
| 82 |
+
z-index: -1;
|
| 83 |
+
}
|
| 84 |
|
| 85 |
+
@media (max-width: 768px) {
|
| 86 |
+
.floating-nav {
|
| 87 |
+
top: 20px;
|
| 88 |
+
right: 20px;
|
| 89 |
+
left: 20px;
|
| 90 |
+
justify-content: center;
|
| 91 |
}
|
| 92 |
|
| 93 |
+
.nav-item {
|
| 94 |
+
font-size: 0.8rem;
|
| 95 |
+
padding: 0.4rem 0.8rem;
|
|
|
|
| 96 |
}
|
| 97 |
+
}
|
| 98 |
|
| 99 |
+
/* 滚动条样式 */
|
| 100 |
+
::-webkit-scrollbar {
|
| 101 |
+
width: 8px;
|
| 102 |
+
}
|
| 103 |
|
| 104 |
+
::-webkit-scrollbar-track {
|
| 105 |
+
background: rgba(255, 255, 255, 0.1);
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
+
::-webkit-scrollbar-thumb {
|
| 109 |
+
background: rgba(255, 255, 255, 0.3);
|
| 110 |
+
border-radius: 4px;
|
| 111 |
+
}
|
| 112 |
+
|
| 113 |
+
::-webkit-scrollbar-thumb:hover {
|
| 114 |
+
background: rgba(255, 255, 255, 0.5);
|
| 115 |
}
|
| 116 |
</style>
|
src/assets/main.css
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
@import './base.css';
|
| 2 |
|
| 3 |
-
#app {
|
| 4 |
max-width: 1280px;
|
| 5 |
margin: 0 auto;
|
| 6 |
padding: 2rem;
|
| 7 |
font-weight: normal;
|
| 8 |
-
}
|
| 9 |
|
| 10 |
a,
|
| 11 |
.green {
|
|
@@ -21,7 +21,7 @@ a,
|
|
| 21 |
}
|
| 22 |
}
|
| 23 |
|
| 24 |
-
@media (min-width: 1024px) {
|
| 25 |
body {
|
| 26 |
display: flex;
|
| 27 |
place-items: center;
|
|
@@ -32,4 +32,4 @@ a,
|
|
| 32 |
grid-template-columns: 1fr 1fr;
|
| 33 |
padding: 0 2rem;
|
| 34 |
}
|
| 35 |
-
}
|
|
|
|
| 1 |
@import './base.css';
|
| 2 |
|
| 3 |
+
/* #app {
|
| 4 |
max-width: 1280px;
|
| 5 |
margin: 0 auto;
|
| 6 |
padding: 2rem;
|
| 7 |
font-weight: normal;
|
| 8 |
+
} */
|
| 9 |
|
| 10 |
a,
|
| 11 |
.green {
|
|
|
|
| 21 |
}
|
| 22 |
}
|
| 23 |
|
| 24 |
+
/* @media (min-width: 1024px) {
|
| 25 |
body {
|
| 26 |
display: flex;
|
| 27 |
place-items: center;
|
|
|
|
| 32 |
grid-template-columns: 1fr 1fr;
|
| 33 |
padding: 0 2rem;
|
| 34 |
}
|
| 35 |
+
} */
|
src/components/HelloWorld.vue
CHANGED
|
@@ -1,41 +1,342 @@
|
|
| 1 |
<script setup lang="ts">
|
|
|
|
|
|
|
| 2 |
defineProps<{
|
| 3 |
msg: string
|
| 4 |
}>()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
</script>
|
| 6 |
|
| 7 |
<template>
|
| 8 |
-
<div class="
|
| 9 |
-
<
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
}
|
| 40 |
}
|
| 41 |
</style>
|
|
|
|
| 1 |
<script setup lang="ts">
|
| 2 |
+
import { ref, onMounted } from 'vue'
|
| 3 |
+
|
| 4 |
defineProps<{
|
| 5 |
msg: string
|
| 6 |
}>()
|
| 7 |
+
|
| 8 |
+
const isVisible = ref(false)
|
| 9 |
+
|
| 10 |
+
onMounted(() => {
|
| 11 |
+
setTimeout(() => {
|
| 12 |
+
isVisible.value = true
|
| 13 |
+
}, 100)
|
| 14 |
+
})
|
| 15 |
</script>
|
| 16 |
|
| 17 |
<template>
|
| 18 |
+
<div class="hero-section">
|
| 19 |
+
<div class="background-animation">
|
| 20 |
+
<div class="floating-shapes">
|
| 21 |
+
<div class="shape shape-1"></div>
|
| 22 |
+
<div class="shape shape-2"></div>
|
| 23 |
+
<div class="shape shape-3"></div>
|
| 24 |
+
<div class="shape shape-4"></div>
|
| 25 |
+
<div class="shape shape-5"></div>
|
| 26 |
+
</div>
|
| 27 |
+
</div>
|
| 28 |
+
|
| 29 |
+
<div class="hero-content" :class="{ 'visible': isVisible }">
|
| 30 |
+
<div class="title-container">
|
| 31 |
+
<h1 class="main-title">{{ msg }}</h1>
|
| 32 |
+
<div class="title-underline"></div>
|
| 33 |
+
</div>
|
| 34 |
+
|
| 35 |
+
<div class="subtitle-container">
|
| 36 |
+
<p class="subtitle">全栈开发者 | 技术分享者 | 代码艺术家</p>
|
| 37 |
+
</div>
|
| 38 |
+
|
| 39 |
+
<div class="description">
|
| 40 |
+
<p>专注于前端开发、后端架构和技术创新</p>
|
| 41 |
+
<p>用代码创造美好,用技术改变世界</p>
|
| 42 |
+
</div>
|
| 43 |
+
|
| 44 |
+
<div class="tech-stack">
|
| 45 |
+
<div class="tech-item">Vue.js</div>
|
| 46 |
+
<div class="tech-item">React</div>
|
| 47 |
+
<div class="tech-item">Node.js</div>
|
| 48 |
+
<div class="tech-item">Python</div>
|
| 49 |
+
<div class="tech-item">TypeScript</div>
|
| 50 |
+
</div>
|
| 51 |
+
|
| 52 |
+
<div class="cta-buttons">
|
| 53 |
+
<button class="btn btn-primary">
|
| 54 |
+
<span>查看作品</span>
|
| 55 |
+
<div class="btn-glow"></div>
|
| 56 |
+
</button>
|
| 57 |
+
<button class="btn btn-secondary">
|
| 58 |
+
<span>联系我</span>
|
| 59 |
+
</button>
|
| 60 |
+
</div>
|
| 61 |
+
</div>
|
| 62 |
</div>
|
| 63 |
</template>
|
| 64 |
|
| 65 |
<style scoped>
|
| 66 |
+
.hero-section {
|
| 67 |
+
position: relative;
|
| 68 |
+
min-height: 100vh;
|
| 69 |
+
display: flex;
|
| 70 |
+
align-items: center;
|
| 71 |
+
justify-content: center;
|
| 72 |
+
overflow: hidden;
|
| 73 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
.background-animation {
|
| 77 |
+
position: absolute;
|
| 78 |
+
top: 0;
|
| 79 |
+
left: 0;
|
| 80 |
+
width: 100%;
|
| 81 |
+
height: 100%;
|
| 82 |
+
z-index: 1;
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
.floating-shapes {
|
| 86 |
position: relative;
|
| 87 |
+
width: 100%;
|
| 88 |
+
height: 100%;
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
.shape {
|
| 92 |
+
position: absolute;
|
| 93 |
+
background: rgba(255, 255, 255, 0.1);
|
| 94 |
+
border-radius: 50%;
|
| 95 |
+
animation: float 6s ease-in-out infinite;
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
.shape-1 {
|
| 99 |
+
width: 80px;
|
| 100 |
+
height: 80px;
|
| 101 |
+
top: 20%;
|
| 102 |
+
left: 10%;
|
| 103 |
+
animation-delay: 0s;
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
.shape-2 {
|
| 107 |
+
width: 60px;
|
| 108 |
+
height: 60px;
|
| 109 |
+
top: 60%;
|
| 110 |
+
right: 20%;
|
| 111 |
+
animation-delay: 1s;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
.shape-3 {
|
| 115 |
+
width: 100px;
|
| 116 |
+
height: 100px;
|
| 117 |
+
bottom: 20%;
|
| 118 |
+
left: 20%;
|
| 119 |
+
animation-delay: 2s;
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
.shape-4 {
|
| 123 |
+
width: 40px;
|
| 124 |
+
height: 40px;
|
| 125 |
+
top: 30%;
|
| 126 |
+
right: 10%;
|
| 127 |
+
animation-delay: 3s;
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
.shape-5 {
|
| 131 |
+
width: 70px;
|
| 132 |
+
height: 70px;
|
| 133 |
+
bottom: 40%;
|
| 134 |
+
right: 30%;
|
| 135 |
+
animation-delay: 4s;
|
| 136 |
}
|
| 137 |
|
| 138 |
+
@keyframes float {
|
| 139 |
+
0%, 100% {
|
| 140 |
+
transform: translateY(0px) rotate(0deg);
|
| 141 |
+
}
|
| 142 |
+
50% {
|
| 143 |
+
transform: translateY(-20px) rotate(180deg);
|
| 144 |
+
}
|
| 145 |
}
|
| 146 |
|
| 147 |
+
.hero-content {
|
| 148 |
+
position: relative;
|
| 149 |
+
z-index: 2;
|
| 150 |
text-align: center;
|
| 151 |
+
color: white;
|
| 152 |
+
max-width: 800px;
|
| 153 |
+
padding: 2rem;
|
| 154 |
+
opacity: 0;
|
| 155 |
+
transform: translateY(50px);
|
| 156 |
+
transition: all 1s ease-out;
|
| 157 |
+
}
|
| 158 |
+
|
| 159 |
+
.hero-content.visible {
|
| 160 |
+
opacity: 1;
|
| 161 |
+
transform: translateY(0);
|
| 162 |
+
}
|
| 163 |
+
|
| 164 |
+
.title-container {
|
| 165 |
+
margin-bottom: 2rem;
|
| 166 |
+
}
|
| 167 |
+
|
| 168 |
+
.main-title {
|
| 169 |
+
font-size: 4rem;
|
| 170 |
+
font-weight: 700;
|
| 171 |
+
margin: 0;
|
| 172 |
+
background: linear-gradient(45deg, #fff, #f0f0f0);
|
| 173 |
+
-webkit-background-clip: text;
|
| 174 |
+
-webkit-text-fill-color: transparent;
|
| 175 |
+
background-clip: text;
|
| 176 |
+
text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
|
| 177 |
+
animation: titleGlow 2s ease-in-out infinite alternate;
|
| 178 |
+
}
|
| 179 |
+
|
| 180 |
+
@keyframes titleGlow {
|
| 181 |
+
from {
|
| 182 |
+
text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
|
| 183 |
+
}
|
| 184 |
+
to {
|
| 185 |
+
text-shadow: 0 0 40px rgba(255, 255, 255, 0.5), 0 0 60px rgba(255, 255, 255, 0.2);
|
| 186 |
+
}
|
| 187 |
+
}
|
| 188 |
+
|
| 189 |
+
.title-underline {
|
| 190 |
+
width: 100px;
|
| 191 |
+
height: 3px;
|
| 192 |
+
background: linear-gradient(90deg, transparent, #fff, transparent);
|
| 193 |
+
margin: 1rem auto;
|
| 194 |
+
animation: underlineGlow 2s ease-in-out infinite;
|
| 195 |
+
}
|
| 196 |
+
|
| 197 |
+
@keyframes underlineGlow {
|
| 198 |
+
0%, 100% {
|
| 199 |
+
opacity: 0.7;
|
| 200 |
+
transform: scaleX(1);
|
| 201 |
+
}
|
| 202 |
+
50% {
|
| 203 |
+
opacity: 1;
|
| 204 |
+
transform: scaleX(1.2);
|
| 205 |
+
}
|
| 206 |
}
|
| 207 |
|
| 208 |
+
.subtitle-container {
|
| 209 |
+
margin-bottom: 2rem;
|
| 210 |
+
}
|
| 211 |
+
|
| 212 |
+
.subtitle {
|
| 213 |
+
font-size: 1.5rem;
|
| 214 |
+
font-weight: 300;
|
| 215 |
+
margin: 0;
|
| 216 |
+
opacity: 0.9;
|
| 217 |
+
letter-spacing: 2px;
|
| 218 |
+
}
|
| 219 |
+
|
| 220 |
+
.description {
|
| 221 |
+
margin-bottom: 3rem;
|
| 222 |
+
font-size: 1.1rem;
|
| 223 |
+
line-height: 1.6;
|
| 224 |
+
opacity: 0.8;
|
| 225 |
+
}
|
| 226 |
+
|
| 227 |
+
.description p {
|
| 228 |
+
margin: 0.5rem 0;
|
| 229 |
+
}
|
| 230 |
+
|
| 231 |
+
.tech-stack {
|
| 232 |
+
display: flex;
|
| 233 |
+
justify-content: center;
|
| 234 |
+
gap: 1rem;
|
| 235 |
+
margin-bottom: 3rem;
|
| 236 |
+
flex-wrap: wrap;
|
| 237 |
+
}
|
| 238 |
+
|
| 239 |
+
.tech-item {
|
| 240 |
+
background: rgba(255, 255, 255, 0.1);
|
| 241 |
+
backdrop-filter: blur(10px);
|
| 242 |
+
padding: 0.5rem 1rem;
|
| 243 |
+
border-radius: 25px;
|
| 244 |
+
font-size: 0.9rem;
|
| 245 |
+
border: 1px solid rgba(255, 255, 255, 0.2);
|
| 246 |
+
transition: all 0.3s ease;
|
| 247 |
+
}
|
| 248 |
+
|
| 249 |
+
.tech-item:hover {
|
| 250 |
+
background: rgba(255, 255, 255, 0.2);
|
| 251 |
+
transform: translateY(-2px);
|
| 252 |
+
box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
|
| 253 |
+
}
|
| 254 |
+
|
| 255 |
+
.cta-buttons {
|
| 256 |
+
display: flex;
|
| 257 |
+
gap: 1rem;
|
| 258 |
+
justify-content: center;
|
| 259 |
+
flex-wrap: wrap;
|
| 260 |
+
}
|
| 261 |
+
|
| 262 |
+
.btn {
|
| 263 |
+
position: relative;
|
| 264 |
+
padding: 1rem 2rem;
|
| 265 |
+
border: none;
|
| 266 |
+
border-radius: 50px;
|
| 267 |
+
font-size: 1.1rem;
|
| 268 |
+
font-weight: 600;
|
| 269 |
+
cursor: pointer;
|
| 270 |
+
transition: all 0.3s ease;
|
| 271 |
+
overflow: hidden;
|
| 272 |
+
}
|
| 273 |
+
|
| 274 |
+
.btn span {
|
| 275 |
+
position: relative;
|
| 276 |
+
z-index: 1;
|
| 277 |
+
}
|
| 278 |
+
|
| 279 |
+
.btn-primary {
|
| 280 |
+
background: linear-gradient(45deg, #ff6b6b, #feca57);
|
| 281 |
+
color: white;
|
| 282 |
+
}
|
| 283 |
+
|
| 284 |
+
.btn-primary:hover {
|
| 285 |
+
transform: translateY(-3px);
|
| 286 |
+
box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
|
| 287 |
+
}
|
| 288 |
+
|
| 289 |
+
.btn-glow {
|
| 290 |
+
position: absolute;
|
| 291 |
+
top: 0;
|
| 292 |
+
left: -100%;
|
| 293 |
+
width: 100%;
|
| 294 |
+
height: 100%;
|
| 295 |
+
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
|
| 296 |
+
transition: left 0.5s;
|
| 297 |
+
}
|
| 298 |
+
|
| 299 |
+
.btn-primary:hover .btn-glow {
|
| 300 |
+
left: 100%;
|
| 301 |
+
}
|
| 302 |
+
|
| 303 |
+
.btn-secondary {
|
| 304 |
+
background: transparent;
|
| 305 |
+
color: white;
|
| 306 |
+
border: 2px solid rgba(255, 255, 255, 0.3);
|
| 307 |
+
}
|
| 308 |
+
|
| 309 |
+
.btn-secondary:hover {
|
| 310 |
+
background: rgba(255, 255, 255, 0.1);
|
| 311 |
+
transform: translateY(-3px);
|
| 312 |
+
box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
|
| 313 |
+
}
|
| 314 |
+
|
| 315 |
+
@media (max-width: 768px) {
|
| 316 |
+
.main-title {
|
| 317 |
+
font-size: 2.5rem;
|
| 318 |
+
}
|
| 319 |
+
|
| 320 |
+
.subtitle {
|
| 321 |
+
font-size: 1.2rem;
|
| 322 |
+
}
|
| 323 |
+
|
| 324 |
+
.tech-stack {
|
| 325 |
+
gap: 0.5rem;
|
| 326 |
+
}
|
| 327 |
+
|
| 328 |
+
.tech-item {
|
| 329 |
+
font-size: 0.8rem;
|
| 330 |
+
padding: 0.4rem 0.8rem;
|
| 331 |
+
}
|
| 332 |
+
|
| 333 |
+
.cta-buttons {
|
| 334 |
+
flex-direction: column;
|
| 335 |
+
align-items: center;
|
| 336 |
+
}
|
| 337 |
+
|
| 338 |
+
.btn {
|
| 339 |
+
width: 200px;
|
| 340 |
}
|
| 341 |
}
|
| 342 |
</style>
|
src/views/AboutView.vue
CHANGED
|
@@ -1,15 +1,190 @@
|
|
| 1 |
<template>
|
| 2 |
-
<div class="about">
|
| 3 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
| 1 |
<template>
|
| 2 |
+
<div class="about-page">
|
| 3 |
+
<div class="about-container">
|
| 4 |
+
<div class="about-content">
|
| 5 |
+
<h1 class="about-title">关于程序员小溪</h1>
|
| 6 |
+
<div class="about-text">
|
| 7 |
+
<p>
|
| 8 |
+
我是一名充满热情的全栈开发者,专注于创建优雅、高效的数字解决方案。
|
| 9 |
+
通过不断学习和实践,我致力于将创新的想法转化为现实的产品。
|
| 10 |
+
</p>
|
| 11 |
+
<p>
|
| 12 |
+
技术是我的工具,创造是我的动力。我相信每一行代码都有其价值,
|
| 13 |
+
每一个项目都是一次新的探索和挑战。
|
| 14 |
+
</p>
|
| 15 |
+
<p>
|
| 16 |
+
如果你对我的工作感兴趣,或者有任何技术问题想要交流,
|
| 17 |
+
欢迎随时联系我。让我们一起用代码改变世界!
|
| 18 |
+
</p>
|
| 19 |
+
</div>
|
| 20 |
+
|
| 21 |
+
<div class="skills-section">
|
| 22 |
+
<h2>技能专长</h2>
|
| 23 |
+
<div class="skills-grid">
|
| 24 |
+
<div class="skill-category">
|
| 25 |
+
<h3>前端开发</h3>
|
| 26 |
+
<ul>
|
| 27 |
+
<li>Vue.js / React</li>
|
| 28 |
+
<li>TypeScript / JavaScript</li>
|
| 29 |
+
<li>HTML5 / CSS3</li>
|
| 30 |
+
<li>响应式设计</li>
|
| 31 |
+
</ul>
|
| 32 |
+
</div>
|
| 33 |
+
<div class="skill-category">
|
| 34 |
+
<h3>后端开发</h3>
|
| 35 |
+
<ul>
|
| 36 |
+
<li>Node.js / Python</li>
|
| 37 |
+
<li>数据库设计</li>
|
| 38 |
+
<li>API开发</li>
|
| 39 |
+
<li>云服务部署</li>
|
| 40 |
+
</ul>
|
| 41 |
+
</div>
|
| 42 |
+
<div class="skill-category">
|
| 43 |
+
<h3>开发工具</h3>
|
| 44 |
+
<ul>
|
| 45 |
+
<li>Git / GitHub</li>
|
| 46 |
+
<li>Docker</li>
|
| 47 |
+
<li>VS Code</li>
|
| 48 |
+
<li>Linux系统</li>
|
| 49 |
+
</ul>
|
| 50 |
+
</div>
|
| 51 |
+
</div>
|
| 52 |
+
</div>
|
| 53 |
+
</div>
|
| 54 |
+
</div>
|
| 55 |
</div>
|
| 56 |
</template>
|
| 57 |
|
| 58 |
+
<style scoped>
|
| 59 |
+
.about-page {
|
| 60 |
+
min-height: 100vh;
|
| 61 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 62 |
+
padding: 2rem 0;
|
| 63 |
+
display: flex;
|
| 64 |
+
align-items: center;
|
| 65 |
+
justify-content: center;
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
.about-container {
|
| 69 |
+
max-width: 1000px;
|
| 70 |
+
width: 100%;
|
| 71 |
+
margin: 0 auto;
|
| 72 |
+
padding: 0 2rem;
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
.about-content {
|
| 76 |
+
background: rgba(255, 255, 255, 0.1);
|
| 77 |
+
backdrop-filter: blur(10px);
|
| 78 |
+
border-radius: 20px;
|
| 79 |
+
padding: 3rem;
|
| 80 |
+
border: 1px solid rgba(255, 255, 255, 0.2);
|
| 81 |
+
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
|
| 82 |
+
color: white;
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
.about-title {
|
| 86 |
+
font-size: 3rem;
|
| 87 |
+
font-weight: 700;
|
| 88 |
+
text-align: center;
|
| 89 |
+
margin-bottom: 2rem;
|
| 90 |
+
background: linear-gradient(45deg, #fff, #f0f0f0);
|
| 91 |
+
-webkit-background-clip: text;
|
| 92 |
+
-webkit-text-fill-color: transparent;
|
| 93 |
+
background-clip: text;
|
| 94 |
+
text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
|
| 95 |
+
}
|
| 96 |
+
|
| 97 |
+
.about-text {
|
| 98 |
+
font-size: 1.2rem;
|
| 99 |
+
line-height: 1.8;
|
| 100 |
+
margin-bottom: 3rem;
|
| 101 |
+
opacity: 0.9;
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
.about-text p {
|
| 105 |
+
margin-bottom: 1.5rem;
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
+
.skills-section {
|
| 109 |
+
margin-top: 3rem;
|
| 110 |
+
}
|
| 111 |
+
|
| 112 |
+
.skills-section h2 {
|
| 113 |
+
font-size: 2rem;
|
| 114 |
+
font-weight: 600;
|
| 115 |
+
text-align: center;
|
| 116 |
+
margin-bottom: 2rem;
|
| 117 |
+
color: white;
|
| 118 |
+
}
|
| 119 |
+
|
| 120 |
+
.skills-grid {
|
| 121 |
+
display: grid;
|
| 122 |
+
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
| 123 |
+
gap: 2rem;
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
.skill-category {
|
| 127 |
+
background: rgba(255, 255, 255, 0.05);
|
| 128 |
+
padding: 2rem;
|
| 129 |
+
border-radius: 15px;
|
| 130 |
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
| 131 |
+
transition: all 0.3s ease;
|
| 132 |
+
}
|
| 133 |
+
|
| 134 |
+
.skill-category:hover {
|
| 135 |
+
background: rgba(255, 255, 255, 0.1);
|
| 136 |
+
transform: translateY(-5px);
|
| 137 |
+
box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
|
| 138 |
+
}
|
| 139 |
+
|
| 140 |
+
.skill-category h3 {
|
| 141 |
+
font-size: 1.5rem;
|
| 142 |
+
font-weight: 600;
|
| 143 |
+
margin-bottom: 1rem;
|
| 144 |
+
color: #feca57;
|
| 145 |
+
}
|
| 146 |
+
|
| 147 |
+
.skill-category ul {
|
| 148 |
+
list-style: none;
|
| 149 |
+
padding: 0;
|
| 150 |
+
}
|
| 151 |
+
|
| 152 |
+
.skill-category li {
|
| 153 |
+
padding: 0.5rem 0;
|
| 154 |
+
font-size: 1.1rem;
|
| 155 |
+
opacity: 0.9;
|
| 156 |
+
position: relative;
|
| 157 |
+
padding-left: 1.5rem;
|
| 158 |
+
}
|
| 159 |
+
|
| 160 |
+
.skill-category li::before {
|
| 161 |
+
content: '▶';
|
| 162 |
+
position: absolute;
|
| 163 |
+
left: 0;
|
| 164 |
+
color: #feca57;
|
| 165 |
+
font-size: 0.8rem;
|
| 166 |
+
}
|
| 167 |
+
|
| 168 |
+
@media (max-width: 768px) {
|
| 169 |
+
.about-content {
|
| 170 |
+
padding: 2rem;
|
| 171 |
+
}
|
| 172 |
+
|
| 173 |
+
.about-title {
|
| 174 |
+
font-size: 2rem;
|
| 175 |
+
}
|
| 176 |
+
|
| 177 |
+
.about-text {
|
| 178 |
+
font-size: 1.1rem;
|
| 179 |
+
}
|
| 180 |
+
|
| 181 |
+
.skills-grid {
|
| 182 |
+
grid-template-columns: 1fr;
|
| 183 |
+
gap: 1rem;
|
| 184 |
+
}
|
| 185 |
+
|
| 186 |
+
.skill-category {
|
| 187 |
+
padding: 1.5rem;
|
| 188 |
}
|
| 189 |
}
|
| 190 |
</style>
|
src/views/HomeView.vue
CHANGED
|
@@ -1,9 +1,759 @@
|
|
| 1 |
<script setup lang="ts">
|
| 2 |
-
import
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
</script>
|
| 4 |
|
| 5 |
<template>
|
| 6 |
-
<main>
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
<script setup lang="ts">
|
| 2 |
+
import { ref, onMounted } from 'vue'
|
| 3 |
+
|
| 4 |
+
const isVisible = ref(false)
|
| 5 |
+
const projects = ref([
|
| 6 |
+
{
|
| 7 |
+
id: 1,
|
| 8 |
+
title: '响应式Web应用',
|
| 9 |
+
description: '使用Vue 3和TypeScript构建的现代化Web应用,具有完整的前后端功能',
|
| 10 |
+
tech: ['Vue 3', 'TypeScript', 'Node.js'],
|
| 11 |
+
image: '🌐'
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
id: 2,
|
| 15 |
+
title: '移动端应用开发',
|
| 16 |
+
description: '跨平台移动应用解决方案,提供流畅的用户体验',
|
| 17 |
+
tech: ['React Native', 'Flutter', 'Swift'],
|
| 18 |
+
image: '📱'
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
id: 3,
|
| 22 |
+
title: '数据可视化平台',
|
| 23 |
+
description: '企业级数据分析和可视化平台,帮助企业做出数据驱动的决策',
|
| 24 |
+
tech: ['D3.js', 'Python', 'PostgreSQL'],
|
| 25 |
+
image: '📊'
|
| 26 |
+
}
|
| 27 |
+
])
|
| 28 |
+
|
| 29 |
+
const services = ref([
|
| 30 |
+
{
|
| 31 |
+
icon: '💻',
|
| 32 |
+
title: '前端开发',
|
| 33 |
+
description: '现代化的前端解决方案,响应式设计,优秀的用户体验'
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
icon: '⚙️',
|
| 37 |
+
title: '后端开发',
|
| 38 |
+
description: '可扩展的后端架构,API设计,数据库优化'
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
icon: '🚀',
|
| 42 |
+
title: '全栈开发',
|
| 43 |
+
description: '端到端的完整解决方案,从概念到部署的全流程开发'
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
icon: '🔧',
|
| 47 |
+
title: '技术咨询',
|
| 48 |
+
description: '技术架构咨询,代码审查,性能优化建议'
|
| 49 |
+
}
|
| 50 |
+
])
|
| 51 |
+
|
| 52 |
+
onMounted(() => {
|
| 53 |
+
setTimeout(() => {
|
| 54 |
+
isVisible.value = true
|
| 55 |
+
}, 100)
|
| 56 |
+
})
|
| 57 |
</script>
|
| 58 |
|
| 59 |
<template>
|
| 60 |
+
<main class="home-page">
|
| 61 |
+
<!-- 程序员小溪介绍 Hero Section -->
|
| 62 |
+
<section class="intro-hero-section">
|
| 63 |
+
<div class="background-animation">
|
| 64 |
+
<div class="floating-shapes">
|
| 65 |
+
<div class="shape shape-1"></div>
|
| 66 |
+
<div class="shape shape-2"></div>
|
| 67 |
+
<div class="shape shape-3"></div>
|
| 68 |
+
<div class="shape shape-4"></div>
|
| 69 |
+
<div class="shape shape-5"></div>
|
| 70 |
+
</div>
|
| 71 |
+
</div>
|
| 72 |
+
|
| 73 |
+
<div class="intro-hero-content" :class="{ 'visible': isVisible }">
|
| 74 |
+
<div class="title-container">
|
| 75 |
+
<h1 class="main-title">程序员小溪</h1>
|
| 76 |
+
<div class="title-underline"></div>
|
| 77 |
+
</div>
|
| 78 |
+
|
| 79 |
+
<div class="subtitle-container">
|
| 80 |
+
<p class="subtitle">全栈开发者 | 技术分享者 | 代码艺术家</p>
|
| 81 |
+
</div>
|
| 82 |
+
|
| 83 |
+
<div class="description">
|
| 84 |
+
<p>专注于前端开发、后端架构和技术创新</p>
|
| 85 |
+
<p>用代码创造美好,用技术改变世界</p>
|
| 86 |
+
</div>
|
| 87 |
+
|
| 88 |
+
<div class="tech-stack">
|
| 89 |
+
<div class="tech-item">Vue.js</div>
|
| 90 |
+
<div class="tech-item">React</div>
|
| 91 |
+
<div class="tech-item">Node.js</div>
|
| 92 |
+
<div class="tech-item">Python</div>
|
| 93 |
+
<div class="tech-item">TypeScript</div>
|
| 94 |
+
</div>
|
| 95 |
+
|
| 96 |
+
<div class="cta-buttons">
|
| 97 |
+
<button class="btn btn-primary">
|
| 98 |
+
<span>查看作品</span>
|
| 99 |
+
<div class="btn-glow"></div>
|
| 100 |
+
</button>
|
| 101 |
+
<button class="btn btn-secondary">
|
| 102 |
+
<span>联系我</span>
|
| 103 |
+
</button>
|
| 104 |
+
</div>
|
| 105 |
+
</div>
|
| 106 |
+
</section>
|
| 107 |
+
|
| 108 |
+
<!-- 欢迎内容 Hero Section -->
|
| 109 |
+
<section class="hero-section">
|
| 110 |
+
<div class="hero-content" :class="{ 'visible': isVisible }">
|
| 111 |
+
<h1 class="hero-title">欢迎来到我的数字世界</h1>
|
| 112 |
+
<p class="hero-subtitle">在这里,创意与技术完美融合</p>
|
| 113 |
+
<div class="hero-stats">
|
| 114 |
+
<div class="stat-item">
|
| 115 |
+
<div class="stat-number">50+</div>
|
| 116 |
+
<div class="stat-label">项目经验</div>
|
| 117 |
+
</div>
|
| 118 |
+
<div class="stat-item">
|
| 119 |
+
<div class="stat-number">9年+</div>
|
| 120 |
+
<div class="stat-label">开发经验</div>
|
| 121 |
+
</div>
|
| 122 |
+
<div class="stat-item">
|
| 123 |
+
<div class="stat-number">100%</div>
|
| 124 |
+
<div class="stat-label">客户满意度</div>
|
| 125 |
+
</div>
|
| 126 |
+
</div>
|
| 127 |
+
</div>
|
| 128 |
+
</section>
|
| 129 |
+
|
| 130 |
+
<!-- Services Section -->
|
| 131 |
+
<section class="services-section">
|
| 132 |
+
<div class="container">
|
| 133 |
+
<h2 class="section-title">我的服务</h2>
|
| 134 |
+
<div class="services-grid">
|
| 135 |
+
<div
|
| 136 |
+
v-for="service in services"
|
| 137 |
+
:key="service.title"
|
| 138 |
+
class="service-card"
|
| 139 |
+
>
|
| 140 |
+
<div class="service-icon">{{ service.icon }}</div>
|
| 141 |
+
<h3 class="service-title">{{ service.title }}</h3>
|
| 142 |
+
<p class="service-description">{{ service.description }}</p>
|
| 143 |
+
</div>
|
| 144 |
+
</div>
|
| 145 |
+
</div>
|
| 146 |
+
</section>
|
| 147 |
+
|
| 148 |
+
<!-- Projects Section -->
|
| 149 |
+
<section class="projects-section">
|
| 150 |
+
<div class="container">
|
| 151 |
+
<h2 class="section-title">精选项目</h2>
|
| 152 |
+
<div class="projects-grid">
|
| 153 |
+
<div
|
| 154 |
+
v-for="project in projects"
|
| 155 |
+
:key="project.id"
|
| 156 |
+
class="project-card"
|
| 157 |
+
>
|
| 158 |
+
<div class="project-image">{{ project.image }}</div>
|
| 159 |
+
<div class="project-content">
|
| 160 |
+
<h3 class="project-title">{{ project.title }}</h3>
|
| 161 |
+
<p class="project-description">{{ project.description }}</p>
|
| 162 |
+
<div class="project-tech">
|
| 163 |
+
<span
|
| 164 |
+
v-for="tech in project.tech"
|
| 165 |
+
:key="tech"
|
| 166 |
+
class="tech-tag"
|
| 167 |
+
>
|
| 168 |
+
{{ tech }}
|
| 169 |
+
</span>
|
| 170 |
+
</div>
|
| 171 |
+
</div>
|
| 172 |
+
</div>
|
| 173 |
+
</div>
|
| 174 |
+
</div>
|
| 175 |
+
</section>
|
| 176 |
+
|
| 177 |
+
<!-- Contact Section -->
|
| 178 |
+
<section class="contact-section">
|
| 179 |
+
<div class="container">
|
| 180 |
+
<h2 class="section-title">让我们开始合作</h2>
|
| 181 |
+
<p class="contact-subtitle">有项目想法?让我们一起把它变成现实</p>
|
| 182 |
+
<div class="contact-buttons">
|
| 183 |
+
<button class="btn btn-primary">
|
| 184 |
+
<span>开始项目</span>
|
| 185 |
+
</button>
|
| 186 |
+
<button class="btn btn-secondary">
|
| 187 |
+
<span>查看简历</span>
|
| 188 |
+
</button>
|
| 189 |
+
</div>
|
| 190 |
+
<div class="contact-info">
|
| 191 |
+
<div class="contact-item">
|
| 192 |
+
<span class="contact-icon">📧</span>
|
| 193 |
+
<span>xiaoxidev@example.com</span>
|
| 194 |
+
</div>
|
| 195 |
+
<div class="contact-item">
|
| 196 |
+
<span class="contact-icon">💬</span>
|
| 197 |
+
<span>微信:xiaoxidev</span>
|
| 198 |
+
</div>
|
| 199 |
+
<div class="contact-item">
|
| 200 |
+
<span class="contact-icon">🐙</span>
|
| 201 |
+
<span>GitHub:@xiaoxidev</span>
|
| 202 |
+
</div>
|
| 203 |
+
</div>
|
| 204 |
+
</div>
|
| 205 |
+
</section>
|
| 206 |
</main>
|
| 207 |
</template>
|
| 208 |
+
|
| 209 |
+
<style scoped>
|
| 210 |
+
.home-page {
|
| 211 |
+
min-height: 100vh;
|
| 212 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 213 |
+
color: white;
|
| 214 |
+
}
|
| 215 |
+
|
| 216 |
+
.container {
|
| 217 |
+
max-width: 1200px;
|
| 218 |
+
margin: 0 auto;
|
| 219 |
+
padding: 0 2rem;
|
| 220 |
+
}
|
| 221 |
+
|
| 222 |
+
/* 程序员小溪介绍 Hero Section */
|
| 223 |
+
.intro-hero-section {
|
| 224 |
+
position: relative;
|
| 225 |
+
min-height: 100vh;
|
| 226 |
+
display: flex;
|
| 227 |
+
align-items: center;
|
| 228 |
+
justify-content: center;
|
| 229 |
+
overflow: hidden;
|
| 230 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 231 |
+
}
|
| 232 |
+
|
| 233 |
+
.background-animation {
|
| 234 |
+
position: absolute;
|
| 235 |
+
top: 0;
|
| 236 |
+
left: 0;
|
| 237 |
+
width: 100%;
|
| 238 |
+
height: 100%;
|
| 239 |
+
z-index: 1;
|
| 240 |
+
}
|
| 241 |
+
|
| 242 |
+
.floating-shapes {
|
| 243 |
+
position: relative;
|
| 244 |
+
width: 100%;
|
| 245 |
+
height: 100%;
|
| 246 |
+
}
|
| 247 |
+
|
| 248 |
+
.shape {
|
| 249 |
+
position: absolute;
|
| 250 |
+
background: rgba(255, 255, 255, 0.1);
|
| 251 |
+
border-radius: 50%;
|
| 252 |
+
animation: float 6s ease-in-out infinite;
|
| 253 |
+
}
|
| 254 |
+
|
| 255 |
+
.shape-1 {
|
| 256 |
+
width: 80px;
|
| 257 |
+
height: 80px;
|
| 258 |
+
top: 20%;
|
| 259 |
+
left: 10%;
|
| 260 |
+
animation-delay: 0s;
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
.shape-2 {
|
| 264 |
+
width: 60px;
|
| 265 |
+
height: 60px;
|
| 266 |
+
top: 60%;
|
| 267 |
+
right: 20%;
|
| 268 |
+
animation-delay: 1s;
|
| 269 |
+
}
|
| 270 |
+
|
| 271 |
+
.shape-3 {
|
| 272 |
+
width: 100px;
|
| 273 |
+
height: 100px;
|
| 274 |
+
bottom: 20%;
|
| 275 |
+
left: 20%;
|
| 276 |
+
animation-delay: 2s;
|
| 277 |
+
}
|
| 278 |
+
|
| 279 |
+
.shape-4 {
|
| 280 |
+
width: 40px;
|
| 281 |
+
height: 40px;
|
| 282 |
+
top: 30%;
|
| 283 |
+
right: 10%;
|
| 284 |
+
animation-delay: 3s;
|
| 285 |
+
}
|
| 286 |
+
|
| 287 |
+
.shape-5 {
|
| 288 |
+
width: 70px;
|
| 289 |
+
height: 70px;
|
| 290 |
+
bottom: 40%;
|
| 291 |
+
right: 30%;
|
| 292 |
+
animation-delay: 4s;
|
| 293 |
+
}
|
| 294 |
+
|
| 295 |
+
@keyframes float {
|
| 296 |
+
0%, 100% {
|
| 297 |
+
transform: translateY(0px) rotate(0deg);
|
| 298 |
+
}
|
| 299 |
+
50% {
|
| 300 |
+
transform: translateY(-20px) rotate(180deg);
|
| 301 |
+
}
|
| 302 |
+
}
|
| 303 |
+
|
| 304 |
+
.intro-hero-content {
|
| 305 |
+
position: relative;
|
| 306 |
+
z-index: 2;
|
| 307 |
+
text-align: center;
|
| 308 |
+
color: white;
|
| 309 |
+
max-width: 800px;
|
| 310 |
+
padding: 2rem;
|
| 311 |
+
opacity: 0;
|
| 312 |
+
transform: translateY(50px);
|
| 313 |
+
transition: all 1s ease-out;
|
| 314 |
+
}
|
| 315 |
+
|
| 316 |
+
.intro-hero-content.visible {
|
| 317 |
+
opacity: 1;
|
| 318 |
+
transform: translateY(0);
|
| 319 |
+
}
|
| 320 |
+
|
| 321 |
+
.title-container {
|
| 322 |
+
margin-bottom: 2rem;
|
| 323 |
+
}
|
| 324 |
+
|
| 325 |
+
.main-title {
|
| 326 |
+
font-size: 4rem;
|
| 327 |
+
font-weight: 700;
|
| 328 |
+
margin: 0;
|
| 329 |
+
background: linear-gradient(45deg, #fff, #f0f0f0);
|
| 330 |
+
-webkit-background-clip: text;
|
| 331 |
+
-webkit-text-fill-color: transparent;
|
| 332 |
+
background-clip: text;
|
| 333 |
+
text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
|
| 334 |
+
animation: titleGlow 2s ease-in-out infinite alternate;
|
| 335 |
+
}
|
| 336 |
+
|
| 337 |
+
@keyframes titleGlow {
|
| 338 |
+
from {
|
| 339 |
+
text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
|
| 340 |
+
}
|
| 341 |
+
to {
|
| 342 |
+
text-shadow: 0 0 40px rgba(255, 255, 255, 0.5), 0 0 60px rgba(255, 255, 255, 0.2);
|
| 343 |
+
}
|
| 344 |
+
}
|
| 345 |
+
|
| 346 |
+
.title-underline {
|
| 347 |
+
width: 100px;
|
| 348 |
+
height: 3px;
|
| 349 |
+
background: linear-gradient(90deg, transparent, #fff, transparent);
|
| 350 |
+
margin: 1rem auto;
|
| 351 |
+
animation: underlineGlow 2s ease-in-out infinite;
|
| 352 |
+
}
|
| 353 |
+
|
| 354 |
+
@keyframes underlineGlow {
|
| 355 |
+
0%, 100% {
|
| 356 |
+
opacity: 0.7;
|
| 357 |
+
transform: scaleX(1);
|
| 358 |
+
}
|
| 359 |
+
50% {
|
| 360 |
+
opacity: 1;
|
| 361 |
+
transform: scaleX(1.2);
|
| 362 |
+
}
|
| 363 |
+
}
|
| 364 |
+
|
| 365 |
+
.subtitle-container {
|
| 366 |
+
margin-bottom: 2rem;
|
| 367 |
+
}
|
| 368 |
+
|
| 369 |
+
.subtitle {
|
| 370 |
+
font-size: 1.5rem;
|
| 371 |
+
font-weight: 300;
|
| 372 |
+
margin: 0;
|
| 373 |
+
opacity: 0.9;
|
| 374 |
+
letter-spacing: 2px;
|
| 375 |
+
}
|
| 376 |
+
|
| 377 |
+
.description {
|
| 378 |
+
margin-bottom: 3rem;
|
| 379 |
+
font-size: 1.1rem;
|
| 380 |
+
line-height: 1.6;
|
| 381 |
+
opacity: 0.8;
|
| 382 |
+
}
|
| 383 |
+
|
| 384 |
+
.description p {
|
| 385 |
+
margin: 0.5rem 0;
|
| 386 |
+
}
|
| 387 |
+
|
| 388 |
+
.tech-stack {
|
| 389 |
+
display: flex;
|
| 390 |
+
justify-content: center;
|
| 391 |
+
gap: 1rem;
|
| 392 |
+
margin-bottom: 3rem;
|
| 393 |
+
flex-wrap: wrap;
|
| 394 |
+
}
|
| 395 |
+
|
| 396 |
+
.tech-item {
|
| 397 |
+
background: rgba(255, 255, 255, 0.1);
|
| 398 |
+
backdrop-filter: blur(10px);
|
| 399 |
+
padding: 0.5rem 1rem;
|
| 400 |
+
border-radius: 25px;
|
| 401 |
+
font-size: 0.9rem;
|
| 402 |
+
border: 1px solid rgba(255, 255, 255, 0.2);
|
| 403 |
+
transition: all 0.3s ease;
|
| 404 |
+
}
|
| 405 |
+
|
| 406 |
+
.tech-item:hover {
|
| 407 |
+
background: rgba(255, 255, 255, 0.2);
|
| 408 |
+
transform: translateY(-2px);
|
| 409 |
+
box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
|
| 410 |
+
}
|
| 411 |
+
|
| 412 |
+
.cta-buttons {
|
| 413 |
+
display: flex;
|
| 414 |
+
gap: 1rem;
|
| 415 |
+
justify-content: center;
|
| 416 |
+
flex-wrap: wrap;
|
| 417 |
+
}
|
| 418 |
+
|
| 419 |
+
.btn-glow {
|
| 420 |
+
position: absolute;
|
| 421 |
+
top: 0;
|
| 422 |
+
left: -100%;
|
| 423 |
+
width: 100%;
|
| 424 |
+
height: 100%;
|
| 425 |
+
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
|
| 426 |
+
transition: left 0.5s;
|
| 427 |
+
}
|
| 428 |
+
|
| 429 |
+
.btn-primary:hover .btn-glow {
|
| 430 |
+
left: 100%;
|
| 431 |
+
}
|
| 432 |
+
|
| 433 |
+
/* Hero Section */
|
| 434 |
+
.hero-section {
|
| 435 |
+
min-height: 100vh;
|
| 436 |
+
display: flex;
|
| 437 |
+
align-items: center;
|
| 438 |
+
justify-content: center;
|
| 439 |
+
text-align: center;
|
| 440 |
+
position: relative;
|
| 441 |
+
overflow: hidden;
|
| 442 |
+
background: rgba(255, 255, 255, 0.05);
|
| 443 |
+
}
|
| 444 |
+
|
| 445 |
+
.hero-content {
|
| 446 |
+
opacity: 0;
|
| 447 |
+
transform: translateY(50px);
|
| 448 |
+
transition: all 1s ease-out;
|
| 449 |
+
z-index: 2;
|
| 450 |
+
}
|
| 451 |
+
|
| 452 |
+
.hero-content.visible {
|
| 453 |
+
opacity: 1;
|
| 454 |
+
transform: translateY(0);
|
| 455 |
+
}
|
| 456 |
+
|
| 457 |
+
.hero-title {
|
| 458 |
+
font-size: 3.5rem;
|
| 459 |
+
font-weight: 700;
|
| 460 |
+
margin-bottom: 1rem;
|
| 461 |
+
background: linear-gradient(45deg, #fff, #f0f0f0);
|
| 462 |
+
-webkit-background-clip: text;
|
| 463 |
+
-webkit-text-fill-color: transparent;
|
| 464 |
+
background-clip: text;
|
| 465 |
+
text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
|
| 466 |
+
}
|
| 467 |
+
|
| 468 |
+
.hero-subtitle {
|
| 469 |
+
font-size: 1.5rem;
|
| 470 |
+
margin-bottom: 3rem;
|
| 471 |
+
opacity: 0.9;
|
| 472 |
+
}
|
| 473 |
+
|
| 474 |
+
.hero-stats {
|
| 475 |
+
display: flex;
|
| 476 |
+
justify-content: center;
|
| 477 |
+
gap: 3rem;
|
| 478 |
+
margin-top: 2rem;
|
| 479 |
+
}
|
| 480 |
+
|
| 481 |
+
.stat-item {
|
| 482 |
+
text-align: center;
|
| 483 |
+
}
|
| 484 |
+
|
| 485 |
+
.stat-number {
|
| 486 |
+
font-size: 2.5rem;
|
| 487 |
+
font-weight: 700;
|
| 488 |
+
color: #feca57;
|
| 489 |
+
margin-bottom: 0.5rem;
|
| 490 |
+
}
|
| 491 |
+
|
| 492 |
+
.stat-label {
|
| 493 |
+
font-size: 1rem;
|
| 494 |
+
opacity: 0.8;
|
| 495 |
+
}
|
| 496 |
+
|
| 497 |
+
/* Services Section */
|
| 498 |
+
.services-section {
|
| 499 |
+
padding: 5rem 0;
|
| 500 |
+
background: rgba(255, 255, 255, 0.05);
|
| 501 |
+
}
|
| 502 |
+
|
| 503 |
+
.section-title {
|
| 504 |
+
font-size: 2.5rem;
|
| 505 |
+
font-weight: 700;
|
| 506 |
+
text-align: center;
|
| 507 |
+
margin-bottom: 3rem;
|
| 508 |
+
background: linear-gradient(45deg, #fff, #f0f0f0);
|
| 509 |
+
-webkit-background-clip: text;
|
| 510 |
+
-webkit-text-fill-color: transparent;
|
| 511 |
+
background-clip: text;
|
| 512 |
+
}
|
| 513 |
+
|
| 514 |
+
.services-grid {
|
| 515 |
+
display: grid;
|
| 516 |
+
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
| 517 |
+
gap: 2rem;
|
| 518 |
+
}
|
| 519 |
+
|
| 520 |
+
.service-card {
|
| 521 |
+
background: rgba(255, 255, 255, 0.1);
|
| 522 |
+
backdrop-filter: blur(10px);
|
| 523 |
+
padding: 2rem;
|
| 524 |
+
border-radius: 20px;
|
| 525 |
+
border: 1px solid rgba(255, 255, 255, 0.2);
|
| 526 |
+
text-align: center;
|
| 527 |
+
transition: all 0.3s ease;
|
| 528 |
+
}
|
| 529 |
+
|
| 530 |
+
.service-card:hover {
|
| 531 |
+
transform: translateY(-10px);
|
| 532 |
+
background: rgba(255, 255, 255, 0.15);
|
| 533 |
+
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
|
| 534 |
+
}
|
| 535 |
+
|
| 536 |
+
.service-icon {
|
| 537 |
+
font-size: 3rem;
|
| 538 |
+
margin-bottom: 1rem;
|
| 539 |
+
}
|
| 540 |
+
|
| 541 |
+
.service-title {
|
| 542 |
+
font-size: 1.5rem;
|
| 543 |
+
font-weight: 600;
|
| 544 |
+
margin-bottom: 1rem;
|
| 545 |
+
color: #feca57;
|
| 546 |
+
}
|
| 547 |
+
|
| 548 |
+
.service-description {
|
| 549 |
+
opacity: 0.9;
|
| 550 |
+
line-height: 1.6;
|
| 551 |
+
}
|
| 552 |
+
|
| 553 |
+
/* Projects Section */
|
| 554 |
+
.projects-section {
|
| 555 |
+
padding: 5rem 0;
|
| 556 |
+
}
|
| 557 |
+
|
| 558 |
+
.projects-grid {
|
| 559 |
+
display: grid;
|
| 560 |
+
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
|
| 561 |
+
gap: 2rem;
|
| 562 |
+
}
|
| 563 |
+
|
| 564 |
+
.project-card {
|
| 565 |
+
background: rgba(255, 255, 255, 0.1);
|
| 566 |
+
backdrop-filter: blur(10px);
|
| 567 |
+
border-radius: 20px;
|
| 568 |
+
border: 1px solid rgba(255, 255, 255, 0.2);
|
| 569 |
+
overflow: hidden;
|
| 570 |
+
transition: all 0.3s ease;
|
| 571 |
+
}
|
| 572 |
+
|
| 573 |
+
.project-card:hover {
|
| 574 |
+
transform: translateY(-5px);
|
| 575 |
+
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
|
| 576 |
+
}
|
| 577 |
+
|
| 578 |
+
.project-image {
|
| 579 |
+
height: 200px;
|
| 580 |
+
display: flex;
|
| 581 |
+
align-items: center;
|
| 582 |
+
justify-content: center;
|
| 583 |
+
font-size: 4rem;
|
| 584 |
+
background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
|
| 585 |
+
}
|
| 586 |
+
|
| 587 |
+
.project-content {
|
| 588 |
+
padding: 2rem;
|
| 589 |
+
}
|
| 590 |
+
|
| 591 |
+
.project-title {
|
| 592 |
+
font-size: 1.5rem;
|
| 593 |
+
font-weight: 600;
|
| 594 |
+
margin-bottom: 1rem;
|
| 595 |
+
color: #feca57;
|
| 596 |
+
}
|
| 597 |
+
|
| 598 |
+
.project-description {
|
| 599 |
+
opacity: 0.9;
|
| 600 |
+
line-height: 1.6;
|
| 601 |
+
margin-bottom: 1.5rem;
|
| 602 |
+
}
|
| 603 |
+
|
| 604 |
+
.project-tech {
|
| 605 |
+
display: flex;
|
| 606 |
+
gap: 0.5rem;
|
| 607 |
+
flex-wrap: wrap;
|
| 608 |
+
}
|
| 609 |
+
|
| 610 |
+
.tech-tag {
|
| 611 |
+
background: rgba(255, 255, 255, 0.2);
|
| 612 |
+
padding: 0.3rem 0.8rem;
|
| 613 |
+
border-radius: 15px;
|
| 614 |
+
font-size: 0.8rem;
|
| 615 |
+
border: 1px solid rgba(255, 255, 255, 0.3);
|
| 616 |
+
}
|
| 617 |
+
|
| 618 |
+
/* Contact Section */
|
| 619 |
+
.contact-section {
|
| 620 |
+
padding: 5rem 0;
|
| 621 |
+
background: rgba(255, 255, 255, 0.05);
|
| 622 |
+
text-align: center;
|
| 623 |
+
}
|
| 624 |
+
|
| 625 |
+
.contact-subtitle {
|
| 626 |
+
font-size: 1.2rem;
|
| 627 |
+
opacity: 0.9;
|
| 628 |
+
margin-bottom: 2rem;
|
| 629 |
+
}
|
| 630 |
+
|
| 631 |
+
.contact-buttons {
|
| 632 |
+
display: flex;
|
| 633 |
+
gap: 1rem;
|
| 634 |
+
justify-content: center;
|
| 635 |
+
margin-bottom: 3rem;
|
| 636 |
+
flex-wrap: wrap;
|
| 637 |
+
}
|
| 638 |
+
|
| 639 |
+
.btn {
|
| 640 |
+
padding: 1rem 2rem;
|
| 641 |
+
border: none;
|
| 642 |
+
border-radius: 50px;
|
| 643 |
+
font-size: 1.1rem;
|
| 644 |
+
font-weight: 600;
|
| 645 |
+
cursor: pointer;
|
| 646 |
+
transition: all 0.3s ease;
|
| 647 |
+
position: relative;
|
| 648 |
+
overflow: hidden;
|
| 649 |
+
}
|
| 650 |
+
|
| 651 |
+
.btn span {
|
| 652 |
+
position: relative;
|
| 653 |
+
z-index: 1;
|
| 654 |
+
}
|
| 655 |
+
|
| 656 |
+
.btn-primary {
|
| 657 |
+
background: linear-gradient(45deg, #ff6b6b, #feca57);
|
| 658 |
+
color: white;
|
| 659 |
+
}
|
| 660 |
+
|
| 661 |
+
.btn-primary:hover {
|
| 662 |
+
transform: translateY(-3px);
|
| 663 |
+
box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
|
| 664 |
+
}
|
| 665 |
+
|
| 666 |
+
.btn-secondary {
|
| 667 |
+
background: transparent;
|
| 668 |
+
color: white;
|
| 669 |
+
border: 2px solid rgba(255, 255, 255, 0.3);
|
| 670 |
+
}
|
| 671 |
+
|
| 672 |
+
.btn-secondary:hover {
|
| 673 |
+
background: rgba(255, 255, 255, 0.1);
|
| 674 |
+
transform: translateY(-3px);
|
| 675 |
+
}
|
| 676 |
+
|
| 677 |
+
.contact-info {
|
| 678 |
+
display: flex;
|
| 679 |
+
justify-content: center;
|
| 680 |
+
gap: 2rem;
|
| 681 |
+
flex-wrap: wrap;
|
| 682 |
+
}
|
| 683 |
+
|
| 684 |
+
.contact-item {
|
| 685 |
+
display: flex;
|
| 686 |
+
align-items: center;
|
| 687 |
+
gap: 0.5rem;
|
| 688 |
+
background: rgba(255, 255, 255, 0.1);
|
| 689 |
+
padding: 1rem 1.5rem;
|
| 690 |
+
border-radius: 25px;
|
| 691 |
+
border: 1px solid rgba(255, 255, 255, 0.2);
|
| 692 |
+
transition: all 0.3s ease;
|
| 693 |
+
}
|
| 694 |
+
|
| 695 |
+
.contact-item:hover {
|
| 696 |
+
background: rgba(255, 255, 255, 0.15);
|
| 697 |
+
transform: translateY(-2px);
|
| 698 |
+
}
|
| 699 |
+
|
| 700 |
+
.contact-icon {
|
| 701 |
+
font-size: 1.2rem;
|
| 702 |
+
}
|
| 703 |
+
|
| 704 |
+
/* Responsive Design */
|
| 705 |
+
@media (max-width: 768px) {
|
| 706 |
+
.main-title {
|
| 707 |
+
font-size: 2.5rem;
|
| 708 |
+
}
|
| 709 |
+
|
| 710 |
+
.subtitle {
|
| 711 |
+
font-size: 1.2rem;
|
| 712 |
+
}
|
| 713 |
+
|
| 714 |
+
.tech-stack {
|
| 715 |
+
gap: 0.5rem;
|
| 716 |
+
}
|
| 717 |
+
|
| 718 |
+
.tech-item {
|
| 719 |
+
font-size: 0.8rem;
|
| 720 |
+
padding: 0.4rem 0.8rem;
|
| 721 |
+
}
|
| 722 |
+
|
| 723 |
+
.hero-title {
|
| 724 |
+
font-size: 2.5rem;
|
| 725 |
+
}
|
| 726 |
+
|
| 727 |
+
.hero-subtitle {
|
| 728 |
+
font-size: 1.2rem;
|
| 729 |
+
}
|
| 730 |
+
|
| 731 |
+
.hero-stats {
|
| 732 |
+
flex-direction: column;
|
| 733 |
+
gap: 1rem;
|
| 734 |
+
}
|
| 735 |
+
|
| 736 |
+
.section-title {
|
| 737 |
+
font-size: 2rem;
|
| 738 |
+
}
|
| 739 |
+
|
| 740 |
+
.services-grid,
|
| 741 |
+
.projects-grid {
|
| 742 |
+
grid-template-columns: 1fr;
|
| 743 |
+
}
|
| 744 |
+
|
| 745 |
+
.contact-buttons {
|
| 746 |
+
flex-direction: column;
|
| 747 |
+
align-items: center;
|
| 748 |
+
}
|
| 749 |
+
|
| 750 |
+
.btn {
|
| 751 |
+
width: 200px;
|
| 752 |
+
}
|
| 753 |
+
|
| 754 |
+
.contact-info {
|
| 755 |
+
flex-direction: column;
|
| 756 |
+
align-items: center;
|
| 757 |
+
}
|
| 758 |
+
}
|
| 759 |
+
</style>
|