Browse Source

Merge branch 'fixbug/style_0123' into release/version1.0

release/version1.0
LiLongLong 7 months ago
parent
commit
f731ed4d8c
  1. 8
      src/pages/Index/Index.vue

8
src/pages/Index/Index.vue

@ -278,7 +278,7 @@
<InitWarn <InitWarn
v-if="idCardInserted" v-if="idCardInserted"
:visible="idCardInserted" :visible="idCardInserted"
title="检测到id卡插入"
title="检测到id卡插入,是否保存?"
:message="idCardMessage" :message="idCardMessage"
cancelText="返回" cancelText="返回"
icon="/src/assets/update-pin-icon.svg" icon="/src/assets/update-pin-icon.svg"
@ -467,6 +467,7 @@ const handleAppEvent = (data: AppEventMessage['data']) => {
consumableStore.setIdCardInfo(projectInfo) consumableStore.setIdCardInfo(projectInfo)
//id //id
idCardInserted.value = true idCardInserted.value = true
//v-html
idCardMessage.value = ` idCardMessage.value = `
<div style='line-height:0.5;margin-top: -90px;'> <div style='line-height:0.5;margin-top: -90px;'>
<div style='margin-left:25%'> <div style='margin-left:25%'>
@ -474,8 +475,7 @@ const handleAppEvent = (data: AppEventMessage['data']) => {
<div style='display:flex'><div>批次号</div><div>${projectInfo.lotId}</div></div> <div style='display:flex'><div>批次号</div><div>${projectInfo.lotId}</div></div>
<div style='display:flex'><div>过期时间</div><div>${formatDate(projectInfo.expiryDate)}</div></div> <div style='display:flex'><div>过期时间</div><div>${formatDate(projectInfo.expiryDate)}</div></div>
</div> </div>
<div style='font-weight: 700;font-size: 1.75rem'>id卡已插入是否保存</div>
</div><br/>`
</div>`
} else if (data.typeName === 'AppIDCardUnmountEvent') { } else if (data.typeName === 'AppIDCardUnmountEvent') {
consumableStore.setIdCardInserted(false) consumableStore.setIdCardInserted(false)
consumableStore.setIdCardInfo(null) consumableStore.setIdCardInfo(null)
@ -1121,7 +1121,7 @@ watch(
.pd-5{ .pd-5{
padding: 0 5px; padding: 0 5px;
font-size: 25px;
font-size: 28px;
} }
.loading-overlay { .loading-overlay {

Loading…
Cancel
Save