Browse Source

Feat:增加PY联系方式,增加ytoo远程配置

develop
CareyWong 5 years ago
parent
commit
ead508d96c
  1. 36
      src/views/Subconverter.vue

36
src/views/Subconverter.vue

@ -153,16 +153,30 @@
:close-on-press-escape="false"
width="700px"
>
<el-form label-position="left" label-width="130px">
<el-form-item label="密码" prop="uploadPasswordItem">
<el-form label-position="left" label-width="150px">
<el-form-item prop="uploadPasswordItem">
<div slot="label">
密码
<el-popover trigger="hover" placement="right">
<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>
</el-popover>
</div>
<el-input v-model="uploadPassword" show-password placeholder="请输入密码" style="width: 250px"></el-input>
</el-form-item>
<el-form-item label="Remote config" prop="uploadConfig">
<el-form-item prop="uploadConfig">
<div slot="label">
RemoteConfig
<el-popover trigger="hover" placement="right">
<el-link type="primary" :href="sampleConfig" target="_blank" icon="el-icon-info">参考配置</el-link>
<i class="el-icon-question" slot="reference"></i>
</el-popover>
</div>
<el-input
v-model="uploadConfig"
type="textarea"
:autosize="{ minRows: 15, maxRows: 15}"
maxlength="2000"
maxlength="3000"
show-word-limit
></el-input>
</el-form-item>
@ -181,11 +195,12 @@
<script>
const remoteConfigSample =
"https://raw.githubusercontent.com/tindy2013/subconverter/master/base/example_external_config.ini";
"https://raw.githubusercontent.com/tindy2013/subconverter/master/base/config/example_external_config.ini";
const gayhubRelease = "https://github.com/tindy2013/subconverter/releases";
const defaultBackend = "https://api.wcc.best/sub?";
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"
export default {
data() {
@ -240,6 +255,11 @@ export default {
value:
"https://raw.githubusercontent.com/CareyWang/sub-web/master/docs/customized/yoyu.ini"
},
{
label: "Ytoo",
value:
"https://raw.githubusercontent.com/CareyWang/sub-web/master/docs/customized/ytoo.ini"
},
{
label: "贼船",
value:
@ -281,7 +301,9 @@ export default {
dialogUploadConfigVisible: false,
uploadConfig: "",
uploadPassword: ""
uploadPassword: "",
myBot: tgBotLink,
sampleConfig: remoteConfigSample,
};
},
created() {

Loading…
Cancel
Save