From f51c16ea1821f1b260348c0fe8f726fc46018015 Mon Sep 17 00:00:00 2001 From: shefengchun <1077478963@qq.com> Date: Wed, 4 Jan 2023 11:02:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84web=E7=AB=AF=E8=9E=8D?= =?UTF-8?q?=E5=90=88=20demo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FusionSettings/DensityCorrection.vue | 79 +++--- .../FusionSettings/FourPointCalibration.vue | 100 ++++--- .../FusionSettings/FusionLocale.vue | 155 ++++++---- .../FusionSettings/GridSettings.vue | 1 - .../FusionSettings/ProjectorItem.vue | 4 - .../FusionSettings/SurfaceCorrection.vue | 164 ++++++----- src/components/FusionSettingsDialog.vue | 267 ++++++++++-------- src/i18n/en-US/index.ts | 6 +- src/i18n/zh-CN/index.ts | 6 +- src/third_lib/calculateposition/index.js | 24 -- 10 files changed, 464 insertions(+), 342 deletions(-) delete mode 100644 src/third_lib/calculateposition/index.js diff --git a/src/components/FusionSettings/DensityCorrection.vue b/src/components/FusionSettings/DensityCorrection.vue index 97c8359..8651eed 100644 --- a/src/components/FusionSettings/DensityCorrection.vue +++ b/src/components/FusionSettings/DensityCorrection.vue @@ -1,56 +1,71 @@ diff --git a/src/components/FusionSettings/FourPointCalibration.vue b/src/components/FusionSettings/FourPointCalibration.vue index 89be1b2..80f355e 100644 --- a/src/components/FusionSettings/FourPointCalibration.vue +++ b/src/components/FusionSettings/FourPointCalibration.vue @@ -8,7 +8,18 @@
-
+ +
+
+ + + +
+ +
+
{{$t('point')}}4
-
-
-
- - - -
+
+
+
@@ -41,8 +46,7 @@
- +
- - - - @@ -65,7 +63,6 @@ - \ No newline at end of file diff --git a/src/i18n/en-US/index.ts b/src/i18n/en-US/index.ts index b14ca94..85512fc 100644 --- a/src/i18n/en-US/index.ts +++ b/src/i18n/en-US/index.ts @@ -419,7 +419,9 @@ export default { "Right fusion Band Parameters":"Right Fusion Band Parameters", "Set the fusion band width":"Set the fusion band width", "Please enter a number":"Please enter a number", - "Please enter 0-100":"Please enter 0-100", + "Please enter 0-100":"Please enter 0-your differentiation rate", "Set Fusion Band Parameters":"Set Fusion Band Parameters", - "Projector":"Projector" + "Projector":"Projector", + "resetall":"reset all", + "save config":"save config" }; diff --git a/src/i18n/zh-CN/index.ts b/src/i18n/zh-CN/index.ts index 302c886..b545f1c 100644 --- a/src/i18n/zh-CN/index.ts +++ b/src/i18n/zh-CN/index.ts @@ -687,7 +687,9 @@ export default { "Right fusion Band Parameters":"右融合带参数", "Set the fusion band width":"设置融合带宽度", "Please enter a number":"请输入数字", - "Please enter 0-100":"请输入 0-100", + "Please enter 0-100":"请输入 0-你的分辨率", "Set Fusion Band Parameters":"设置融合带参数", - "Projector":"投影机" + "Projector":"投影机", + "resetall":"重置所有", + "save config":"保存配置" }; diff --git a/src/third_lib/calculateposition/index.js b/src/third_lib/calculateposition/index.js deleted file mode 100644 index d8178de..0000000 --- a/src/third_lib/calculateposition/index.js +++ /dev/null @@ -1,24 +0,0 @@ -function getElementLeft(element) { - var actualLeft = element.offsetLeft; - var current = element.offsetParent; - - while (current !== null) { - actualLeft += current.offsetLeft; - current = current.offsetParent; - } - - return actualLeft; -} - -function getElementTop(element) { - var actualTop = element.offsetTop; - var current = element.offsetParent; - - while (current !== null) { - actualTop += current.offsetTop; - current = current.offsetParent; - } - - return actualTop; -} -export {getElementLeft,getElementTop}