Skip to content

Commit 3f60cf6

Browse files
authored
Add BeianFooter component and update footer structure
1 parent c0ccdd3 commit 3f60cf6

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

src/App.vue

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,18 @@
2525
>
2626
<component :is="store.mobileOpenState ? CloseSmall : HamburgerButton" />
2727
</Icon>
28-
<!-- 页脚 -->
28+
<!-- 页脚(Footer + 备案) -->
2929
<Transition name="fade" mode="out-in">
30-
<Footer class="f-ter" v-show="!store.backgroundShow && !store.setOpenState" />
30+
<div v-show="!store.backgroundShow && !store.setOpenState">
31+
<Footer class="f-ter" />
32+
<BeianFooter
33+
class="beian-footer"
34+
provinceShort=""
35+
icp="2025074193"
36+
gaCode="36012202000590"
37+
policeIconSrc="/gongan.png" <!-- 'https://www.beian.gov.cn/img/ghs.png' -->
38+
/>
39+
</div>
3140
</Transition>
3241
</main>
3342
</Transition>
@@ -43,6 +52,7 @@ import MainLeft from "@/views/Main/Left.vue";
4352
import MainRight from "@/views/Main/Right.vue";
4453
import Background from "@/components/Background.vue";
4554
import Footer from "@/components/Footer.vue";
55+
import BeianFooter from "@/components/BeianFooter.vue"; // ← 新增
4656
import Box from "@/views/Box/index.vue";
4757
import MoreSet from "@/views/MoreSet/index.vue";
4858
import cursorInit from "@/utils/cursor.js";
@@ -251,4 +261,9 @@ onBeforeUnmount(() => {
251261
}
252262
}
253263
}
264+
265+
/* 可选:给备案块一点上间距,避免贴得太近 */
266+
.beian-footer {
267+
margin-top: 6px;
268+
}
254269
</style>

0 commit comments

Comments
 (0)