diff --git a/components/dialog/index.js b/components/dialog/index.js index f0769bcb..2fd96bc2 100644 --- a/components/dialog/index.js +++ b/components/dialog/index.js @@ -17,7 +17,7 @@ const instances = [] const generate = function({ title = '', icon = '', - iconSvg = false, + iconSvg = true, content = '', closable = false, transition = 'md-bounce', @@ -75,7 +75,7 @@ const generate = function({ Dialog.confirm = ({ title = '', icon = '', - iconSvg = false, + iconSvg = true, content = '', cancelText = t('md.dialog.cancel'), cancelWarning = false, @@ -131,7 +131,7 @@ Dialog.confirm = ({ Dialog.alert = ({ title = '', icon = '', - iconSvg = false, + iconSvg = true, content = '', confirmText = t('md.dialog.confirm'), closable = false, @@ -174,7 +174,6 @@ Dialog.alert = ({ */ Dialog.succeed = props => { props.icon = 'success-color' - props.iconSvg = true return Dialog.confirm(props) } @@ -186,7 +185,6 @@ Dialog.succeed = props => { */ Dialog.failed = props => { props.icon = 'warn-color' - props.iconSvg = true return Dialog.confirm(props) } diff --git a/components/license-plate/index.vue b/components/license-plate/index.vue index e29ad8a8..b9cdec18 100644 --- a/components/license-plate/index.vue +++ b/components/license-plate/index.vue @@ -505,10 +505,14 @@ export default { .md-license-plate-input-container{ &.popUp{ background: #fff; - padding: 20px 40px 0px; - padding-bottom: constant(safe-area-inset-bottom); - padding-bottom: env(safe-area-inset-bottom); + padding: 20px 40px 40px; } } + .md-popup-box.md-slide-up{ + padding-bottom: constant(safe-area-inset-bottom); + padding-bottom: env(safe-area-inset-bottom); + border-radius: 40px 40px 0 0; + background: #fff; + } }