This commit is contained in:
yumoqing 2024-05-26 11:28:13 +08:00
parent e3eae8972a
commit 1b6085b6c0
2 changed files with 8 additions and 0 deletions

View File

@ -23,6 +23,13 @@ body {
margin-bottom: 10px;
}
.menuitem {
height: 40px;
backgroud-color: #eeeeee;
border: 1px solid #ccc;
cursor: pointer;
}
.modal>.title {
background-color: #a0a0a0;
}

View File

@ -88,6 +88,7 @@ bricks.Menu = class extends bricks.VBox {
tw.bind('click', this.regen_menuitem_event.bind(this, w));
iw.menuitem = w;
tw.menuitem = w;
w.set_css(this.menuitem_css || 'menuitem');
return w;
}
regen_menuitem_event(item, event){