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/cloudCertView.js |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 42 insertions(+), 0 deletions(-)

diff --git a/vf205_access/src/view/config/menu/cloudCertView.js b/vf205_access/src/view/config/menu/cloudCertView.js
new file mode 100644
index 0000000..007f389
--- /dev/null
+++ b/vf205_access/src/view/config/menu/cloudCertView.js
@@ -0,0 +1,42 @@
+import dxui from '../../../../dxmodules/dxUi.js'
+import viewUtils from "../../viewUtils.js"
+import topView from "../../topView.js"
+import configView from '../configView.js'
+const cloudCertView = {}
+cloudCertView.init = function () {
+    /**************************************************鍒涘缓灞忓箷*****************************************************/
+    const screenMain = dxui.View.build('cloudCertView', dxui.Utils.LAYER.MAIN)
+    cloudCertView.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, 'cloudCertViewTitle', 'cloudCertView.cloudCertActive')
+    titleBox.align(dxui.Utils.ALIGN.TOP_MID, 0, 70)
+
+    const inputBox = viewUtils.input(screenMain, 'cloudCertViewInput', undefined, () => {
+        console.log('cloudCertViewInput')
+    }, 'cloudCertView.inputKey')
+    inputBox.align(dxui.Utils.ALIGN.TOP_LEFT, 109, 179)
+    inputBox.width(654)
+
+    const keyLbl = dxui.Label.build('cloudCertViewKey', screenMain)
+    keyLbl.dataI18n = 'cloudCertView.key'
+    keyLbl.textFont(viewUtils.font(26))
+    keyLbl.align(dxui.Utils.ALIGN.TOP_LEFT, 43, 201)
+
+    const tipLbl = dxui.Label.build('cloudCertViewTip', screenMain)
+    tipLbl.dataI18n = 'cloudCertView.tip'
+    tipLbl.textFont(viewUtils.font(22))
+    tipLbl.textColor(0x888888)
+    tipLbl.align(dxui.Utils.ALIGN.TOP_MID, 0, 650)
+
+
+    const saveBtn = viewUtils.bottomBtn(screenMain, screenMain.id + 'saveBtn', 'cloudCertView.save', () => {
+    })
+    saveBtn.align(dxui.Utils.ALIGN.BOTTOM_MID, 0, -83)
+}
+
+export default cloudCertView 

--
Gitblit v1.9.3