diff --git a/packages/switch/index.less b/packages/switch/index.less index e0890fbc..01ec9a70 100644 --- a/packages/switch/index.less +++ b/packages/switch/index.less @@ -29,6 +29,8 @@ position: absolute !important; top: 25%; left: 25%; + width: 50%; + height: 50%; } &--on { diff --git a/packages/switch/index.wxml b/packages/switch/index.wxml index 147d6189..31a104df 100644 --- a/packages/switch/index.wxml +++ b/packages/switch/index.wxml @@ -6,6 +6,6 @@ bind:tap="onClick" > - +