146 lines
5.9 KiB
Vue
146 lines
5.9 KiB
Vue
<template>
|
|
<footer class="footer">
|
|
<div class="container">
|
|
<div class="footer-main">
|
|
<div class="footer-brand">
|
|
<div class="brand-row">
|
|
<div class="footer-logo-icon"><img src="/logo.png" alt="logo" /></div>
|
|
<div>
|
|
<div class="footer-brand-name">北京整合医学学会</div>
|
|
<div class="footer-brand-en">Beijing Association of Holistic Integrative Medicine</div>
|
|
</div>
|
|
</div>
|
|
<p class="footer-desc">依托"健康中国2030"战略,整合医学资源,推动健康科普与公益事业,助力全民健康素养提升,共建共享健康中国。</p>
|
|
</div>
|
|
<div class="footer-col col-nav">
|
|
<h4>快速导航</h4>
|
|
<a @click.prevent="goHome">年度项目规划</a>
|
|
<a @click.prevent="goPublicity">项目公示</a>
|
|
<a href="https://v2.bahim.org.cn/computer/#/home" target="_blank" rel="noopener">北京整合医学学会首页</a>
|
|
</div>
|
|
<div class="footer-col col-projects">
|
|
<h4>学会项目</h4>
|
|
<a href="https://bxxcx.bahim.org.cn/#/" target="_blank" rel="noopener">百姓巡常行</a>
|
|
<a href="https://v2.bahim.org.cn/computer/#/project/home/title=%E5%81%A5%E5%BA%B7%E4%B8%AD%E5%9B%BD%E8%A1%8C%E5%8A%A8%E7%B3%BB%E5%88%97%E9%87%8D%E7%82%B9%E9%A1%B9%E7%9B%AE?columnId=59&projectId=5" target="_blank" rel="noopener">健康中国行动</a>
|
|
<a href="https://v2.bahim.org.cn/computer/#/project/home/title=%E4%B9%A1%E6%9D%91%E5%B9%B8%E7%A6%8F%E5%AE%89%E5%BA%B7%E5%B7%A5%E7%A8%8B?columnId=25&projectId=2" target="_blank" rel="noopener">乡村幸福安康工程</a>
|
|
<a href="https://v2.bahim.org.cn/computer/#/project/home/title=%E4%B8%B4%E5%BA%8A%E7%A7%91%E7%A0%94%E8%B5%84%E5%8A%A9%E8%AE%A1%E5%88%92?columnId=27&projectId=4" target="_blank" rel="noopener">临床科研资助计划</a>
|
|
</div>
|
|
<div class="footer-col">
|
|
<h4>联系方式</h4>
|
|
<p>电话: 010-82089470</p>
|
|
<p>邮箱: contactus@bahim.org.cn</p>
|
|
<p>地址: 北京市海淀区知春路1号学院国际大厦908-2室</p>
|
|
<p>邮编: 100083</p>
|
|
</div>
|
|
<div class="footer-qr">
|
|
<div class="qr-image">
|
|
<img src="/qrcode_1.png" alt="公众号二维码" style="width:100%;height:100%;object-fit:contain;" />
|
|
</div>
|
|
<div class="qr-label">公众号二维码</div>
|
|
</div>
|
|
</div>
|
|
<div class="footer-bottom">
|
|
<span>© 北京整合医学学会 BAHIM</span>
|
|
<span>京ICP备2020035479号-1 京公网安备11010802034820</span>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { useRouter } from 'vue-router'
|
|
|
|
const router = useRouter()
|
|
|
|
function goHome() {
|
|
if (router.currentRoute.value.path === '/') {
|
|
window.scrollTo({ top: 0, behavior: 'smooth' })
|
|
} else {
|
|
router.push('/')
|
|
}
|
|
}
|
|
function goPublicity() { router.push('/publicity') }
|
|
</script>
|
|
|
|
<style scoped>
|
|
.container { max-width: 1354px; margin: 0 auto; padding: 0 60px; }
|
|
.footer { background: var(--brand-primary-darker); color: rgba(255, 255, 255, 0.65); padding: 48px 0 0; }
|
|
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr auto; gap: 48px; padding-bottom: 36px; }
|
|
.footer-brand .brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
|
|
.footer-logo-icon {
|
|
width: 36px; height: 36px;
|
|
display: flex; align-items: center; justify-content: center;
|
|
overflow: hidden; flex-shrink: 0;
|
|
}
|
|
.footer-logo-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
|
|
.footer-brand-name { font-size: 16px; font-weight: 600; color: #fff; letter-spacing: 1px; }
|
|
.footer-brand-en { font-size: 10px; color: rgba(255, 255, 255, 0.4); letter-spacing: 0.5px; margin-top: 2px; }
|
|
.footer-desc { font-size: 13px; line-height: 1.9; color: rgba(255, 255, 255, 0.55); }
|
|
.footer-col h4 {
|
|
font-size: 14px; font-weight: 600; color: #fff;
|
|
letter-spacing: 1px; margin-bottom: 16px; padding-bottom: 10px;
|
|
position: relative;
|
|
}
|
|
.footer-col h4::after {
|
|
content: ''; position: absolute; left: 0; bottom: 0;
|
|
width: 24px; height: 2px; background: #93c5fd;
|
|
}
|
|
.footer-col a, .footer-col p {
|
|
display: block; font-size: 13px; color: rgba(255, 255, 255, 0.6);
|
|
line-height: 2.1; transition: color 0.2s;
|
|
}
|
|
.footer-col a { cursor: pointer; }
|
|
.footer-col a:hover { color: #fff; }
|
|
.footer-qr { text-align: center; }
|
|
.qr-image {
|
|
width: 100px; height: 100px;
|
|
background: #fff;
|
|
display: flex; align-items: center; justify-content: center;
|
|
color: #1f2937;
|
|
}
|
|
.qr-label { font-size: 12px; color: rgba(255, 255, 255, 0.5); margin-top: 10px; }
|
|
.footer-bottom {
|
|
border-top: 1px solid rgba(255, 255, 255, 0.12);
|
|
padding: 18px 0;
|
|
display: flex; justify-content: space-between;
|
|
font-size: 12px; color: rgba(255, 255, 255, 0.4);
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.container { padding: 0 24px; }
|
|
}
|
|
|
|
/* 手机端深度适配 */
|
|
@media (max-width: 768px) {
|
|
.container { padding: 0 16px; }
|
|
.footer { padding: 32px 0 0; }
|
|
/* footer-main 改为单列, 隐藏"快速导航"和"学会项目" */
|
|
.footer-main {
|
|
grid-template-columns: 1fr;
|
|
gap: 24px;
|
|
padding-bottom: 24px;
|
|
}
|
|
/* 桌面: 快速导航(2)/学会项目(3) 列, 移动端隐藏 */
|
|
.footer-col.col-nav,
|
|
.footer-col.col-projects { display: none; }
|
|
/* 联系方式列保持在品牌区下 */
|
|
.footer-brand .brand-row { margin-bottom: 12px; }
|
|
.footer-brand-name { font-size: 15px; }
|
|
.footer-brand-en { display: none; }
|
|
.footer-desc { font-size: 12px; line-height: 1.8; }
|
|
/* 二维码列居中, 宽度受限 */
|
|
.footer-qr { display: flex; align-items: center; gap: 12px; justify-content: flex-start; }
|
|
.qr-image { width: 80px; height: 80px; }
|
|
.qr-label { margin-top: 0; font-size: 12px; }
|
|
/* 备案/版权底部: 垂直堆叠 */
|
|
.footer-bottom {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 6px;
|
|
padding: 14px 0;
|
|
font-size: 11px;
|
|
line-height: 1.6;
|
|
}
|
|
}
|
|
</style>
|