index.wxml 447 B

123456789
  1. <view bind:tap="onRadioChangeTap"
  2. class="label label-{{placement}} {{disabled?'label-disabled l-disabled-class':'l-class'}}">
  3. <view class="radio"
  4. style="color:{{checked?selectColor:(disabled?disabledColor:color)}};font-size:{{size}}">
  5. <slot wx:if="{{custom}}" name="icon"/>
  6. <view wx:else class="iconfont {{checked?'icon-select':'icon-unselect'}}"></view>
  7. </view>
  8. <slot/>
  9. </view>