mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 03:11:15 +00:00
Dialog: support both function call and component call
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
font-size: 16px;
|
||||
text-align: center;
|
||||
outline: 0;
|
||||
overflow: hidden;
|
||||
-webkit-appearance: none;
|
||||
|
||||
&::after {
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user