update Message Icons
This commit is contained in:
parent
0bee0493d9
commit
1179374398
2 changed files with 8 additions and 8 deletions
|
@ -13,11 +13,11 @@ let messageInstance;
|
|||
let name = 1;
|
||||
|
||||
const iconTypes = {
|
||||
'info': 'information-circled',
|
||||
'success': 'checkmark-circled',
|
||||
'warning': 'android-alert',
|
||||
'error': 'close-circled',
|
||||
'loading': 'load-c'
|
||||
'info': 'ios-information-circle',
|
||||
'success': 'ios-checkmark-circle',
|
||||
'warning': 'ios-alert',
|
||||
'error': 'ios-close-circle',
|
||||
'loading': 'ios-sync'
|
||||
};
|
||||
|
||||
function getMessageInstance () {
|
||||
|
@ -46,7 +46,7 @@ function notice (content = '', duration = defaults.duration, type, onClose = fun
|
|||
transitionName: 'move-up',
|
||||
content: `
|
||||
<div class="${prefixCls}-custom-content ${prefixCls}-${type}">
|
||||
<i class="${iconPrefixCls} ${iconPrefixCls}-${iconType}${loadCls}"></i>
|
||||
<i class="${iconPrefixCls} ${iconPrefixCls}-${iconType} ${loadCls}"></i>
|
||||
<span>${content}</span>
|
||||
</div>
|
||||
`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue