提交 4ab83a0c 编写于 作者: KK's avatar KK

notice 组件调整

上级 939a001b
...@@ -108,6 +108,11 @@ ion-item{ ...@@ -108,6 +108,11 @@ ion-item{
ion-segment{ ion-segment{
width: 100%; width: 100%;
} }
// 确认操作按钮颜色调整
button.alert-button.ion-focusable.ion-activatable.secondary.sc-ion-alert-ios {
color: #ef6b6b;
font-weight: 500;
}
// 默认主题颜色 // 默认主题颜色
@default-active-color: @color-primary; @default-active-color: @color-primary;
@default-text-color: #fff; @default-text-color: #fff;
......
...@@ -94,15 +94,16 @@ export class Notice { ...@@ -94,15 +94,16 @@ export class Notice {
message: message, message: message,
buttons: [ buttons: [
{ {
text: '确认', text: '取消',
handler: () => { handler: () => {
resolve(true); resolve(false);
} }
}, },
{ {
text: '取消', text: '确认',
cssClass: 'secondary',
handler: () => { handler: () => {
resolve(false); resolve(true);
} }
}, },
], ],
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册