From daf5c9910dcd9fc4a15a50d16f746da9f89a70be Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Mon, 17 Nov 2025 13:45:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/KeyInfoForm/index.vue | 39 ++++++++++++++++++++++++++++ src/pages/machine-setting/index.vue | 19 +++++++------- 2 files changed, 48 insertions(+), 10 deletions(-) diff --git a/src/components/KeyInfoForm/index.vue b/src/components/KeyInfoForm/index.vue index c2cae12..3fed338 100644 --- a/src/components/KeyInfoForm/index.vue +++ b/src/components/KeyInfoForm/index.vue @@ -102,7 +102,27 @@ @afterRead="afterRead" :capture="['camera']" :fileList="keyInfoForm.faceImg" + v-if=" + !keyInfoForm.faceImg[0]?.name.includes('bast64') || + keyInfoForm.faceImg.length === 0 + " /> + + + + + + + + + @@ -548,4 +568,23 @@ watch( flex-direction: column; gap: 4px; } + +.face-img-container { + position: relative; +} + +.right-delete { + position: absolute; + top: 0; + right: 0; + background-color: rgb(55, 55, 55); + height: 14px; + width: 14px; + display: flex; + flex-direction: row; + border-bottom-left-radius: 100px; + align-items: center; + justify-content: flex-end; + z-index: 3; +} diff --git a/src/pages/machine-setting/index.vue b/src/pages/machine-setting/index.vue index 3b03d11..7bd1b3b 100644 --- a/src/pages/machine-setting/index.vue +++ b/src/pages/machine-setting/index.vue @@ -32,18 +32,17 @@ {{ item.deviceCode }} - - + + 名称 - {{ item.deviceName }} - - - + {{ item.deviceName }} + +