仿互站小程序
This commit is contained in:
74
vant/tree-select/index.wxss
Normal file
74
vant/tree-select/index.wxss
Normal file
@@ -0,0 +1,74 @@
|
||||
@import "../area/index.wxss";
|
||||
|
||||
.van-tree-select {
|
||||
position: relative;
|
||||
font-size: 14px;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.van-tree-select__nav {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 35%;
|
||||
min-width: 120px;
|
||||
background-color: #fafafa;
|
||||
}
|
||||
|
||||
.van-tree-select__nitem {
|
||||
position: relative;
|
||||
padding: 0 9px 0 15px;
|
||||
line-height: 44px;
|
||||
}
|
||||
|
||||
.van-tree-select__nitem--active:after {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 3.6px;
|
||||
background-color: #f44;
|
||||
content: "";
|
||||
}
|
||||
|
||||
.van-tree-select__nitem--active {
|
||||
font-weight: 700;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.van-tree-select__nitem--disabled {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.van-tree-select__content {
|
||||
width: 65%;
|
||||
padding-left: 15px;
|
||||
margin-left: 35%;
|
||||
background-color: #fff;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.van-tree-select__item {
|
||||
position: relative;
|
||||
font-weight: 700;
|
||||
line-height: 44px;
|
||||
}
|
||||
|
||||
.van-tree-select__item--active {
|
||||
color: #f44;
|
||||
}
|
||||
|
||||
.van-tree-select__item--disabled {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.van-tree-select__selected {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 15px;
|
||||
bottom: 0;
|
||||
height: 24px;
|
||||
margin: auto 0;
|
||||
line-height: 24px;
|
||||
}
|
Reference in New Issue
Block a user