rev:设备监控页面优化
This commit is contained in:
@@ -6,8 +6,8 @@ import icon_alert from '../../../image/icon_alert.png'
|
||||
class ButtonNodeModel extends HtmlResize.model {
|
||||
initNodeData(data) {
|
||||
super.initNodeData(data)
|
||||
this.width = 100
|
||||
this.height = 100
|
||||
this.width = 60
|
||||
this.height = 60
|
||||
this.text.draggable = true
|
||||
this.text.editable = false
|
||||
}
|
||||
@@ -66,7 +66,7 @@ class ButtonNode extends HtmlResize.view {
|
||||
// el.id = 'uml-app'
|
||||
const html = `
|
||||
<div>
|
||||
<div style="height: 15px; width: 15px; background-color: ${statusColor}; position: absolute; border-radius: 100px; z-index: 9999"></div>
|
||||
<div style="height: 6px; width: 6px; background-color: ${statusColor}; position: absolute; border-radius: 100px; z-index: 9999"></div>
|
||||
<img src="${goods}" style="position: absolute; height: ${trayHeight}px; width: ${trayWidth}px; top: 15%; left: 15%; display: ${trayDisplay}">
|
||||
<img style="transform: rotate(${properties.transform}deg);" height="${oldNode._height}" width="${oldNode._width}" src="${imageUrl}">
|
||||
<img src="${fault}" style="position: absolute; height: ${trayHeight}px; width: ${trayWidth}px; top: 15%; left: 15%; display: ${faultDisplay}">
|
||||
|
||||
Reference in New Issue
Block a user