Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

菜单的logo不支持layui自带的字体图标 #9

Closed
wningrid opened this issue Jun 13, 2019 · 1 comment
Closed

菜单的logo不支持layui自带的字体图标 #9

wningrid opened this issue Jun 13, 2019 · 1 comment

Comments

@wningrid
Copy link

遍历展示菜单的代码

<a data-th-lay-id="${menu.url}" data-th-lay-url="${menu.url}">
    <i class="iconfont" th:classappend="${menu.icon}"></i>&emsp;
    <cite th:text="${menu.menuName}"></cite>
</a>

iconfont这个样式,换成layui-icon就能支持layui自带的字体图标,不知道不使用这个是不是有什么考虑?

@zhaojun1998
Copy link
Owner

因为我项目中使用的是阿里巴巴的 iconfont 图标,没有用 layui 的,如果你用 layui 的,可以改为 layui-icon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants