在项目中有个同事说alert中info的那个图片太丑了,能不能换个好看的,其实换那个很简单就是覆盖原来的css样式
<style type="text/css">
.messager-info{
background:url('images/icons/ok.png') no-repeat scroll left top;
}
</style>
本文介绍了一种简单的方法来替换EasyUI框架中Alert对话框的默认图标。通过覆盖原有的CSS样式,可以轻松地将原有的图标替换为更美观的设计。
在项目中有个同事说alert中info的那个图片太丑了,能不能换个好看的,其实换那个很简单就是覆盖原来的css样式
<style type="text/css">
.messager-info{
background:url('images/icons/ok.png') no-repeat scroll left top;
}
</style>

被折叠的 条评论
为什么被折叠?