<!--pages/components/select-btn/index.wxml-->
  <view class="select_btn">
    <view class="{{navBtn==1?'active':''}}" data-index="1" bindtap="onSelectBtn">单次</view>
    <view class="{{navBtn==2?'active':''}}" data-index="2" bindtap="onSelectBtn">累计</view>
  </view> 
