diff --git a/public/备案图标.png b/public/备案图标.png new file mode 100644 index 0000000..2a13ba2 Binary files /dev/null and b/public/备案图标.png differ diff --git a/src/shared/layout/default.vue b/src/shared/layout/default.vue index ba76ef0..aecedae 100644 --- a/src/shared/layout/default.vue +++ b/src/shared/layout/default.vue @@ -7,8 +7,17 @@ function goICP() { window.open("https://beian.miit.gov.cn", "_balnk") } +function goPublicSecurity() { + window.open( + "https://beian.mps.gov.cn/#/query/webSearch?code=33100402331786", + "_balnk", + ) +} + const route = useRoute() -const hiddenICP = computed(() => ["problem", "contest problem"].includes(route.name)) +const hiddenICP = computed(() => + ["problem", "contest problem"].includes(route.name), +) @@ -39,4 +54,11 @@ const hiddenICP = computed(() => ["problem", "contest problem"].includes( a { text-decoration: none; } + +.psIcon { + width: 14px; + height: 14px; + transform: translateY(2px); + margin-right: 2px; +}