From 54c7422bead4686ac5f97967dce3c39618ca5dfd Mon Sep 17 00:00:00 2001 From: xream Date: Mon, 7 Oct 2024 22:04:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=87=E4=BB=B6=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E4=BB=A3=E7=90=86/=E7=AD=96=E7=95=A5,=20?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E6=94=AF=E6=8C=81=E4=BC=A0=E5=85=A5=20`proxy?= =?UTF-8?q?`=20=E5=8F=82=E6=95=B0=E6=8C=87=E5=AE=9A=E4=BB=A3=E7=90=86/?= =?UTF-8?q?=E7=AD=96=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/locales/zh.ts | 2 +- src/views/FileEditor.vue | 28 +++++++++++++++++++++++++++- 3 files changed, 29 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 0ba5bb041..f7d92686e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sub-store-front-end", - "version": "2.14.267", + "version": "2.14.268", "private": true, "scripts": { "dev": "vite --host", diff --git a/src/locales/zh.ts b/src/locales/zh.ts index f97ae1abe..f127f1f76 100644 --- a/src/locales/zh.ts +++ b/src/locales/zh.ts @@ -288,7 +288,7 @@ export default { }, proxy: { label: '代理/策略', - placeholder: '通过代理/节点/策略获取订阅,不填使用默认', + placeholder: '通过代理/节点/策略获取远程资源,不填使用默认', }, }, commonOptions: { diff --git a/src/views/FileEditor.vue b/src/views/FileEditor.vue index 5e984355c..0cfa61720 100644 --- a/src/views/FileEditor.vue +++ b/src/views/FileEditor.vue @@ -153,7 +153,21 @@ type="text" /> - + + + { Toast.hide("submits"); }); }; +const proxyTips = () => { + Dialog({ + title: '通过代理/节点/策略获取远程文件', + content: '1. Surge(参数 policy/policy-descriptor)\n\n可设置节点代理 例: Test = snell, 1.2.3.4, 80, psk=password, version=4\n\n或设置策略/节点 例: 国外加速\n\n2. Loon(参数 node)\n\nLoon 官方文档: \n\n指定该请求使用哪一个节点或者策略组(可以使节点名称、策略组名称,也可以说是一个Loon格式的节点描述,如:shadowsocksr,example.com,1070,chacha20-ietf,"password",protocol=auth_aes128_sha1,protocol-param=test,obfs=plain,obfs-param=edge.microsoft.com)\n\n3. Stash(参数 headers["X-Surge-Policy"])/Shadowrocket(参数 headers.X-Surge-Policy)/QX(参数 opts.policy)\n\n可设置策略/节点\n\n4. Node.js 版(模块 request 的 proxy 参数):\n\n例: http://127.0.0.1:8888\n\n※ 优先级由高到低: 文件配置, 默认配置', + popClass: 'auto-dialog', + textAlign: 'left', + okText: 'OK', + noCancelBtn: true, + closeOnPopstate: true, + lockScroll: false, + }); + }; const iconTips = () => { router.push(`/icon/collection`); };