diff --git a/src/App.vue b/src/App.vue index 15d3c50..5023ce9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -28,6 +28,11 @@ function toggleMobileNav() { isMobileNavOpen.value = !isMobileNavOpen.value; } +// 打开备案查询网站 +function openBeianSite() { + window.open('https://beian.miit.gov.cn', '_blank'); +} + // 关闭移动导航菜单 function closeMobileNav() { isMobileNavOpen.value = false; @@ -130,7 +135,8 @@ onMounted(() => { 网站地图
@@ -311,6 +317,28 @@ main { color: #fff; } +.beian-link { + cursor: pointer; + transition: color 0.3s ease; +} + +.beian-link:hover { + color: #0056b3; + text-decoration: underline; +} + +.footer-record-number { + display: flex; + align-items: center; + gap: 8px; +} + +.beian-icon { + width: 16px; + height: 16px; + object-fit: contain; +} + /* 移动菜单按钮 */ .mobile-menu-btn { display: none; @@ -389,6 +417,7 @@ main { color: #888; word-break: break-all; text-align: center; + justify-content: center; } } @@ -416,6 +445,12 @@ main { .footer-record-number { font-size: 11px; padding: 0 5px; + justify-content: center; + } + + .beian-icon { + width: 14px; + height: 14px; } } diff --git a/src/assets/img/hui.png b/src/assets/img/hui.png new file mode 100644 index 0000000..da43de1 Binary files /dev/null and b/src/assets/img/hui.png differ diff --git a/src/components/PageHeader.vue b/src/components/PageHeader.vue index b4d55cf..1e2556d 100644 --- a/src/components/PageHeader.vue +++ b/src/components/PageHeader.vue @@ -64,7 +64,7 @@ onMounted(() => {{{ subtitle }}
+{{ subtitle }}
这是一个完整的智慧校园管理系统...
', + completionDate: '2024-12-01' }; // 获取案例详情 @@ -76,6 +66,11 @@ const goBackToList = () => { router.push('/cases'); }; +// 在新窗口打开图片 +const openImageInNewWindow = (imageUrl) => { + window.open(imageUrl.trim(), '_blank'); +}; + // 监听路由参数变化 watch(() => route.params.id, () => { getCaseDetail(); @@ -93,8 +88,8 @@ onMounted(() => {