Update xiaoshi-device-balance-button.js

This commit is contained in:
xiaoshi
2025-12-27 13:58:47 +08:00
committed by GitHub
parent 67f13a23ca
commit 22e7325a06

View File

@@ -1656,7 +1656,7 @@ class XiaoshiBalanceButton extends LitElement {
const buttonIcon = this.config.button_icon || 'mdi:cellphone';
// 设置背景颜色
const buttonBgColor = transparentBg ? 'transparent' : theme === 'on' ? 'rgb(255, 255, 255, 0.6)' : 'rgb(50, 50, 50, 0.6)';
const buttonBgColor = transparentBg ? 'transparent' : theme === 'on' ? 'rgb(255, 255, 255, 0.6)' : 'rgb(80, 80, 80, 0.6)';
// 获取显示模式
const displayMode = this.config.display_mode || 'min_value';