初始化
This commit is contained in:
63
components/wanselect/wanselect.wxss
Normal file
63
components/wanselect/wanselect.wxss
Normal file
@@ -0,0 +1,63 @@
|
||||
/* pages/components/selector/selector.wxss */
|
||||
|
||||
.select_box {
|
||||
background: #fff;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 14rpx;
|
||||
position: relative;
|
||||
border: 1px solid #ccc;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.select_box .select {
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 8rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 10rpx;
|
||||
}
|
||||
|
||||
.select_box .select .select_text {
|
||||
font-size: 26rpx;
|
||||
color: #777777;
|
||||
line-height: 28rpx;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.select_box .select .select_img {
|
||||
width: 30rpx;
|
||||
height: 30rpx;
|
||||
display: block;
|
||||
transition: transform 0.3s;
|
||||
}
|
||||
|
||||
.select_box .select .select_img_rotate {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.select_box .option_box {
|
||||
position: absolute;
|
||||
top: 50rpx;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
height: 0;
|
||||
overflow-y: auto;
|
||||
background: #fff;
|
||||
transition: height 0.3s;
|
||||
border-left: 1px solid #efefef;
|
||||
border-right: 1px solid #efefef;
|
||||
|
||||
}
|
||||
|
||||
.select_box .option_box .option {
|
||||
display: block;
|
||||
line-height: 30rpx;
|
||||
font-size: 26rpx;
|
||||
border-top: 1px solid #efefef;
|
||||
border-bottom: 1px solid #efefef;
|
||||
padding: 10rpx;
|
||||
}
|
||||
Reference in New Issue
Block a user