mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-09-05 15:37:21 +08:00
Added: awesome list
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<div id="plugin-view">
|
<div id="plugin-view">
|
||||||
<div class="view-title">
|
<div class="view-title">
|
||||||
插件设置
|
插件设置 - <i class="el-icon-goods" @click="goAwesomeList"></i>
|
||||||
</div>
|
</div>
|
||||||
<el-row class="handle-bar" :class="{ 'cut-width': pluginList.length > 6 }">
|
<el-row class="handle-bar" :class="{ 'cut-width': pluginList.length > 6 }">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="searchText"
|
v-model="searchText"
|
||||||
placeholder="搜索npm上的PicGo插件"
|
placeholder="搜索npm上的PicGo插件,或者点击上方按钮查看优秀插件列表"
|
||||||
size="small"
|
size="small"
|
||||||
>
|
>
|
||||||
<i slot="suffix" class="el-input__icon el-icon-close" v-if="searchText" @click="cleanSearch" style="cursor: pointer"></i>
|
<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 {
|
|||||||
},
|
},
|
||||||
handleInputBoxClose () {
|
handleInputBoxClose () {
|
||||||
this.$electron.ipcRenderer.send('showInputBox', this.inputBoxValue)
|
this.$electron.ipcRenderer.send('showInputBox', this.inputBoxValue)
|
||||||
|
},
|
||||||
|
goAwesomeList () {
|
||||||
|
this.$electron.remote.shell.openExternal('https://github.com/PicGo/Awesome-PicGo')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
beforeDestroy () {
|
beforeDestroy () {
|
||||||
@@ -476,6 +479,10 @@ $darwinBg = #172426
|
|||||||
font-size 20px
|
font-size 20px
|
||||||
text-align center
|
text-align center
|
||||||
margin 10px auto
|
margin 10px auto
|
||||||
|
i.el-icon-goods
|
||||||
|
font-size 20px
|
||||||
|
vertical-align middle
|
||||||
|
cursor pointer
|
||||||
.handle-bar
|
.handle-bar
|
||||||
margin-bottom 20px
|
margin-bottom 20px
|
||||||
&.cut-width
|
&.cut-width
|
||||||
|
|||||||
Reference in New Issue
Block a user