Merge branch 'blossom-editor:dev' into dev

This commit is contained in:
Tianjiu 2024-02-24 22:48:41 +08:00 committed by GitHub
commit 21a1847c64
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 3901 additions and 1198 deletions

View File

@ -1693,6 +1693,10 @@
color: #d4d4d4;
}
.bl-preview table thead code {
background-color: #000000;
}
.bl-preview table thead tr {
}

View File

@ -1,6 +1,6 @@
<template>
<div class="header">
<AppHeader simple></AppHeader>
<AppHeader v-if="props.window" simple></AppHeader>
</div>
<div class="icon-list-root">
<div class="icon-desc">
@ -40,11 +40,12 @@
<script setup lang="ts">
import { computed, onMounted, ref, shallowRef } from 'vue'
import { ElMessage } from 'element-plus'
import blossomIcons from '@renderer/assets/iconfont/blossom/iconfont.json'
import weblogIcons from '@renderer/assets/iconfont/weblogo/iconfont.json'
import { isNull } from '@renderer/assets/utils/obj'
import { writeText } from '@renderer/assets/utils/electron'
import AppHeader from '@renderer/components/AppHeader.vue'
//
import blossomIcons from '@renderer/assets/iconfont/blossom/iconfont.json'
import weblogIcons from '@renderer/assets/iconfont/weblogo/iconfont.json'
onMounted(() => {
blossom.value = blossomIcons.glyphs
@ -53,6 +54,13 @@ onMounted(() => {
})
})
const props = defineProps({
window: {
type: Boolean,
default: true
}
})
const activeTab = ref('weblogo')
const blossom = shallowRef<any[]>([])
const weblogo = shallowRef<any[]>([])

View File

@ -44,7 +44,15 @@ router.addRoute({
{ path: '/todoIndex', name: 'TodoIndex', component: TodoIndex, meta: { keepAlive: true } },
{ path: '/noteIndex', name: 'NoteIndex', component: NoteIndex, meta: { keepAlive: false } },
{ path: '/planIndex', name: 'PlanIndex', component: PlanIndex, meta: { keepAlive: false } },
{ path: '/iconListIndex', name: 'IconListIndex', component: IconListIndex, meta: { keepAlive: false } }
{
path: '/iconListIndex',
name: 'IconListIndex',
component: IconListIndex,
meta: { keepAlive: false },
props: {
window: false
}
}
]
})

View File

@ -117,6 +117,10 @@ h6 {
color: #d4d4d4;
}
.bl-preview table thead code {
background-color: #000000;
}
.bl-preview table thead tr {
}

View File

@ -797,6 +797,10 @@ const onresize = () => {
thead {
background-color: #2b2b2b;
color: #d4d4d4;
code {
background-color: #000000;
}
tr {
th {

File diff suppressed because it is too large Load Diff

View File

@ -27,6 +27,12 @@ api[0].list[0].list.push({
api[0].list[0].list.push({
order: '3',
deprecated: 'false',
url: 'http://127.0.0.1/kickout',
desc: '踢出用户',
});
api[0].list[0].list.push({
order: '4',
deprecated: 'false',
url: 'http://127.0.0.1/check',
desc: '检查 Token 状态',
});
@ -52,6 +58,12 @@ api[0].list[1].list.push({
api[0].list[1].list.push({
order: '3',
deprecated: 'false',
url: 'http://127.0.0.1/user/param/upd/admin',
desc: '修改用户参数',
});
api[0].list[1].list.push({
order: '4',
deprecated: 'false',
url: 'http://127.0.0.1/user/param/refresh',
desc: '刷新用户配置',
});
@ -115,32 +127,62 @@ api[0].list.push({
api[0].list[4].list.push({
order: '1',
deprecated: 'false',
url: 'http://127.0.0.1/user/list',
desc: '获取用户列表',
});
api[0].list[4].list.push({
order: '2',
deprecated: 'false',
url: 'http://127.0.0.1/user/info/admin',
desc: '用户信息',
});
api[0].list[4].list.push({
order: '3',
deprecated: 'false',
url: 'http://127.0.0.1/user/add',
desc: '新增用户',
});
api[0].list[4].list.push({
order: '4',
deprecated: 'false',
url: 'http://127.0.0.1/user/upd/admin',
desc: '修改用户',
});
api[0].list[4].list.push({
order: '5',
deprecated: 'false',
url: 'http://127.0.0.1/user/disabled',
desc: '禁用启用',
});
api[0].list[4].list.push({
order: '6',
deprecated: 'false',
url: 'http://127.0.0.1/user/info',
desc: '用户信息',
});
api[0].list[4].list.push({
order: '2',
order: '7',
deprecated: 'false',
url: 'http://127.0.0.1/user/info/open',
desc: '用户信息 [OP]',
});
api[0].list[4].list.push({
order: '3',
order: '8',
deprecated: 'false',
url: 'http://127.0.0.1/user/upd',
desc: '修改用户',
});
api[0].list[4].list.push({
order: '4',
order: '9',
deprecated: 'false',
url: 'http://127.0.0.1/user/upd/pwd',
desc: '修改密码',
});
api[0].list[4].list.push({
order: '5',
order: '10',
deprecated: 'false',
url: 'http://127.0.0.1/user/add',
desc: '新增用户',
url: 'http://127.0.0.1/user/del',
desc: '删除用户',
});
api.push({
name: '业务功能',
@ -400,6 +442,12 @@ api[1].list[6].list.push({
url: 'http://127.0.0.1/article/recycle/restore',
desc: '还原文章',
});
api[1].list[6].list.push({
order: '3',
deprecated: 'false',
url: 'http://127.0.0.1/article/recycle/download',
desc: '下载文章',
});
api[1].list.push({
alias: 'ArticleBackupController',
order: '8',
@ -471,23 +519,29 @@ api[1].list[8].list.push({
api[1].list[8].list.push({
order: '5',
deprecated: 'false',
url: 'http://127.0.0.1/article/stat/words/user',
desc: '文章数和文章字数',
});
api[1].list[8].list.push({
order: '6',
deprecated: 'false',
url: 'http://127.0.0.1/article/stat/words/list',
desc: '字数统计列表',
});
api[1].list[8].list.push({
order: '6',
order: '7',
deprecated: 'false',
url: 'http://127.0.0.1/article/stat/words/save',
desc: '保存字数统计信息',
});
api[1].list[8].list.push({
order: '7',
order: '8',
deprecated: 'false',
url: 'http://127.0.0.1/article/stat/line/open',
desc: '文章字数折线图 [OP]',
});
api[1].list[8].list.push({
order: '8',
order: '9',
deprecated: 'false',
url: 'http://127.0.0.1/article/stat/line',
desc: '近36月字数折线图',
@ -541,6 +595,12 @@ api[1].list[9].list.push({
url: 'http://127.0.0.1/picture/stat',
desc: '统计图片 [OP]',
});
api[1].list[9].list.push({
order: '8',
deprecated: 'false',
url: 'http://127.0.0.1/picture/stat/user',
desc: '查询用户的图片统计',
});
api[1].list.push({
alias: 'PictureBlosController',
order: '11',