瓶中沙 2024-01-08 21:20:46 +08:00
parent 42b3e34eb2
commit d6b51bc428
1 changed files with 9 additions and 1 deletions

View File

@ -526,7 +526,11 @@ const createLableObj = (text, t) => {
// //
if (t === 'title') { if (t === 'title') {
laberDiv.className = "laber_name"; laberDiv.className = "laber_name";
laberDiv.innerHTML = `<div class="arrow_outer"><span>设备名称:${text}</span><span>状态:启用</span><span>压力50 Pa</span></div>` laberDiv.innerHTML = `<div class="arrow_outer">
<div>设备名称${text}</div>
<div>状态启用</div>
<div>压力50 Pa</div>
</div>`
// //
} else if (t === 'details') { } else if (t === 'details') {
laberDiv.style.pointerEvents = 'auto';// laberDiv.style.pointerEvents = 'auto';//
@ -819,4 +823,8 @@ const checkComplete = () => {
.nopass { .nopass {
color: #fc1818; color: #fc1818;
} }
.arrow_outer {
display: flex;
}
</style> </style>