perf: 💄 部门列表和菜单列表字体修改,switch颜色修改

This commit is contained in:
unknown
2023-06-06 17:52:47 +08:00
parent f7b94e496c
commit 4bdc256311
11 changed files with 17036 additions and 3371 deletions

View File

@@ -346,7 +346,7 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
name: 'fs-dict-switch',
activeText: '',
inactiveText: '',
style: '--el-switch-on-color: #409eff; --el-switch-off-color: #dcdfe6',
style: '--el-switch-on-color: var(--el-color-primary); --el-switch-off-color: #dcdfe6',
onChange: compute((context) => {
return () => {
api.UpdateObj(context.row).then((res: APIResponseData) => {

View File

@@ -23,7 +23,7 @@
@node-click="onTreeNodeClick"
>
<template #default="{ node, data }">
<span class="text-center font-black text-xl">{{ node.label }}</span>
<span class="text-center font-black font-normal">{{ node.label }}</span>
</template>
</el-tree>
</el-card>
@@ -142,4 +142,7 @@ onMounted(() => {
.el-card {
height: 100%;
}
.font-normal {
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, SimSun, sans-serif;
}
</style>