opt: 设备优化

This commit is contained in:
yanps
2024-02-23 16:37:01 +08:00
parent d4c89bc50f
commit 7282a6ef66
106 changed files with 845 additions and 326 deletions

View File

@@ -68,8 +68,8 @@ class ButtonNode extends HtmlResize.view {
<div>
<div style="height: 15px; width: 15px; 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 src="${fault}" style="position: absolute; height: ${trayHeight}px; width: ${trayWidth}px; top: 15%; left: 15%; display: ${faultDisplay}">
<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}">
</div>
`
el.innerHTML = html