Redesign footer with logo/social icons on left and three link columns on right
This commit is contained in:
parent
66036da8e9
commit
1f281fa71f
@ -1117,49 +1117,70 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
<!-- Footer -->
|
<!-- Footer -->
|
||||||
<footer class="marketing-footer">
|
<footer class="marketing-footer">
|
||||||
<div class="footer-container">
|
<div class="footer-container">
|
||||||
<div class="footer-grid">
|
<div class="footer-content">
|
||||||
<div class="footer-column">
|
<!-- 左侧:Logo 和社交媒体 -->
|
||||||
<h3 class="footer-title">关于我们</h3>
|
<div class="footer-left">
|
||||||
<ul class="footer-links">
|
<div class="footer-logo">
|
||||||
<li><a href="#about">关于</a></li>
|
<router-link to="/" class="logo-link">
|
||||||
<li><a href="#team">团队</a></li>
|
<img v-if="logoUrl" :src="logoUrl" :alt="appName" class="logo-img" />
|
||||||
<li><a href="#careers">招聘</a></li>
|
<span class="logo-text">{{ appName }}</span>
|
||||||
<li><a href="#contact">联系我们</a></li>
|
</router-link>
|
||||||
</ul>
|
</div>
|
||||||
</div>
|
<div class="footer-social">
|
||||||
<div class="footer-column">
|
<a href="#" class="social-icon" title="微信">
|
||||||
<h3 class="footer-title">产品</h3>
|
<Icon icon="tabler:brand-wechat" />
|
||||||
<ul class="footer-links">
|
</a>
|
||||||
<li><a href="#tools">工具</a></li>
|
<a href="#" class="social-icon" title="微博">
|
||||||
<li><a href="#features">功能特性</a></li>
|
<Icon icon="ant-design:weibo-outlined" />
|
||||||
<li><a href="#pricing">定价</a></li>
|
</a>
|
||||||
<li><a href="#api">API</a></li>
|
<a href="#" class="social-icon" title="抖音">
|
||||||
</ul>
|
<Icon icon="tabler:brand-tiktok" />
|
||||||
</div>
|
</a>
|
||||||
<div class="footer-column">
|
<a href="#" class="social-icon" title="知乎">
|
||||||
<h3 class="footer-title">资源</h3>
|
<Icon icon="ant-design:zhihu-square-filled" />
|
||||||
<ul class="footer-links">
|
</a>
|
||||||
<li><a href="#docs">文档</a></li>
|
</div>
|
||||||
<li><a href="#tutorials">教程</a></li>
|
<div class="footer-copyright">
|
||||||
<li><a href="#blog">博客</a></li>
|
<p class="copyright-text">© {{ currentYear }} 广州市向日葵网络信息科技有限公司版权所有</p>
|
||||||
<li><a href="#support">支持</a></li>
|
<p class="icp-text">
|
||||||
</ul>
|
<a href="https://beian.miit.gov.cn" target="_blank" rel="noopener noreferrer">粤ICP备20016818号</a>
|
||||||
</div>
|
</p>
|
||||||
<div class="footer-column">
|
</div>
|
||||||
<h3 class="footer-title">法律</h3>
|
</div>
|
||||||
<ul class="footer-links">
|
|
||||||
<li><a href="#privacy">隐私政策</a></li>
|
<!-- 右侧:三列链接 -->
|
||||||
<li><a href="#terms">服务条款</a></li>
|
<div class="footer-right">
|
||||||
<li><a href="#cookies">Cookie政策</a></li>
|
<div class="footer-column">
|
||||||
<li><a href="#license">许可</a></li>
|
<h3 class="footer-title">产品与服务</h3>
|
||||||
</ul>
|
<ul class="footer-links">
|
||||||
|
<li><a href="#">Jingrow 网页版</a></li>
|
||||||
|
<li><a href="#">Jingrow App</a></li>
|
||||||
|
<li><a href="#">Jerp</a></li>
|
||||||
|
<li><a href="#">Jsite</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="footer-column">
|
||||||
|
<h3 class="footer-title">资源中心</h3>
|
||||||
|
<ul class="footer-links">
|
||||||
|
<li><a href="#">应用场景</a></li>
|
||||||
|
<li><a href="#">API及价格</a></li>
|
||||||
|
<li><a href="#">开发者文档</a></li>
|
||||||
|
<li><a href="#">探索与研究</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="footer-column">
|
||||||
|
<h3 class="footer-title">支持与帮助</h3>
|
||||||
|
<ul class="footer-links">
|
||||||
|
<li><a href="#">使用教程</a></li>
|
||||||
|
<li><a href="#">常见问题</a></li>
|
||||||
|
<li><a href="#">在线客服</a></li>
|
||||||
|
<li><a href="#">反馈建议</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer-bottom">
|
|
||||||
<p class="copyright">© {{ currentYear }} {{ appName }}. 版权所有。</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</footer>
|
</footer>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -2467,7 +2488,7 @@ onUnmounted(() => {
|
|||||||
background: white;
|
background: white;
|
||||||
border-top: 1px solid #e5e7eb;
|
border-top: 1px solid #e5e7eb;
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
padding: 64px 0 32px;
|
padding: 64px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-container {
|
.footer-container {
|
||||||
@ -2476,23 +2497,125 @@ onUnmounted(() => {
|
|||||||
padding: 0 24px;
|
padding: 0 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-grid {
|
.footer-content {
|
||||||
display: grid;
|
display: flex;
|
||||||
grid-template-columns: repeat(4, 1fr);
|
justify-content: space-between;
|
||||||
|
align-items: flex-start;
|
||||||
gap: 64px;
|
gap: 64px;
|
||||||
margin-bottom: 48px;
|
}
|
||||||
|
|
||||||
|
/* 左侧区域 */
|
||||||
|
.footer-left {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 24px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-logo {
|
||||||
|
.logo-link {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
|
text-decoration: none;
|
||||||
|
color: #1f2937;
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: 700;
|
||||||
|
transition: opacity 0.2s;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo-img {
|
||||||
|
height: 32px;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo-text {
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: 700;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-social {
|
||||||
|
display: flex;
|
||||||
|
gap: 16px;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.social-icon {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
color: #94a3b8;
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
text-decoration: none;
|
||||||
|
|
||||||
|
:deep(svg) {
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: #1fc76f;
|
||||||
|
transform: translateY(-2px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-copyright {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.copyright-text {
|
||||||
|
margin: 0;
|
||||||
|
color: #6b7280;
|
||||||
|
font-size: 13px;
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icp-text {
|
||||||
|
margin: 0;
|
||||||
|
color: #9ca3af;
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 1.5;
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
transition: color 0.2s ease;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: #1fc76f;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 右侧区域 */
|
||||||
|
.footer-right {
|
||||||
|
display: flex;
|
||||||
|
gap: 64px;
|
||||||
|
flex: 1;
|
||||||
|
justify-content: flex-end;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-column {
|
.footer-column {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
min-width: 140px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-title {
|
.footer-title {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #111827;
|
color: #111827;
|
||||||
margin: 0 0 20px 0;
|
margin: 0 0 16px 0;
|
||||||
letter-spacing: 0.05em;
|
letter-spacing: 0.05em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
@ -2503,7 +2626,7 @@ onUnmounted(() => {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 14px;
|
gap: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-links li {
|
.footer-links li {
|
||||||
@ -2524,23 +2647,13 @@ onUnmounted(() => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-bottom {
|
|
||||||
border-top: 1px solid #e5e7eb;
|
|
||||||
padding-top: 24px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.copyright {
|
|
||||||
margin: 0;
|
|
||||||
color: #9ca3af;
|
|
||||||
font-size: 13px;
|
|
||||||
letter-spacing: 0.01em;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 1024px) {
|
@media (max-width: 1024px) {
|
||||||
.footer-grid {
|
.footer-content {
|
||||||
grid-template-columns: repeat(2, 1fr);
|
gap: 48px;
|
||||||
gap: 32px;
|
}
|
||||||
|
|
||||||
|
.footer-right {
|
||||||
|
gap: 48px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2654,24 +2767,76 @@ onUnmounted(() => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-grid {
|
.marketing-footer {
|
||||||
grid-template-columns: repeat(2, 1fr);
|
padding: 40px 0 24px;
|
||||||
gap: 40px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.marketing-footer {
|
.footer-container {
|
||||||
padding: 48px 0 24px;
|
padding: 0 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-content {
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-right {
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 32px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-column {
|
||||||
|
min-width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-social {
|
||||||
|
gap: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.social-icon {
|
||||||
|
width: 28px;
|
||||||
|
height: 28px;
|
||||||
|
|
||||||
|
:deep(svg) {
|
||||||
|
width: 18px;
|
||||||
|
height: 18px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 480px) {
|
@media (max-width: 480px) {
|
||||||
.footer-grid {
|
.marketing-footer {
|
||||||
grid-template-columns: 1fr;
|
padding: 32px 0 20px;
|
||||||
gap: 32px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.marketing-footer {
|
.footer-content {
|
||||||
padding: 40px 0 20px;
|
gap: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-right {
|
||||||
|
gap: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-title {
|
||||||
|
font-size: 12px;
|
||||||
|
margin-bottom: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-links {
|
||||||
|
gap: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-links a {
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.copyright-text {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icp-text {
|
||||||
|
font-size: 11px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user