From 10cb372486aacfb9703ccdfd69bfd1f596dad66f Mon Sep 17 00:00:00 2001 From: baiy Date: Tue, 27 Apr 2021 09:41:57 +0800 Subject: [PATCH] =?UTF-8?q?utools=20=20=E5=88=87=E6=8D=A2=E4=B8=BA?= =?UTF-8?q?=E5=8E=9F=E7=94=9F=E7=AA=97=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- public/img/icon_utools.png | Bin 11382 -> 15067 bytes public/tool.html | 2 +- public/tool_preload.js | 23 ------------------ public/utools.html | 43 --------------------------------- src/adapter/utools/plugin.json | 7 ++++-- src/config.js | 14 +++++++++-- src/helper.js | 1 + src/tool.js | 29 ++++++---------------- src/tool.vue | 18 ++++++++++++++ src/tool/adapter.js | 3 ++- src/views/setting/block.vue | 12 --------- src/views/setting/common.vue | 4 +-- 13 files changed, 50 insertions(+), 108 deletions(-) delete mode 100644 public/tool_preload.js delete mode 100644 public/utools.html diff --git a/README.md b/README.md index 01becd5..a23f679 100644 --- a/README.md +++ b/README.md @@ -71,4 +71,4 @@ > 当然项目中还使用很多不知道姓名的大神的代码, 在这里就不一一感谢 ## 先睹为快 - ![](dome.jpg) + ![](https://raw.githubusercontent.com/baiy/Ctool/master/dome.jpg) diff --git a/public/img/icon_utools.png b/public/img/icon_utools.png index 37ac92521c6f7b345bb6a98c40a2859758e8eb62..4d78c7ff96c0b340cf6940e019f0c28b73f0189b 100644 GIT binary patch literal 15067 zcmV<1IwZx3P)~lo?w;I}a}JtOMiFU{5KCALd|+d-fENtNM(hH{#sn_{fj_VjNh`tvCI}?> z*fr9^!WsuKN{c`e(kSQA;h4gY)Y z$tP1N6be$O6{H}K9^NbezHf_cK7K?t9y=`CPV`Fu(4Y(yhNQ1BBt!LIQ|~hk|2~_^ zNLDh#-jmN{WNa=kotd2Q>w%#mIXc*{W2e~@l?!20V*b|ZE|%}>yq7WYzfvp6P(ftK z_s*b++f&xBGn=#xW(a?7@7&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|b$ACt_} z{E#rRV|6fvRQUdBc0% z8FLs-SEFQEyzEs_K3?+>ST1~K$52f-;SsZwi(&YnB&tkNxz$m)_4Is@9u;Ox+XTTv z@+d#gG4voDvE+^k{w{CIBB!{zSF392bkZ5z>wH#Vx$xZsn`1o$8_)9w?HMvLbm>yG zT~SXYF~M{gvk;|8f`uwADPybB>J4>i{j43sd1omj?}d!^&IAh8TN6BErib1m^&*I}Gjwj0$`TjTj9=S7`E zb-vXhUb>1wZ}(W2hN3j$7QgBZ=*g>BiIu4uGnZF@;Q|NP+N=FA+Lg3pvZ|FSn4qc3 zu1^94EY8(W7+dS4tpO0ycO_*%>tH2d30jslwfUF_v}s8a1}<~c99$x}Ok2nE3RNcPYrlDffbLQ&fisEiWmK%K5Q>ZVD}>QVx9krF_G)yteU zMFVVeMk&?M&vG1~G0+=C2ZbyZR}0pbllnY{5>4kil$U$iTXE73W0N$S`pbC!NOeZO z3MpDhOYbP)vJ$xtTKkYovI#qunl`Wef9NUW3ucb5?O7w=R2udjKJmURi>;k)=K790 zgt%Ns*^R{qnPiR`zz~+EQ61VWjS~*nyG>|kP~bvK>!g={R9YQnV0E>t*U^gObY)S# zx_eD!FmwFq;8v%>d=_KNl>{0HWHZoYSbWn**aRn!&8I2KSyEWFmqh@|i3__uVJtnA zg=?|VP|3%JZBcPpFCXAU0&FGu!ND!zz|4V$iy+KS`@y3~vr2rQrN|s-#{jjT_wVfh z;Bsk~Q_TX1F0tgpim%$G{GFv3RH1GAG-7eut~zI1o633aRvJHUIBTK_xC_yMH4>Qh zfj)Lvn6!UL7y-b*@()@ta^1~VHYZa!aJBweDNHTrPOpKT;Pg zI)KC$7Pmsg$DBf16gu2rQ&4ub^rhX07*qoM6N<$ Ef?i(Cq5uE@ diff --git a/public/tool.html b/public/tool.html index c1e2605..32388de 100644 --- a/public/tool.html +++ b/public/tool.html @@ -7,7 +7,7 @@ Ctool 程序开发常用工具 -
+
diff --git a/public/tool_preload.js b/public/tool_preload.js deleted file mode 100644 index f630233..0000000 --- a/public/tool_preload.js +++ /dev/null @@ -1,23 +0,0 @@ -const {remote} = require("electron"); -const browserWindow = remote.getCurrentWindow() -browserWindow.webContents.on('before-input-event', (event, input) => { - // mac 关闭支持 - if (process.platform === "darwin") { - if (input.meta && (['q', 'w'].includes(input.key.toLowerCase()))) { - event.preventDefault() - browserWindow.blur() - browserWindow.close() - } - } -}) -browserWindow.once('ready-to-show', () => { - browserWindow.show() -}) - -window.ctool = {} -window.ctool.isDevToolsOpened = function () { - return browserWindow.webContents.isDevToolsOpened(); -} -window.ctool.toggleDevTools = function () { - return browserWindow.webContents.toggleDevTools(); -} \ No newline at end of file diff --git a/public/utools.html b/public/utools.html deleted file mode 100644 index 55e3f4b..0000000 --- a/public/utools.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - Ctool 程序开发常用工具 - - - - - \ No newline at end of file diff --git a/src/adapter/utools/plugin.json b/src/adapter/utools/plugin.json index 3c5065b..6d5aacf 100644 --- a/src/adapter/utools/plugin.json +++ b/src/adapter/utools/plugin.json @@ -3,11 +3,14 @@ "description": "Ctool 程序开发常用工具", "author": "baiy", "homepage": "https://github.com/baiy/Ctool", - "main": "utools.html", + "main": "tool.html", "version": "##version##", - "logo": "img/icon128.png", + "logo": "img/icon_utools.png", "pluginSetting": { "single": true }, + "development": { + "main": "http://localhost:8081/tool.html" + }, "features": "##features##" } \ No newline at end of file diff --git a/src/config.js b/src/config.js index 8971dfd..54ba628 100644 --- a/src/config.js +++ b/src/config.js @@ -7,8 +7,18 @@ const category = [ ] const tool = [ - {'name': 'hash', 'title': '哈希(hash)', 'cat': ['encryption']}, - {'name': 'encrypt', 'title': '加密/解密', 'cat': ['encryption']}, + { + 'name': 'hash', + 'title': '哈希(hash)', + 'cat': ['encryption'], + 'keyword': ['md5', 'sha1', 'sha256', 'sha512', 'sm3'] + }, + { + 'name': 'encrypt', + 'title': '加密/解密', + 'cat': ['encryption'], + 'keyword': ['AES', 'DES', 'RC4', 'Rabbit', 'TripleDes', 'sm2'] + }, {'name': 'base64', 'title': 'BASE64编码', 'cat': ['encryption']}, {'name': 'json', 'title': 'JSON工具', 'cat': ['conversion', 'serialize']}, {'name': 'url', 'title': 'URL编码', 'cat': ['conversion']}, diff --git a/src/helper.js b/src/helper.js index e7969a1..28de929 100644 --- a/src/helper.js +++ b/src/helper.js @@ -45,6 +45,7 @@ export const stat = function (action, data = {}) { { v: env('version'), a: action, + p:env('platform'), r: Math.random() }, data diff --git a/src/tool.js b/src/tool.js index e8c6187..c45de37 100644 --- a/src/tool.js +++ b/src/tool.js @@ -3,38 +3,25 @@ import ViewUI from 'view-design' import 'view-design/dist/styles/iview.css' import router from './tool.router' import optionBlock from './components/optionBlock' -import model, {plugin as modelPlugin} from './tool/model' +import {plugin as modelPlugin} from './tool/model' import App from './tool.vue' import {isUtools} from './helper' -import config from "./tool/config"; - -Vue.config.productionTip = false - -Vue.use(ViewUI) -Vue.use(modelPlugin) -Vue.component('option-block', optionBlock); (function () { - if (isUtools) { - let tool = window.utools.db.get("_current_tool_"); - if (tool && tool.data) { - let cat = config.getToolDefaultCategory(tool.data); - if (cat) { - model.setCategoryHistory(cat) - model.setToolHistory(cat, tool.data) - } - } - } - if (document.body.clientWidth > 900 || isUtools) { console.log('调整窗口大小') const page = document.getElementById('page') page.style.width = 'auto' - page.style.padding = '0 50px' page.style.height = 'auto' - page.style.minHeight = '600px' } })() + +Vue.config.productionTip = false + +Vue.use(ViewUI) +Vue.use(modelPlugin) +Vue.component('option-block', optionBlock); + new Vue({ router, render: h => h(App), diff --git a/src/tool.vue b/src/tool.vue index 979262f..d656338 100644 --- a/src/tool.vue +++ b/src/tool.vue @@ -126,6 +126,24 @@ export default { }, }, created () { + if (this.isUtools){ + window.utools.onPluginEnter(({code}) => { + let tool = ""; + if (code.indexOf('ctool-') !== -1) { + tool = code.replace(/ctool-/g, "") + } + if (tool && this.currentTool !== tool) { + let cat = config.getToolDefaultCategory(tool); + if (cat) { + model.setCategoryHistory(cat) + model.setToolHistory(cat, tool) + this.currentCategory = cat; + this.currentTool = tool; + } + } + }) + } + this.currentCategory = model.getCategoryHistory() this.currentTool = model.getToolHistory(this.currentCategory) this.$Message.config({ diff --git a/src/tool/adapter.js b/src/tool/adapter.js index 974c538..4a94bd3 100644 --- a/src/tool/adapter.js +++ b/src/tool/adapter.js @@ -47,10 +47,11 @@ const utoolsConfigWrite = () => { "cmds": ['ctool', '程序开发常用工具'] }, ...toolConfig.tool.map((item) => { + let keyword = item.hasOwnProperty("keyword") ? item['keyword'] : []; return { "code": "ctool-" + item.name, "explain": item.title, - "cmds": [item.name, item.title, "ctool-" + item.name] + "cmds": Array.from(new Set([item.name, item.title, "ctool-" + item.name, ...keyword])) } }) ] diff --git a/src/views/setting/block.vue b/src/views/setting/block.vue index ae72b89..8b03abe 100644 --- a/src/views/setting/block.vue +++ b/src/views/setting/block.vue @@ -12,9 +12,6 @@ - - -
@@ -36,16 +33,12 @@ export default { return { settingShow: false, auto_save_copy: true, - is_dev_tools_opened: false, auto_read_copy: true, is_chrome: isChrome, is_utools: isUtools, } }, created() { - if (isUtools) { - this.is_dev_tools_opened = window.ctool.isDevToolsOpened(); - } this.auto_save_copy = setting.autoSaveCopy() this.auto_read_copy = setting.autoReadCopy() }, @@ -63,11 +56,6 @@ export default { this.settingShow = true break } - }, - toggleDevTools() { - if (isUtools) { - window.ctool.toggleDevTools() - } } }, } diff --git a/src/views/setting/common.vue b/src/views/setting/common.vue index cde5414..044703c 100644 --- a/src/views/setting/common.vue +++ b/src/views/setting/common.vue @@ -1,7 +1,7 @@ @@ -28,4 +28,4 @@ }, }, } - + \ No newline at end of file -- GitLab