Compare commits
No commits in common. "80642b31c36f3e5f609343897bab0a00f26be535" and "2b0dc5c0429f9ea527df029653937a0672f9c795" have entirely different histories.
80642b31c3
...
2b0dc5c042
Binary file not shown.
Before Width: | Height: | Size: 42 MiB After Width: | Height: | Size: 43 MiB |
|
@ -526,11 +526,7 @@ const createLableObj = (text, t) => {
|
||||||
// 只显示标签
|
// 只显示标签
|
||||||
if (t === 'title') {
|
if (t === 'title') {
|
||||||
laberDiv.className = "laber_name";
|
laberDiv.className = "laber_name";
|
||||||
laberDiv.innerHTML = `<div class="arrow_outer">
|
laberDiv.innerHTML = `<div class="arrow_outer"><span>设备名称:${text}</span><span>状态:启用</span><span>压力:50 Pa</span></div>`
|
||||||
<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';// 必须加
|
||||||
|
@ -823,8 +819,4 @@ const checkComplete = () => {
|
||||||
.nopass {
|
.nopass {
|
||||||
color: #fc1818;
|
color: #fc1818;
|
||||||
}
|
}
|
||||||
.arrow_outer {
|
|
||||||
display: flex;
|
|
||||||
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
Loading…
Reference in New Issue