Browse Source

调整初始化,关机字号大小

fixbug/style_0123
LiLongLong 6 months ago
parent
commit
68bd13df77
  1. 8
      src/pages/Index/Index.vue

8
src/pages/Index/Index.vue

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

Loading…
Cancel
Save