Skip to content

Commit 2bcbf74

Browse files
committed
Added: awesome list
1 parent 59dd2c0 commit 2bcbf74

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/renderer/pages/Plugin.vue

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<template>
22
<div id="plugin-view">
33
<div class="view-title">
4-
插件设置
4+
插件设置 - <i class="el-icon-goods" @click="goAwesomeList"></i>
55
</div>
66
<el-row class="handle-bar" :class="{ 'cut-width': pluginList.length > 6 }">
77
<el-input
88
v-model="searchText"
9-
placeholder="搜索npm上的PicGo插件"
9+
placeholder="搜索npm上的PicGo插件,或者点击上方按钮查看优秀插件列表"
1010
size="small"
1111
>
1212
<i slot="suffix" class="el-input__icon el-icon-close" v-if="searchText" @click="cleanSearch" style="cursor: pointer"></i>
@@ -439,6 +439,9 @@ export default {
439439
},
440440
handleInputBoxClose () {
441441
this.$electron.ipcRenderer.send('showInputBox', this.inputBoxValue)
442+
},
443+
goAwesomeList () {
444+
this.$electron.remote.shell.openExternal('https://github.com/PicGo/Awesome-PicGo')
442445
}
443446
},
444447
beforeDestroy () {
@@ -476,6 +479,10 @@ $darwinBg = #172426
476479
font-size 20px
477480
text-align center
478481
margin 10px auto
482+
i.el-icon-goods
483+
font-size 20px
484+
vertical-align middle
485+
cursor pointer
479486
.handle-bar
480487
margin-bottom 20px
481488
&.cut-width

0 commit comments

Comments
 (0)