refactor(core): 将 菜单项生成 从Mixly.ContextMenu调整到Mixly.Menu
This commit is contained in:
11
common/templates/html/menu-item.html
Normal file
11
common/templates/html/menu-item.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<div class="menu-line">
|
||||
{{# if (d.icon) { }}
|
||||
<label class="text {{d.icon}}">{{d.name}}</label>
|
||||
{{# } else { }}
|
||||
<label class="item">{{d.name}}</label>
|
||||
{{# } }}
|
||||
<div class="sep"></div>
|
||||
{{# if (d.hotKey) { }}
|
||||
<label class="hot-key">{{d.hotKey}}</label>
|
||||
{{# } }}
|
||||
</div>
|
||||
Reference in New Issue
Block a user