u-radio.wxml 1.0 KB

1
  1. <view data-event-opts="{{[['tap',[['wrapperClickHandler',['$event']]]]]}}" class="{{['u-radio','data-v-5dfbf8b1','u-radio-label--'+parentData.iconPlacement,parentData.borderBottom&&parentData.placement==='column'&&'u-border-bottom']}}" style="{{$root.s0}}" catchtap="__e"><view data-event-opts="{{[['tap',[['iconClickHandler',['$event']]]]]}}" class="{{['u-radio__icon-wrap','data-v-5dfbf8b1',iconClasses]}}" style="{{$root.s1}}" catchtap="__e"><block wx:if="{{$slots.icon}}"><slot name="icon"></slot></block><block wx:else><u-icon class="u-radio__icon-wrap__icon data-v-5dfbf8b1" vue-id="61839e75-1" name="checkbox-mark" size="{{elIconSize}}" color="{{elIconColor}}" bind:__l="__l"></u-icon></block></view><block wx:if="{{$slots.default}}"><slot></slot></block><block wx:else><text data-event-opts="{{[['tap',[['labelClickHandler',['$event']]]]]}}" class="u-radio__text data-v-5dfbf8b1" style="{{'color:'+(elDisabled?elInactiveColor:elLabelColor)+';'+('font-size:'+(elLabelSize)+';')+('line-height:'+(elLabelSize)+';')}}" catchtap="__e">{{label}}</text></block></view>