From e1353feb43b88a7d9889f4b15b7ba2f203ec4903 Mon Sep 17 00:00:00 2001 From: Yuan Date: Mon, 17 Jul 2023 16:13:45 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E7=90=86=E5=8C=BA=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- graphic-pixi | 2 +- scripts/proto.cjs | 2 +- .../draw-app/properties/SectionProperty.vue | 52 +++++- .../graphics/LogicSectionInteraction.ts | 51 ++++++ src/drawApp/graphics/SectionInteraction.ts | 6 + src/drawApp/index.ts | 8 + src/graphics/logicSection/LogicSection.ts | 93 ++++++++++ .../logicSection/LogicSectionDrawAssistant.ts | 34 ++++ src/graphics/section/Section.ts | 18 +- src/graphics/section/SectionDrawAssistant.ts | 51 +++--- src/protos/alertInfo.ts | 48 ++++- src/protos/stationLayoutGraphics.ts | 170 ++++++++++++++++-- xian-ncc-da-message | 2 +- 13 files changed, 489 insertions(+), 48 deletions(-) create mode 100644 src/drawApp/graphics/LogicSectionInteraction.ts create mode 100644 src/graphics/logicSection/LogicSection.ts create mode 100644 src/graphics/logicSection/LogicSectionDrawAssistant.ts diff --git a/graphic-pixi b/graphic-pixi index 0a7e614..6899504 160000 --- a/graphic-pixi +++ b/graphic-pixi @@ -1 +1 @@ -Subproject commit 0a7e6144bad3d943b5adfec4595c70209d8b1127 +Subproject commit 6899504fef7c623a9539905812aba3a93a58395f diff --git a/scripts/proto.cjs b/scripts/proto.cjs index 0cc55b2..aed682c 100644 --- a/scripts/proto.cjs +++ b/scripts/proto.cjs @@ -66,7 +66,7 @@ function main() { recursiveGenerate(f, [], prepareCmds); }); - console.log(prepareCmds); + // console.log(prepareCmds); exec( prepareCmds.join(' && '), diff --git a/src/components/draw-app/properties/SectionProperty.vue b/src/components/draw-app/properties/SectionProperty.vue index eccebb7..6e8a468 100644 --- a/src/components/draw-app/properties/SectionProperty.vue +++ b/src/components/draw-app/properties/SectionProperty.vue @@ -7,7 +7,14 @@ @blur="onUpdate" label="编号" /> - + - + + + +