This commit is contained in:
2024-06-27 05:50:16 +00:00
parent ce34d80179
commit db030b5869
14 changed files with 511 additions and 430 deletions

View File

@@ -3,6 +3,7 @@ import { size, run, loading, share } from "../composables/code"
import ThemeButton from "../components/ThemeButton.vue"
import SelectLanguage from "../components/SelectLanguage.vue"
import { useMessage } from "naive-ui"
import { Icon } from "@iconify/vue"
const message = useMessage()
@@ -15,7 +16,10 @@ function handleShare() {
<template>
<n-layout-header bordered class="header">
<n-flex justify="space-between" align="center">
<div class="title">徐越的自测猫</div>
<n-flex align="center">
<Icon icon="streamline-emojis:cat" :width="30" :height="30"></Icon>
<div class="title">徐越的自测猫</div>
</n-flex>
<n-flex>
<n-button @click="handleShare">分享</n-button>
<ThemeButton />