仿互站小程序
This commit is contained in:
68
vant/dialog/index.wxss
Normal file
68
vant/dialog/index.wxss
Normal file
@@ -0,0 +1,68 @@
|
||||
@import "../area/index.wxss";
|
||||
|
||||
.van-dialog {
|
||||
width: 85%;
|
||||
overflow: hidden;
|
||||
font-size: 16px;
|
||||
background-color: #fff;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.van-dialog__header {
|
||||
padding-top: 21px;
|
||||
font-weight: 500;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.van-dialog__header--isolated {
|
||||
padding: 25px 0;
|
||||
}
|
||||
|
||||
.van-dialog__message {
|
||||
max-height: 60vh;
|
||||
padding: 10px 15px;
|
||||
overflow-y: auto;
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
text-align: center;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
.van-dialog__message--has-title {
|
||||
padding-top: 12px;
|
||||
color: #7d7e80;
|
||||
}
|
||||
|
||||
.van-dialog__message--left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.van-dialog__message--right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.van-dialog__footer {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.van-dialog__button {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.van-dialog__cancel,.van-dialog__confirm {
|
||||
border: 0!important;
|
||||
}
|
||||
|
||||
.van-dialog__confirm {
|
||||
color: #1989fa!important;
|
||||
}
|
||||
|
||||
.van-dialog-bounce-enter {
|
||||
opacity: 0;
|
||||
transform: translate3d(-50%,-50%,0) scale(.7);
|
||||
}
|
||||
|
||||
.van-dialog-bounce-leave-active {
|
||||
opacity: 0;
|
||||
transform: translate3d(-50%,-50%,0) scale(.9);
|
||||
}
|
Reference in New Issue
Block a user