123
							parent
							
								
									42b3e34eb2
								
							
						
					
					
						commit
						d6b51bc428
					
				| 
						 | 
				
			
			@ -526,7 +526,11 @@ const createLableObj = (text, t) => {
 | 
			
		|||
    // 只显示标签
 | 
			
		||||
    if (t === 'title') {
 | 
			
		||||
        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') {
 | 
			
		||||
        laberDiv.style.pointerEvents = 'auto';// 必须加
 | 
			
		||||
| 
						 | 
				
			
			@ -819,4 +823,8 @@ const checkComplete = () => {
 | 
			
		|||
.nopass {
 | 
			
		||||
    color: #fc1818;
 | 
			
		||||
}
 | 
			
		||||
.arrow_outer {
 | 
			
		||||
    display: flex;
 | 
			
		||||
    
 | 
			
		||||
}
 | 
			
		||||
</style>
 | 
			
		||||
		Loading…
	
		Reference in New Issue