|
|
@@ -1,77 +1,291 @@
|
|
|
<template>
|
|
|
<footer class="footer">
|
|
|
- <div class="container">
|
|
|
- <div class="footer-content">
|
|
|
- <div class="footer-section">
|
|
|
- <h4>联系我们</h4>
|
|
|
- <p>电话:400-xxx-xxxx</p>
|
|
|
- <p>邮箱:info@zyuas.com</p>
|
|
|
- <p>地址:上海市 xxx 区 xxx 路 xxx 号</p>
|
|
|
+ <!-- 背景装饰 -->
|
|
|
+ <div class="footer-bg">
|
|
|
+ <div class="gradient-orb orb-1"></div>
|
|
|
+ <div class="gradient-orb orb-2"></div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="container footer-content">
|
|
|
+ <div class="logo-section">
|
|
|
+ <div class="logo">
|
|
|
+ <img src="@/assets/images/logo_white.svg" alt="logo" @error="handleLogoError">
|
|
|
+ </div>
|
|
|
+ <p class="title">上海展域航空技术有限公司</p>
|
|
|
+ <p class="subtitle">您身边的无人机与 AI 解决方案专家</p>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="footer-info">
|
|
|
+ <div class="info-item">
|
|
|
+ <el-icon class="info-icon"><Location /></el-icon>
|
|
|
+ <span>地址:上海市徐汇区漕溪路 252 号银海大楼 C-406</span>
|
|
|
+ </div>
|
|
|
+ <div class="info-item">
|
|
|
+ <el-icon class="info-icon"><Phone /></el-icon>
|
|
|
+ <span>联系电话:15086621233</span>
|
|
|
</div>
|
|
|
- <div class="footer-section">
|
|
|
- <h4>产品服务</h4>
|
|
|
- <router-link to="/products/djiAircraft">大疆行业无人机</router-link>
|
|
|
- <router-link to="/products/payloads">无人机负载</router-link>
|
|
|
- <router-link to="/products/software">软件与服务</router-link>
|
|
|
- <router-link to="/solutions">解决方案</router-link>
|
|
|
+ <div class="info-item">
|
|
|
+ <el-icon class="info-icon"><Message /></el-icon>
|
|
|
+ <span>邮箱:zhanyuhangkong@163.com</span>
|
|
|
</div>
|
|
|
- <div class="footer-section">
|
|
|
- <h4>关于我们</h4>
|
|
|
- <router-link to="/info">公司介绍</router-link>
|
|
|
- <router-link to="/news">公司动态</router-link>
|
|
|
- <router-link to="/contactus">联系我们</router-link>
|
|
|
+ <div class="info-item">
|
|
|
+ <el-icon class="info-icon"><ChatDotRound /></el-icon>
|
|
|
+ <span>微信号:15086621233</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="footer-bottom">
|
|
|
- <p>© {{ currentYear }} 上海展域航空技术有限公司 版权所有</p>
|
|
|
+
|
|
|
+ <div class="footer-links">
|
|
|
+ <router-link to="/products">产品中心</router-link>
|
|
|
+ <router-link to="/solutions">解决方案</router-link>
|
|
|
+ <router-link to="/news">公司动态</router-link>
|
|
|
+ <router-link to="/info">关于我们</router-link>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="copyright">
|
|
|
+ <p>
|
|
|
+ <span>Copyright © {{ currentYear }} 上海展域航空技术有限公司</span>
|
|
|
+ </p>
|
|
|
+ <p>
|
|
|
+ <a href="https://beian.miit.gov.cn/" target="_blank" rel="noopener noreferrer">沪 ICP 备 2023024212 号 -1</a>
|
|
|
+ </p>
|
|
|
</div>
|
|
|
</div>
|
|
|
</footer>
|
|
|
</template>
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
+import { Location, Phone, Message, ChatDotRound } from '@element-plus/icons-vue'
|
|
|
+
|
|
|
const currentYear: number = new Date().getFullYear()
|
|
|
+
|
|
|
+const handleLogoError = (e: Event) => {
|
|
|
+ const target = e.target as HTMLImageElement
|
|
|
+ target.src = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 50"><rect fill="%23fff" width="200" height="50"/><text fill="%231e73be" x="50%" y="50%" dominant-baseline="middle" text-anchor="middle" font-size="14" font-weight="bold">ZYUAS</text></svg>'
|
|
|
+}
|
|
|
</script>
|
|
|
|
|
|
-<style scoped lang="css">
|
|
|
+<style scoped lang="scss">
|
|
|
+@import '@/assets/styles/variables.scss';
|
|
|
+@import '@/assets/styles/mixins.scss';
|
|
|
+
|
|
|
.footer {
|
|
|
- background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
|
|
|
- color: rgba(255, 255, 255, 0.8);
|
|
|
- padding: 60px 0 20px;
|
|
|
+ position: relative;
|
|
|
+ width: 100%;
|
|
|
+ color: #fff;
|
|
|
+ background: linear-gradient(135deg, #0f172a 0%, #1e3c72 50%, #2a5298 100%);
|
|
|
+ overflow: hidden;
|
|
|
+ padding: $spacer-4 $spacer-2 $spacer-3;
|
|
|
margin-top: auto;
|
|
|
}
|
|
|
|
|
|
+/* 背景装饰 */
|
|
|
+.footer-bg {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ overflow: hidden;
|
|
|
+ z-index: 0;
|
|
|
+}
|
|
|
+
|
|
|
+.gradient-orb {
|
|
|
+ position: absolute;
|
|
|
+ border-radius: 50%;
|
|
|
+ filter: blur(80px);
|
|
|
+ opacity: 0.3;
|
|
|
+ animation: float 8s ease-in-out infinite;
|
|
|
+
|
|
|
+ &.orb-1 {
|
|
|
+ width: 400px;
|
|
|
+ height: 400px;
|
|
|
+ background: radial-gradient(circle, rgba(99, 102, 241, 0.5) 0%, transparent 70%);
|
|
|
+ top: -100px;
|
|
|
+ left: -100px;
|
|
|
+ }
|
|
|
+
|
|
|
+ &.orb-2 {
|
|
|
+ width: 300px;
|
|
|
+ height: 300px;
|
|
|
+ background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 70%);
|
|
|
+ bottom: -50px;
|
|
|
+ right: -50px;
|
|
|
+ animation-delay: 3s;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+@keyframes float {
|
|
|
+ 0%, 100% { transform: translate(0, 0); }
|
|
|
+ 50% { transform: translate(30px, 40px); }
|
|
|
+}
|
|
|
+
|
|
|
+/* 内容区域 */
|
|
|
.footer-content {
|
|
|
- display: grid;
|
|
|
- grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
|
- gap: 40px;
|
|
|
- margin-bottom: 40px;
|
|
|
+ position: relative;
|
|
|
+ z-index: 1;
|
|
|
+ max-width: $container-max-width;
|
|
|
+ margin: 0 auto;
|
|
|
}
|
|
|
|
|
|
-.footer-section h4 {
|
|
|
- font-size: 18px;
|
|
|
- font-weight: 600;
|
|
|
- color: #fff;
|
|
|
- margin-bottom: 20px;
|
|
|
+/* Logo 区域 */
|
|
|
+.logo-section {
|
|
|
+ text-align: center;
|
|
|
+ margin-bottom: $spacer-3;
|
|
|
}
|
|
|
|
|
|
-.footer-section p,
|
|
|
-.footer-section a {
|
|
|
- font-size: 14px;
|
|
|
- line-height: 2;
|
|
|
+.logo {
|
|
|
+ width: 200px;
|
|
|
+ margin: 0 auto 25px;
|
|
|
+ text-align: center;
|
|
|
+
|
|
|
+ img {
|
|
|
+ width: 100%;
|
|
|
+ height: auto;
|
|
|
+ filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
|
|
|
+ transition: transform 0.3s ease;
|
|
|
+ }
|
|
|
+
|
|
|
+ &:hover img {
|
|
|
+ transform: scale(1.05);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.title {
|
|
|
+ font-size: $font-size-3xl;
|
|
|
+ font-weight: $font-weight-bold;
|
|
|
+ text-align: center;
|
|
|
+ margin: 0 0 10px;
|
|
|
+ letter-spacing: 2px;
|
|
|
+ background: linear-gradient(90deg, #fff 0%, #e0e7ff 100%);
|
|
|
+ -webkit-background-clip: text;
|
|
|
+ -webkit-text-fill-color: transparent;
|
|
|
+ background-clip: text;
|
|
|
+
|
|
|
+ @include mobile {
|
|
|
+ font-size: $font-size-xl;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.subtitle {
|
|
|
+ font-size: $font-size-sm;
|
|
|
+ text-align: center;
|
|
|
color: rgba(255, 255, 255, 0.7);
|
|
|
- transition: var(--transition-base);
|
|
|
+ margin: 0 0 $spacer-3;
|
|
|
+ letter-spacing: 3px;
|
|
|
+}
|
|
|
+
|
|
|
+/* 信息列表 */
|
|
|
+.footer-info {
|
|
|
+ display: flex;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ justify-content: center;
|
|
|
+ gap: 20px 40px;
|
|
|
+ margin: 30px 0;
|
|
|
+
|
|
|
+ @include mobile {
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+ gap: 12px;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.info-item {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ gap: 10px;
|
|
|
+ font-size: $font-size-sm;
|
|
|
+ color: rgba(255, 255, 255, 0.8);
|
|
|
+ padding: 12px 20px;
|
|
|
+ background: rgba(255, 255, 255, 0.05);
|
|
|
+ border: 1px solid rgba(255, 255, 255, 0.1);
|
|
|
+ border-radius: 12px;
|
|
|
+ backdrop-filter: blur(10px);
|
|
|
+ transition: all 0.3s ease;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ background: rgba(255, 255, 255, 0.1);
|
|
|
+ border-color: rgba(30, 115, 190, 0.5);
|
|
|
+ transform: translateY(-3px);
|
|
|
+ box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
|
|
|
+ }
|
|
|
+
|
|
|
+ @include mobile {
|
|
|
+ width: 100%;
|
|
|
+ max-width: 400px;
|
|
|
+ justify-content: center;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
-.footer-section a:hover {
|
|
|
- color: var(--primary-light);
|
|
|
+.info-icon {
|
|
|
+ font-size: 18px;
|
|
|
+ color: #60a5fa;
|
|
|
+ flex-shrink: 0;
|
|
|
}
|
|
|
|
|
|
-.footer-bottom {
|
|
|
+/* 快捷链接 */
|
|
|
+.footer-links {
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ gap: 30px;
|
|
|
+ margin: 40px 0 30px;
|
|
|
+ padding: 20px 0;
|
|
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
|
- padding-top: 20px;
|
|
|
+ border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
|
+
|
|
|
+ @include mobile {
|
|
|
+ flex-wrap: wrap;
|
|
|
+ gap: 15px 25px;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.footer-links a {
|
|
|
+ color: rgba(255, 255, 255, 0.8);
|
|
|
+ font-size: $font-size-sm;
|
|
|
+ text-decoration: none;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+ position: relative;
|
|
|
+ padding: 5px 0;
|
|
|
+
|
|
|
+ &::after {
|
|
|
+ content: '';
|
|
|
+ position: absolute;
|
|
|
+ bottom: 0;
|
|
|
+ left: 50%;
|
|
|
+ width: 0;
|
|
|
+ height: 2px;
|
|
|
+ background: linear-gradient(90deg, #60a5fa, #3b82f6);
|
|
|
+ transition: all 0.3s ease;
|
|
|
+ transform: translateX(-50%);
|
|
|
+ }
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ color: #fff;
|
|
|
+
|
|
|
+ &::after {
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+/* 版权信息 */
|
|
|
+.copyright {
|
|
|
text-align: center;
|
|
|
- font-size: 14px;
|
|
|
- color: rgba(255, 255, 255, 0.5);
|
|
|
+ margin-top: 30px;
|
|
|
+
|
|
|
+ p {
|
|
|
+ font-size: 13px;
|
|
|
+ color: rgba(255, 255, 255, 0.6);
|
|
|
+ margin: 8px 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ a {
|
|
|
+ color: rgba(255, 255, 255, 0.6);
|
|
|
+ text-decoration: none;
|
|
|
+ transition: color 0.3s ease;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ color: #60a5fa;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|