[improvement] Switch: add active-color prop (#2013)

This commit is contained in:
neverland
2018-11-01 19:56:09 +08:00
committed by GitHub
parent af168d6abc
commit 42f985cd7b
9 changed files with 43 additions and 17 deletions
@@ -97,7 +97,7 @@ exports[`renders demo correctly 1`] = `
<!---->
</div>
<div class="van-cell__value">
<div title="设为默认收货地址" class="van-switch" style="font-size:26px;">
<div title="设为默认收货地址" class="van-switch" style="font-size:26px;background-color:undefined;">
<div class="van-switch__node">
<!---->
</div>
@@ -203,7 +203,7 @@ exports[`create a AddressEdit with props 1`] = `
<!---->
</div>
<div class="van-cell__value">
<div title="设为默认收货地址" class="van-switch van-switch--on" style="font-size:26px;">
<div title="设为默认收货地址" class="van-switch van-switch--on" style="font-size:26px;background-color:undefined;">
<div class="van-switch__node">
<!---->
</div>