Browse Source

Add ACL4SSR remote config

develop
CareyWong 5 years ago
parent
commit
a326052d2f
  1. 81
      src/views/Subconverter.vue

81
src/views/Subconverter.vue

@ -164,7 +164,12 @@
<div slot="label"> <div slot="label">
密码 密码
<el-popover trigger="hover" placement="right"> <el-popover trigger="hover" placement="right">
<el-link type="primary" :href="myBot" target="_blank" icon="el-icon-s-promotion">@CareyWong_bot</el-link> <el-link
type="primary"
:href="myBot"
target="_blank"
icon="el-icon-s-promotion"
>@CareyWong_bot</el-link>
<i class="el-icon-question" slot="reference"></i> <i class="el-icon-question" slot="reference"></i>
</el-popover> </el-popover>
</div> </div>
@ -206,7 +211,7 @@ const gayhubRelease = "https://github.com/tindy2013/subconverter/releases";
const defaultBackend = "https://api.wcc.best/sub?"; const defaultBackend = "https://api.wcc.best/sub?";
const shortUrlBackend = ""; const shortUrlBackend = "";
const configUploadBackend = "https://api.wcc.best/config/upload"; const configUploadBackend = "https://api.wcc.best/config/upload";
const tgBotLink = "https://t.me/CareyWong_bot" const tgBotLink = "https://t.me/CareyWong_bot";
export default { export default {
data() { data() {
@ -283,6 +288,66 @@ export default {
"https://raw.githubusercontent.com/CareyWang/sub-web/master/docs/special/netease.ini" "https://raw.githubusercontent.com/CareyWang/sub-web/master/docs/special/netease.ini"
} }
] ]
},
{
label: "友商推荐",
options: [
{
label: "ACL4SSR_Onlie 与Github规则同步",
value:
"https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/config/ACL4SSR_Onlie.ini"
},
{
label: "ACL4SSR_Onlie_Mini 精简版 与Github规则同步",
value:
"https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/config/ACL4SSR_Onlie_Mini.ini"
},
{
label: "ACL4SSR_Onlie_NoAuto 与Github规则同步",
value:
"https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/config/ACL4SSR_Onlie_NoAuto.ini"
},
{
label: "ACL4SSR",
value:
"https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/config/ACL4SSR.ini"
},
{
label: "ACL4SSR_Mini 精简版",
value:
"https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/config/ACL4SSR_Mini.ini"
},
{
label: "ACL4SSR_BackCN",
value:
"https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/config/ACL4SSR_BackCN.ini"
},
{
label: "ACL4SSR_NoApple",
value:
"https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/config/ACL4SSR_NoApple.ini"
},
{
label: "ACL4SSR_NoAuto",
value:
"https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/config/ACL4SSR_NoAuto.ini"
},
{
label: "ACL4SSR_NoAuto_NoApple",
value:
"https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/config/ACL4SSR_NoAuto_NoApple.ini"
},
{
label: "ACL4SSR_NoMicrosoft",
value:
"https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/config/ACL4SSR_NoMicrosoft.ini"
},
{
label: "ACL4SSR_WithGFW",
value:
"https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/config/ACL4SSR_WithGFW.ini"
}
]
} }
] ]
}, },
@ -301,7 +366,7 @@ export default {
udp: false, udp: false,
tfo: false, tfo: false,
scv: false, scv: false,
fdn: false, fdn: false
}, },
loading: false, loading: false,
@ -311,7 +376,7 @@ export default {
uploadConfig: "", uploadConfig: "",
uploadPassword: "", uploadPassword: "",
myBot: tgBotLink, myBot: tgBotLink,
sampleConfig: remoteConfigSample, sampleConfig: remoteConfigSample
}; };
}, },
created() { created() {
@ -396,7 +461,7 @@ export default {
"&filename=" + encodeURIComponent(this.form.filename); "&filename=" + encodeURIComponent(this.form.filename);
} }
this.customSubUrl += this.customSubUrl +=
"&emoji=" + "&emoji=" +
this.form.emoji.toString() + this.form.emoji.toString() +
"&list=" + "&list=" +
@ -406,10 +471,10 @@ export default {
"&tfo=" + "&tfo=" +
this.form.tfo.toString() + this.form.tfo.toString() +
"&scv=" + "&scv=" +
this.form.scv.toString() + this.form.scv.toString() +
"&fdn=" + "&fdn=" +
this.form.fdn.toString() + this.form.fdn.toString() +
"&sort=" + "&sort=" +
this.form.sort.toString(); this.form.sort.toString();
} }

Loading…
Cancel
Save