|
|
@ -166,12 +166,11 @@ |
|
|
|
format="webp" |
|
|
|
format="webp" |
|
|
|
/> |
|
|
|
/> |
|
|
|
<a |
|
|
|
<a |
|
|
|
href=" " |
|
|
|
href="https://beian.miit.gov.cn/" |
|
|
|
rel="noreferrer" |
|
|
|
rel="noreferrer" |
|
|
|
target="_blank" |
|
|
|
target="_blank" |
|
|
|
class="hover:no-underline inline-flex cursor-pointer ml-1" |
|
|
|
class="hover:no-underline inline-flex cursor-pointer ml-1" |
|
|
|
>京公网安备11010802045670号</a |
|
|
|
>京ICP备{{ icpSuffix }}</a> |
|
|
|
> |
|
|
|
|
|
|
|
</p> |
|
|
|
</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -187,12 +186,20 @@ const router = useRouter() |
|
|
|
const checkScroll = () => { |
|
|
|
const checkScroll = () => { |
|
|
|
isScrolled.value = window.scrollY > 20 |
|
|
|
isScrolled.value = window.scrollY > 20 |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
const icpSuffix = ref('') |
|
|
|
onMounted(() => { |
|
|
|
onMounted(() => { |
|
|
|
if (typeof window !== 'undefined') { |
|
|
|
if (typeof window !== 'undefined') { |
|
|
|
checkScroll() |
|
|
|
checkScroll() |
|
|
|
window.addEventListener('scroll', checkScroll) |
|
|
|
window.addEventListener('scroll', checkScroll) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
const hostname = window.location.hostname |
|
|
|
|
|
|
|
if (hostname.endsWith('.com')) { |
|
|
|
|
|
|
|
icpSuffix.value = '2025119652号-2' |
|
|
|
|
|
|
|
} else if (hostname.endsWith('.cn')) { |
|
|
|
|
|
|
|
icpSuffix.value = '2025119652号-1' |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
icpSuffix.value = '2025119652号' |
|
|
|
|
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
onUnmounted(() => { |
|
|
|
onUnmounted(() => { |
|
|
|