update Alert style

This commit is contained in:
梁灏 2018-06-25 10:10:18 +08:00
parent 8390064d4e
commit 27b03d14f8
4 changed files with 43 additions and 16 deletions

View file

@ -80,19 +80,20 @@
switch (this.type) {
case 'success':
type = 'checkmark-circled';
type = 'ios-checkmark';
break;
case 'info':
type = 'information-circled';
type = 'ios-information';
break;
case 'warning':
type = 'android-alert';
break;
case 'error':
type = 'close-circled';
type = 'ios-close';
break;
}
if (this.desc) type += '-outline';
return type;
}
},