From cc8ea2b0438505fe9e41dc346c2b29bc23ba743b Mon Sep 17 00:00:00 2001 From: zdg Date: Fri, 9 Aug 2024 17:19:00 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E8=B5=9E=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/tool/components/upvote.vue | 87 +++++++++++++++++++ src/renderer/src/views/tool/sphere.vue | 19 ++-- 2 files changed, 100 insertions(+), 6 deletions(-) create mode 100644 src/renderer/src/views/tool/components/upvote.vue diff --git a/src/renderer/src/views/tool/components/upvote.vue b/src/renderer/src/views/tool/components/upvote.vue new file mode 100644 index 0000000..beaa0b7 --- /dev/null +++ b/src/renderer/src/views/tool/components/upvote.vue @@ -0,0 +1,87 @@ + + + + \ No newline at end of file diff --git a/src/renderer/src/views/tool/sphere.vue b/src/renderer/src/views/tool/sphere.vue index 5a2aef3..e6c22f3 100644 --- a/src/renderer/src/views/tool/sphere.vue +++ b/src/renderer/src/views/tool/sphere.vue @@ -2,8 +2,13 @@
+ + + + +
// 功能说明:electron 悬浮球 import { onMounted, ref, reactive, watchEffect } from 'vue' -import logo from '@root/resources/icon.png' // logo -import boardVue from './components/board.vue' // 画板-子组件 -import sideVue from './components/side.vue' // 画板-子组件 -import vDrag from './directive/drag' // 自定义指令-拖拽 -import vIgnore from './directive/ignore' // 自定义指令-穿透 -import { useToolState } from '@/store/modules/tool' + +import logo from '@root/resources/icon.png' // logo +import boardVue from './components/board.vue' // 画板-子组件 +import sideVue from './components/side.vue' // 画板-子组件 +import upvoteVue from './components/upvote.vue' // 点赞-子组件 +import vDrag from './directive/drag' // 自定义指令-拖拽 +import vIgnore from './directive/ignore' // 自定义指令-穿透 +import { useToolState } from '@/store/modules/tool' // 数据状态-缓存 import { ipcMsgSend, ipcHandle, ipcMain, ipcMsgInvoke } from '@/utils/tool' // 相关工具 const tabActive = ref('select') // 工具栏当前选中项 const isFold = ref(false) // 折叠工具栏 -- 2.44.0.windows.1