[improvement] AddressList: add switchable prop (#1938)

This commit is contained in:
neverland
2018-10-16 21:12:45 +08:00
committed by GitHub
parent fe5c69a853
commit f90e96f701
6 changed files with 31 additions and 9 deletions
+8 -6
View File
@@ -61,12 +61,7 @@
color: $gray-darker;
}
&--disabled {
.van-address-item__name,
.van-address-item__address {
color: $gray-dark;
}
&--unswitchable {
.van-radio__input {
display: none;
}
@@ -76,6 +71,13 @@
}
}
&--disabled {
.van-address-item__name,
.van-address-item__address {
color: $gray-dark;
}
}
&__edit {
position: absolute;
top: 50%;