fix(Switch): loading size (#2220)

This commit is contained in:
neverland 2019-10-29 20:56:37 +08:00 committed by GitHub
parent 6e5abfac22
commit 3cbd24c35b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -29,6 +29,8 @@
position: absolute !important;
top: 25%;
left: 25%;
width: 50%;
height: 50%;
}
&--on {

View File

@ -6,6 +6,6 @@
bind:tap="onClick"
>
<view class="van-switch__node node-class">
<van-loading wx:if="{{ loading }}" color="{{ loadingColor }}" size="50%" custom-class="van-switch__loading" />
<van-loading wx:if="{{ loading }}" color="{{ loadingColor }}" custom-class="van-switch__loading" />
</view>
</view>