在菜单中添加图标 Add Icons in Menu

要在菜单中添加图标,你需要修改你的菜单设置。

If you need to add icons in menu, you need to change your menu settings.

首先从 MDUI 图标库 中找到你想要的图标,并点击它,复制任意一段由页面提供的代码。这段代码应该像这样:

First, find your favorite icon in MDUI Icons, and click it. Then copy the code provided by the page. The code should be like this:

<i class="mdui-icon material-icons">home</i>

随后,在菜单设置中,把这段代码粘贴在菜单项的名称之前,并在代码与原名称之间添加一个空格。就像这样:

Afterwards, in your settings, paste the code before the name of menu items, and add a blank between them. It should be like this:

接着,如果需要的话,对其余菜单项也进行相同的处理。

Then, if necessary, do the same for the remaining menu items.

results matching ""

    No results matching ""