修改:装修组件 - 菜单按钮组件 - 单个按钮宽度由固定值修改为根据一行数量来计算平均数

This commit is contained in:
wuhui_zzw 2023-10-17 15:12:50 +08:00
parent 4f84265dae
commit c289076d49
2 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 506 B

After

Width:  |  Height:  |  Size: 9.8 KiB

View File

@ -78,7 +78,7 @@ const css = function () {
}
.component-${this.id} .button-box li{
width: ${button_number == 4?'25':'20'}%;
width: ${100 / button_number}%;
}
.component-${this.id} .button-img{