<view class="cus-switch"
      data-checked="{{checked}}"
      onTap="handleSwitch">
  <view
    class="switch-main {{checked?'checked':''}} {{disabled==='false' || disabled===false?'':'disabled'}} {{type==='square'?'square':'capsule'}}"
    style="background:{{bgcolor}};borderColor:{{bdcolor}}"
  >
  </view>
</view>
