仿互站小程序
This commit is contained in:
66
vant/picker/index.wxss
Normal file
66
vant/picker/index.wxss
Normal file
@@ -0,0 +1,66 @@
|
||||
@import "../area/index.wxss";
|
||||
|
||||
.van-picker {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
background-color: #fff;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.van-picker__toolbar {
|
||||
display: flex;
|
||||
height: 44px;
|
||||
line-height: 44px;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.van-picker__cancel,.van-picker__confirm {
|
||||
padding: 0 15px;
|
||||
font-size: 14px;
|
||||
color: #1989fa;
|
||||
}
|
||||
|
||||
.van-picker__cancel--hover,.van-picker__confirm--hover {
|
||||
background-color: #f2f3f5;
|
||||
}
|
||||
|
||||
.van-picker__title {
|
||||
max-width: 50%;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.van-picker__columns {
|
||||
position: relative;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.van-picker__column {
|
||||
flex: 1 1;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.van-picker__loading {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 4;
|
||||
display: flex;
|
||||
background-color: hsla(0,0%,100%,.9);
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.van-picker__frame,.van-picker__loading .van-loading {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
width: 100%;
|
||||
pointer-events: none;
|
||||
transform: translateY(-50%);
|
||||
}
|
Reference in New Issue
Block a user