orderNav.ttml 381 Bytes
<view id="order-nav" class="order-nav clearfix">
  <block tt:for="{{data}}" tt:key="{{index}}" tt:for-item="item">
    <view class="tap-hightlight {{selectIndex == index ? 'active' : ''}}" data-type="{{index + 1}}" bindtap="onSelectChanged">
      <view class="nav-tap">{{item}}</view>
      <button formType="submit" class="nav-tapButton"></button> 
    </view>
  </block>
</view>