diff --git a/UPDATELOG.md b/UPDATELOG.md
index 9397d4e8..43559f12 100644
--- a/UPDATELOG.md
+++ b/UPDATELOG.md
@@ -19,6 +19,7 @@
- 支持根据用户偏好选择Sidecar(用户空间)模式或安装服务
- 增加载入初始配置文件的错误提示,防止切换到错误的订阅配置
- 检测是否以管理员模式运行软件,如果是提示无法使用开机自启
+ - 代理组显示节点数量
#### 优化了:
- 重构了后端内核管理逻辑,更轻量化和有效的管理内核,提高了性能和稳定性
diff --git a/src/components/proxy/proxy-render.tsx b/src/components/proxy/proxy-render.tsx
index 2c147246..dee8d550 100644
--- a/src/components/proxy/proxy-render.tsx
+++ b/src/components/proxy/proxy-render.tsx
@@ -5,6 +5,8 @@ import {
ListItemButton,
Typography,
styled,
+ Chip,
+ Tooltip,
} from "@mui/material";
import {
ExpandLessRounded,
@@ -21,6 +23,7 @@ import { useThemeMode } from "@/services/states";
import { useEffect, useMemo, useState } from "react";
import { convertFileSrc } from "@tauri-apps/api/core";
import { downloadIconCache } from "@/services/cmds";
+import { useTranslation } from "react-i18next";
interface RenderProps {
item: IRenderItem;
@@ -32,6 +35,7 @@ interface RenderProps {
}
export const ProxyRender = (props: RenderProps) => {
+ const { t } = useTranslation();
const { indent, item, onLocation, onCheckAll, onHeadState, onChangeProxy } =
props;
const { type, group, headState, proxy, proxyCol } = item;
@@ -123,7 +127,20 @@ export const ProxyRender = (props: RenderProps) => {
},
}}
/>
- {headState?.open ? : }
+
+
+ alpha(theme.palette.primary.main, 0.1),
+ color: (theme) => theme.palette.primary.main,
+ }}
+ />
+
+ {headState?.open ? : }
+
);
}
diff --git a/src/locales/en.json b/src/locales/en.json
index b7d22734..ffaf39b0 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -27,6 +27,7 @@
"Proxies": "Proxies",
"Proxy Groups": "Proxy Groups",
"Proxy Provider": "Proxy Provider",
+ "Proxy Count": "Proxy Count",
"Update All": "Update All",
"Update At": "Update At",
"rule": "rule",
diff --git a/src/locales/zh.json b/src/locales/zh.json
index 6f306e12..66db64a9 100644
--- a/src/locales/zh.json
+++ b/src/locales/zh.json
@@ -27,6 +27,7 @@
"Proxies": "代理",
"Proxy Groups": "代理组",
"Proxy Provider": "代理集合",
+ "Proxy Count": "节点数量",
"Update All": "更新全部",
"Update At": "更新于",
"rule": "规则",