<view class="RoundedCornerButtonTabs" bindtap="tabsChange">
    <text wx:for="{{list}}" data-text="{{item}}" wx:key="index" data-index="{{index}}" class="RoundedCornerButtonTabs-item {{active==index?'active':''}}">{{item}}</text>
</view>