fix UI
This commit is contained in:
@@ -1,17 +1,30 @@
|
||||
<template>
|
||||
<n-space v-if="!hiddenICP" justify="center" class="beian">
|
||||
<div>
|
||||
© 2022 - 2026 判题狗 保留所有权利 采用
|
||||
<n-button text @click="goCC">CC BY-NC 4.0</n-button> 许可协议
|
||||
</div>
|
||||
<n-flex
|
||||
v-if="!hiddenICP"
|
||||
justify="center"
|
||||
align="center"
|
||||
:vertical="isMobile"
|
||||
class="beian"
|
||||
>
|
||||
<n-flex justify="center" align="center" :vertical="isMobile" size="small">
|
||||
<n-text>© 2022 - 2026 判题狗 保留所有权利</n-text>
|
||||
<n-flex justify="center" align="center" size="small">
|
||||
<n-text>采用</n-text>
|
||||
<n-button text @click="goCC">CC BY-NC 4.0</n-button>
|
||||
<n-text>许可协议</n-text>
|
||||
</n-flex>
|
||||
</n-flex>
|
||||
<n-button text @click="goICP">浙ICP备2023044109号</n-button>
|
||||
<n-button text @click="goPublicSecurity">
|
||||
浙公网安备33100402331786号
|
||||
</n-button>
|
||||
</n-space>
|
||||
</n-flex>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import { useBreakpoints } from "shared/composables/breakpoints"
|
||||
|
||||
const route = useRoute()
|
||||
const { isMobile } = useBreakpoints()
|
||||
const hiddenICP = computed(() =>
|
||||
["problem", "contest problem"].includes(<string>route.name),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user