File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div id =" plugin-view" >
3
3
<div class =" view-title" >
4
- 插件设置
4
+ 插件设置 - < i class = " el-icon-goods " @click = " goAwesomeList " ></ i >
5
5
</div >
6
6
<el-row class =" handle-bar" :class =" { 'cut-width': pluginList.length > 6 }" >
7
7
<el-input
8
8
v-model =" searchText"
9
- placeholder =" 搜索npm上的PicGo插件"
9
+ placeholder =" 搜索npm上的PicGo插件,或者点击上方按钮查看优秀插件列表 "
10
10
size =" small"
11
11
>
12
12
<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 {
439
439
},
440
440
handleInputBoxClose () {
441
441
this .$electron .ipcRenderer .send (' showInputBox' , this .inputBoxValue )
442
+ },
443
+ goAwesomeList () {
444
+ this .$electron .remote .shell .openExternal (' https://github.com/PicGo/Awesome-PicGo' )
442
445
}
443
446
},
444
447
beforeDestroy () {
@@ -476,6 +479,10 @@ $darwinBg = #172426
476
479
font-size 20px
477
480
text-align center
478
481
margin 10px auto
482
+ i .el-icon-goods
483
+ font-size 20px
484
+ vertical-align middle
485
+ cursor pointer
479
486
.handle-bar
480
487
margin-bottom 20px
481
488
& .cut-width
You can’t perform that action at this time.
0 commit comments