+
{{ picBedName }} {{ $T('SETTINGS') }}
+
+
+
([])
const picBedName = ref('')
@@ -80,6 +90,37 @@ const handleConfirm = async () => {
}
}
+const linkToLogInList = ['GitHub', '腾讯云COS', '阿里云OSS', 'SM.MS', '七牛云', 'Imgur', '又拍云', 'githubPlus']
+
+function handelNameClick () {
+ switch (picBedName.value) {
+ case 'GitHub':
+ case 'githubPlus':
+ sendToMain(OPEN_URL, 'https://github.com')
+ break
+ case '腾讯云COS':
+ sendToMain(OPEN_URL, 'https://cloud.tencent.com/login')
+ break
+ case '阿里云OSS':
+ sendToMain(OPEN_URL, 'https://account.aliyun.com/login/login.htm')
+ break
+ case 'SM.MS':
+ sendToMain(OPEN_URL, 'https://smms.app')
+ break
+ case '七牛云':
+ sendToMain(OPEN_URL, 'https://portal.qiniu.com')
+ break
+ case 'Imgur':
+ sendToMain(OPEN_URL, 'https://imgur.com')
+ break
+ case '又拍云':
+ sendToMain(OPEN_URL, 'https://console.upyun.com')
+ break
+ default:
+ break
+ }
+}
+
function getPicBeds (event: IpcRendererEvent, _config: IPicGoPluginConfig[], name: string) {
config.value = _config
picBedName.value = name
@@ -104,6 +145,10 @@ export default {
height 100%
overflow-y auto
overflow-x hidden
+ .view-title
+ &:hover
+ cursor pointer
+ color #409EFF
.confirm-btn
width: 250px
.el-form
diff --git a/src/universal/types/i18n.d.ts b/src/universal/types/i18n.d.ts
index 63767a5..1f6b092 100644
--- a/src/universal/types/i18n.d.ts
+++ b/src/universal/types/i18n.d.ts
@@ -28,6 +28,7 @@ interface ILocales {
CHOOSE_YOUR_DEFAULT_PICBED: string
UPLOAD_AREA: string
UPLOAD_VIEW_HINT: string
+ MANAGE_PAGE: string
GALLERY: string
PICBEDS_SETTINGS: string
PICBEDS_MANAGE: string