<!--components/mp-switch/mp-switch.wxml-->
<view class="mp-switch" style="--mp-switch-width: {{width}}px;--mp-switch-height: {{height}}px;--mp-switch-text: '{{item.checked?trueText:falseText}}';">
	<view class="wx-switch-input {{item.checked?'wx-switch-input-checked':''}}" bind:tap="onChange"></view>
</view>