update Notice Icons
This commit is contained in:
parent
f9d5b27ba9
commit
d3f31e39df
1 changed files with 2 additions and 1 deletions
|
@ -57,11 +57,12 @@ function notice (type, options) {
|
||||||
`;
|
`;
|
||||||
} else {
|
} else {
|
||||||
const iconType = iconTypes[type];
|
const iconType = iconTypes[type];
|
||||||
|
const outlineIcon = with_desc === '' ? '' : '-outline';
|
||||||
withIcon = true;
|
withIcon = true;
|
||||||
content = `
|
content = `
|
||||||
<div class="${prefixCls}-custom-content ${prefixCls}-with-icon ${prefixCls}-with-${type} ${with_desc}">
|
<div class="${prefixCls}-custom-content ${prefixCls}-with-icon ${prefixCls}-with-${type} ${with_desc}">
|
||||||
<span class="${prefixCls}-icon ${prefixCls}-icon-${type}">
|
<span class="${prefixCls}-icon ${prefixCls}-icon-${type}">
|
||||||
<i class="${iconPrefixCls} ${iconPrefixCls}-${iconType}"></i>
|
<i class="${iconPrefixCls} ${iconPrefixCls}-${iconType}${outlineIcon}"></i>
|
||||||
</span>
|
</span>
|
||||||
<div class="${prefixCls}-title">${title}</div>
|
<div class="${prefixCls}-title">${title}</div>
|
||||||
<div class="${prefixCls}-desc">${desc}</div>
|
<div class="${prefixCls}-desc">${desc}</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue