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