Blame view

components/category/gender-switcher/gender-switcher.ttml 592 Bytes
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<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>