news-analyze/pages/tools/checkweirdkeywords.vue
2025-05-21 10:20:41 +08:00

32 lines
1 KiB
Vue
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<script setup lang="ts">
import CheckKidUnfriendlyContent from "~/components/checks/checkKidUnfriendlyContent";
const title = ref("");
const system = ref(false);
const checkTitle = async () => {
if (!title.value) return;
system.value = await CheckKidUnfriendlyContent(title.value);
};
useSeoMeta({
title: "這個文章是不是使用偏色情的標體?",
});
</script>
<template>
<div
class="flex flex-col absolute h-screen w-full inset-0 justify-center align-center text-center"
>
<h1 class="text-4xl m-2">這個文章是不是使用偏色情的標體</h1>
<div class="flex flex-row justify-center align-center gap-2">
<input
type="text"
class="text-black rounded-xl p-2 w-[300px]"
v-model="title"
/>
<button @click="checkTitle" class="rounded-xl bg-sky-600 p-2">
Find
</button>
</div>
<span v-if="system" class="text-red-400 text-8xl m-8"></span>
<span v-else class="text-white">不是</span>
</div>
<div class="h-screen"></div>
</template>