diff --git a/package.json b/package.json index 3aa335b..103c634 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "lowdb": "^1.0.0", "md5": "^2.2.1", "melody.css": "^1.0.2", - "picgo": "^1.1.11", + "picgo": "^1.1.12", "qiniu": "^7.1.1", "request": "^2.83.0", "request-promise": "^4.2.2", diff --git a/src/renderer/pages/Plugin.vue b/src/renderer/pages/Plugin.vue index af9846a..546bd21 100644 --- a/src/renderer/pages/Plugin.vue +++ b/src/renderer/pages/Plugin.vue @@ -22,10 +22,10 @@ class="plugin-item__content" :class="{ disabled: !item.enabled }" > -
+
{{ item.name }} {{ ' ' + item.version }}
-
+
{{ item.description }}
@@ -285,6 +285,11 @@ export default { if (item === 'transformer') { this.$db.set('picBed.transformer', 'path') } + }, + openHomepage (url) { + if (url) { + this.$electron.remote.shell.openExternal(url) + } } }, beforeDestroy () { @@ -332,7 +337,6 @@ export default { padding 8px user-select text transition all .2s ease-in-out - cursor pointer margin-bottom 10px &:hover background #333 @@ -357,6 +361,10 @@ export default { line-height 22px // font-weight 600 font-weight 600 + cursor pointer + transition all .2s ease-in-out + &:hover + color: #1B9EF3 &__desc font-size 14px height 21px @@ -376,6 +384,10 @@ export default { &__config float right font-size 16px + cursor pointer + transition all .2s ease-in-out + &:hover + color: #1B9EF3 .config-button font-size 12px color #ddd diff --git a/yarn.lock b/yarn.lock index 4bcc9ed..db9b802 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3061,7 +3061,6 @@ electron@1.8.8: element-ui@^2.4.11: version "2.4.11" resolved "https://registry.yarnpkg.com/element-ui/-/element-ui-2.4.11.tgz#db6a2d37001b8fe5fff9f176fb58bb3908cfa9c9" - integrity sha512-RtgK0t840NAFTajGMWvylzZRSX1EkZ7V4YgAoBxhv4TtkeMscLuk/IdYOzPdlQq6IN0byx1YVBxCX+u4yYkGvw== dependencies: async-validator "~1.8.1" babel-helper-vue-jsx-merge-props "^2.0.0" @@ -6197,10 +6196,9 @@ performance-now@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" -picgo@^1.1.11: - version "1.1.11" - resolved "https://registry.yarnpkg.com/picgo/-/picgo-1.1.11.tgz#a79067e37bfab84d557a7dfe51a733a63ccf7d8f" - integrity sha512-J4igRhH3eRHf7MrgV9eLF+nwABCQyfuKQwtRvKkJXyTiDTuhvfpjv4WOBcW5ilqWUAsgwIP/rXaw1mxxQ5bQbQ== +picgo@^1.1.12: + version "1.1.12" + resolved "http://registry.npm.taobao.org/picgo/download/picgo-1.1.12.tgz#264f54f3b8d5712d912fc64c051421da8dad2390" dependencies: chalk "^2.4.1" commander "^2.17.0"