Skip to content

Let's use AI to Earn!

feat: 代理前端添加提示

gaoSird0438c3965ba
diff --git a/src/views/account/components/AccountSidebar/ProxyManage/index.tsx b/src/views/account/components/AccountSidebar/ProxyManage/index.tsx
index 8fa65c54..47d361b6 100644
--- a/src/views/account/components/AccountSidebar/ProxyManage/index.tsx
+++ b/src/views/account/components/AccountSidebar/ProxyManage/index.tsx
@@ -13,7 +13,7 @@ import { useShallow } from 'zustand/react/shallow';
import { QuestionCircleOutlined, SearchOutlined } from '@ant-design/icons';
import accountStyles from '../AccountSidebar.module.scss';
import { icpEditDeleteAccountGroup, icpProxyCheck } from '@/icp/account';
-import {parseProxyString} from "@@/utils";
+import { parseProxyString } from '@@/utils';
export interface IProxyManageRef {}
@@ -183,6 +183,7 @@ const ProxyManage = memo(
>
<div
className={`${accountStyles.createGroup} ${styles.proxyInput}`}
+ style={{ marginBottom: '20px' }}
>
<label>代理地址</label>
<Input
@@ -208,6 +209,13 @@ const ProxyManage = memo(
验证连接
</Button>
</div>
+ <div className={styles.proxyHint}>
+ <p>1. 代理类型仅支持HTTP、HTTPS、Socks5;</p>
+ <p>支持以下填写格式</p>
+ <p>192.168.0.1:8000{`{备注}`}</p>
+ <p>192.168.0.1:8000:代理账号:代理密码{`{备注}`}</p>
+ <p>socks5://192.168.0.1:8000:代理账号:代理密码{`{备注}`}</p>
+ </div>
</Modal>
<Modal
open={open}
diff --git a/src/views/account/components/AccountSidebar/ProxyManage/proxyManage.module.scss b/src/views/account/components/AccountSidebar/ProxyManage/proxyManage.module.scss
index 13fac5b0..b29bb393 100644
--- a/src/views/account/components/AccountSidebar/ProxyManage/proxyManage.module.scss
+++ b/src/views/account/components/AccountSidebar/ProxyManage/proxyManage.module.scss
@@ -24,4 +24,9 @@
border-bottom-left-radius: 0;
border-left: none;
}
+}
+
+.proxyHint {
+ margin: 30px 0 50px 0;
+ font-size: var(--fs-sm);
}
\ No newline at end of file