feat: 新增主题色选项

This commit is contained in:
MTrun
2022-02-06 01:04:05 +08:00
parent 7b24b90fbc
commit 314daede24
51 changed files with 698 additions and 174 deletions
-2
View File
@@ -1,2 +0,0 @@
import Echarts from './index.vue'
export { Echarts }
-13
View File
@@ -1,13 +0,0 @@
<template>
<div>
</div>
</template>
<script setup lang="ts">
</script>
<style lang="scss" scoped>
</style>
+1 -1
View File
@@ -1,5 +1,5 @@
<template>
<div>
<Skeleton :repeat="3" :load="true"/>
<n-spin size="medium" />
</div>
</template>
+3 -4
View File
@@ -12,7 +12,7 @@
round
object-fit="cover"
size="medium"
:src="imageUrl"
:src="Person"
@error="errorHandle"
/>
</div>
@@ -28,6 +28,7 @@ import { NAvatar, NText } from 'naive-ui'
import { renderIcon } from '@/utils'
import { openDoc, logout, renderLang } from '@/utils'
import { SystemSet } from '@/components/SystemSet/index'
import Person from './person.png'
import { icon } from '@/plugins'
const {
@@ -42,8 +43,6 @@ const t = window['$t']
const modelShow = ref(false)
const imageUrl = 'https://www.naiveui.com/assets/naivelogo.93278402.svg'
// 是否失败
const fallback = ref(false)
@@ -58,7 +57,7 @@ const renderUserInfo = () => {
h(NAvatar, {
round: true,
style: 'margin-right: 12px;',
src: imageUrl
src: Person
}),
h('div', null, [
h('div', null, [
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB