gender-switcher.ttml 592 Bytes
<view class='gender-switcher-container'>
  <view class='row' bindtap='switchChannel' data-channel="1">
    <text class="{{data==='1' ? 'textSelected':'textNormal'}}">Men</text>
  </view>
  <view class='separator'></view>
  <view class='row' bindtap='switchChannel' data-channel="2">
    <text class="{{data==='2' ? 'textSelected':'textNormal'}}">Women</text>
  </view>
  <view class='separator'></view>
  <view class='row' bindtap='switchChannel' data-channel="3">
    <text class="{{data==='3' ? 'textSelected':'textNormal'}}">Kids</text>
  </view>
  <view class='bottomLine'></view>
</view>