美化+命令修复

This commit is contained in:
zhbaor 2024-09-23 19:42:56 +08:00
parent 32496af392
commit ec44c5c9ad
8 changed files with 35 additions and 24 deletions

View file

@ -37,8 +37,8 @@ async function start() {
<style scoped>
.float {
position: absolute;
right: 25px;
bottom: 25px;
right: 28px;
bottom: 28px;
opacity: 0.8;
}

View file

@ -1,8 +1,14 @@
<script setup>
import { darkTheme } from 'naive-ui'
const log = inject('log')
const log_ele = inject('log_ele')
</script>
<template>
<n-log :log="log" style="flex-grow: 1" ref="log_ele" />
<n-config-provider :theme="darkTheme" style="flex-grow: 1">
<n-card style="height: 100%">
<n-log :log="log" style="height: 100%" ref="log_ele" />
</n-card>
</n-config-provider>
</template>