feat: 状态展示统一为圆点

- 新增状态圆点组件,用户管理、角色与字典的状态改用圆点
- 用户管理操作列放宽到 200,登录页移动端版本号紧随项目名
- 应用中心分组按内容高度排列
- 函数注释统一为展开式多行
- 格式校验脚本忽略不存在的目录
This commit is contained in:
Ray.Hao committed 2026-10-29 08:13:50 +08:00
1 parent 53a97cac21
commit f443eb6bbe
13 files changed
+133 -39

No files matched your search

+2 -16
View File
@@ -34,10 +34,7 @@
>
<div class="role-list__info">
<span class="role-list__title">
<span
class="role-list__dot"
:class="{ 'is-stopped': row.status !== CommonStatus.ENABLED }"
/>
<StatusDot :active="row.status === CommonStatus.ENABLED" />
<span class="role-list__name" :title="row.name">{{ row.name }}</span>
</span>
<span class="role-list__meta">
@@ -310,6 +307,7 @@ import type { MenuItem } from "@/api/system/menu";
import DeptAPI from "@/api/system/dept";
import type { OptionItem } from "@/api/common";
import { usePageTable } from "@/composables";
import StatusDot from "@/components/StatusDot/index.vue";
import { CommonStatus } from "@/enums";
import { ROLE_ROOT } from "@/constants";
@@ -957,18 +955,6 @@ onMounted(() => {
white-space: nowrap;
}
&__dot {
flex: 0 0 auto;
width: 6px;
height: 6px;
background-color: var(--el-color-success);
border-radius: 50%;
&.is-stopped {
background-color: var(--el-text-color-placeholder);
}
}
&__meta {
display: flex;
gap: 6px;