<view><view data-event-opts="{{[['tap',[['changeSwitch',['$event']]]]]}}" class="switch_box row-b-c" style="{{'background-color:'+(checked?bg:'')+';'+('width:'+(width+'rpx')+';')+('height:'+(height+'rpx')+';')+('border-radius:'+(20.5+'px')+';')}}" bindtap="__e"><view class="{{['switch_text','c-white',checked?['to_left']:['_right','c-black']]}}" style="{{'font-size:'+(size+'rpx')+';'}}">{{(checked?checked_text:check_text)+''}}</view><view class="round switch-qiu" style="{{'left:'+(checked?'100%':0)+';'+('margin-left:'+(checked?'-'+34+'rpx':'')+';')+('width:'+(30+'rpx')+';')+('height:'+(30+'rpx')+';')+('border-radius:'+(30+'rpx')+';')}}"></view></view></view>