mirror of
https://github.com/ArvinLovegood/go-stock.git
synced 2025-07-19 00:00:09 +08:00
修改为深色主题
This commit is contained in:
parent
d240239fcc
commit
869223cfb9
@ -1,11 +1,13 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import stockInfo from './components/stock.vue'
|
import stockInfo from './components/stock.vue'
|
||||||
import {ref} from "vue";
|
import {ref} from "vue";
|
||||||
|
import { darkTheme } from 'naive-ui'
|
||||||
|
|
||||||
const content = ref('数据来源于网络,仅供参考\n投资有风险,入市需谨慎')
|
const content = ref('数据来源于网络,仅供参考\n投资有风险,入市需谨慎')
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
<n-config-provider :theme="darkTheme">
|
||||||
<n-watermark
|
<n-watermark
|
||||||
:content="content"
|
:content="content"
|
||||||
cross
|
cross
|
||||||
@ -27,6 +29,7 @@ const content = ref('数据来源于网络,仅供参考\n投资有风险,入市
|
|||||||
</n-message-provider>
|
</n-message-provider>
|
||||||
</n-flex>
|
</n-flex>
|
||||||
</n-watermark>
|
</n-watermark>
|
||||||
|
</n-config-provider>
|
||||||
</template>
|
</template>
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user