<view class='switch' style="display:none">
  <view wx:for='{{tab}}' bindtap='select' data-identity='{{index}}' class="{{index== identity ?'select':''}}">
    {{item}}
  </view>
</view>
<button type="primary" class="login-btn" bindgetuserinfo="wxLogin" open-type="getUserInfo">
  微信号快速登录
</button>