Dialog: support both function call and component call

This commit is contained in:
陈嘉涵
2017-08-25 15:37:39 +08:00
parent 34696d3f6e
commit 43693fa781
6 changed files with 131 additions and 152 deletions

View File

@@ -11,7 +11,6 @@
font-size: 16px;
text-align: center;
outline: 0;
overflow: hidden;
-webkit-appearance: none;
&::after {

View File

@@ -42,9 +42,10 @@
overflow: hidden;
&.is-twobtn {
display: flex;
.van-button {
width: 50%;
float: left;
flex: 1;
}
.van-dialog__cancel {
@@ -63,7 +64,10 @@
}
&__confirm {
color: #00C000;
&,
&:active {
color: #00C000;
}
}
&-bounce-enter {