From e491cdb48129752324c4e3764f99bd9203c56dec Mon Sep 17 00:00:00 2001
From: lgq <1015864684@qq.com>
Date: 星期二, 31 三月 2026 09:48:44 +0800
Subject: [PATCH] 1.新增VF205门禁机代码
---
vf205_access/src/view/config/menu/helpView.js | 41 +++++++++++++++++++++++++++++++++++++++++
1 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/vf205_access/src/view/config/menu/helpView.js b/vf205_access/src/view/config/menu/helpView.js
new file mode 100644
index 0000000..fffc887
--- /dev/null
+++ b/vf205_access/src/view/config/menu/helpView.js
@@ -0,0 +1,41 @@
+import dxui from '../../../../dxmodules/dxUi.js'
+import viewUtils from "../../viewUtils.js"
+import topView from "../../topView.js"
+import configView from '../configView.js'
+import i18n from "../../i18n.js"
+const helpView = {}
+helpView.init = function () {
+ /**************************************************鍒涘缓灞忓箷*****************************************************/
+ const screenMain = dxui.View.build('helpView', dxui.Utils.LAYER.MAIN)
+ helpView.screenMain = screenMain
+ screenMain.scroll(false)
+ screenMain.bgColor(0xffffff)
+ screenMain.on(dxui.Utils.ENUM.LV_EVENT_SCREEN_LOADED, () => {
+ topView.changeTheme(true)
+ })
+
+ const titleBox = viewUtils.title(screenMain, configView.screenMain, 'helpViewTitle', 'helpView.title')
+ titleBox.align(dxui.Utils.ALIGN.TOP_MID, 0, 70)
+
+ // 浜岀淮鐮�
+ const helpQrcode = dxui.View.build('helpQrcode', screenMain)
+ viewUtils._clearStyle(helpQrcode)
+ helpQrcode.setSize(344, 344)
+ helpQrcode.align(dxui.Utils.ALIGN.TOP_MID, 0, 170)
+ helpQrcode.bgOpa(0)
+
+ const qrcode = dxui.View.build(helpQrcode.id + 'qrcode', helpQrcode)
+ viewUtils._clearStyle(qrcode)
+ qrcode.setSize(320, 320)
+ qrcode.align(dxui.Utils.ALIGN.CENTER, 0, 0);
+ const qrcodeObj = dxui.Utils.GG.NativeBasicComponent.lvQrcodeCreate(qrcode.obj, 320, 0x000000, 0xffffff)
+ dxui.Utils.GG.NativeBasicComponent.lvQrcodeUpdate(qrcodeObj, '寰俊鏆備笉鏀寔灞曠ず浜岀淮鐮佷腑鐨勬枃鏈唴瀹�')
+
+
+ const helpLabel = dxui.Label.build('helpLabel', screenMain)
+ helpLabel.dataI18n='helpView.scanCode'
+ helpLabel.align(dxui.Utils.ALIGN.TOP_MID, 0, 541)
+ helpLabel.textFont(viewUtils.font(26))
+}
+
+export default helpView
--
Gitblit v1.9.3