From 74c75e111e9219678d599ccb4e08a4f8221c0d9c Mon Sep 17 00:00:00 2001
From: zhanghao <774378400@qq.com>
Date: Mon, 10 Nov 2025 17:22:23 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E8=A7=A6=E6=8E=A7=E4=BA=A4=E4=BA=92?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/flow/config.js | 18 ++++++++++++++++++
src/views/flow/icon/dialogue.svg | 2 +-
src/views/flow/icon/touch.svg | 1 +
3 files changed, 20 insertions(+), 1 deletion(-)
create mode 100644 src/views/flow/icon/touch.svg
diff --git a/src/views/flow/config.js b/src/views/flow/config.js
index f7fce53..2b528ad 100644
--- a/src/views/flow/config.js
+++ b/src/views/flow/config.js
@@ -16,6 +16,7 @@ import planSvg from './icon/plan.svg'
import awakenSvg from './icon/awaken.svg'
import dialogueSvg from './icon/dialogue.svg'
import audioSvg from './icon/audio.svg'
+import touchSvg from './icon/touch.svg'
import { v4 as randomUUID } from 'uuid'
@@ -350,4 +351,21 @@ export const collapseList = [
}
],
},
+ {
+ collapseTitle: "触控交互",
+ nodeList: [
+ {
+ icon: touchSvg,
+ name: "触控",
+ type: "serviceNode",
+ desc: "去触控坐标的点位",
+ action: 'TOUCH',
+ nodeParams: [
+ { name: "deviceId", type: "input", input: "", disabled: true },
+ { name: "touchParams", type: "input", input: "", disabled: true }
+ ],
+ outputType: 'json',
+ }
+ ],
+ },
]
diff --git a/src/views/flow/icon/dialogue.svg b/src/views/flow/icon/dialogue.svg
index e3481ff..b208067 100644
--- a/src/views/flow/icon/dialogue.svg
+++ b/src/views/flow/icon/dialogue.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/views/flow/icon/touch.svg b/src/views/flow/icon/touch.svg
new file mode 100644
index 0000000..44a14a5
--- /dev/null
+++ b/src/views/flow/icon/touch.svg
@@ -0,0 +1 @@
+
\ No newline at end of file