<view class="page">
  <view class="main" onTap="clickAudio">
    <top-title isHomePage="{{true}}" />
    <view class="content">
      <view class="content-top flex1">
        <view
          a:for="{{ tabList }}"
          a:if="{{ index == 0 || (index > 0 && !snDisposition.hiddenButton) }}"
          class="tab flex2 magnify"
          a:key="index"
          onTap="goto"
          data-item={{item}}
        >
          <image class="tab-icon" mode="scaleToFill" src="{{item.img}}" />
          <view>{{item.tit}}</view>
        </view>

      </view>
      <view class="content-center flex1">
        <view
          a:for="{{ centerList }}"
          a:if="{{ item.isShow }}"
          class="center magnify"
          a:key="index"
          onTap="goto"
          data-item="{{item}}"
        >
          <image
            class="center-icon {{'center-icon'+index}}"
            mode="scaleToFill"
            src="{{item.img}}"
          />
          <view>{{item.tit}}</view>
        </view>
      </view>
    </view>
    <view
      a:if="{{ snDisposition.wxScanRegister ||snDisposition.zfbScanRegister }}"
      class="scan-code flex1"
    >

      <view a:if="{{snDisposition.zfbScanRegister  }}" class="qrcode-box">
        <text>支付宝</text>
        <image mode="scaleToFill" src="{{qrImgZFB}}" class="qrcode" data-src="{{qrImgZFB}}" />
      </view>
      <view class="tip-text">
        未携带身份证，手机扫码登记
        <!--<text class="blod blue">，支持支付宝</text> 、<text class="blod">微信</text> 扫码 -->
      </view>
      <view a:if="{{ snDisposition.wxScanRegister }}" class="qrcode-box">
        <text>微信</text>
        <image mode="scaleToFill" src="{{qrImgWX}}" class="qrcode" data-src="{{qrImgWX}}" />
      </view>
    </view>
    <bottom-parnel suerName="确定" onSure="sure" isHomePage="{{true}}" showBtn="{{false}}" />
  </view>
</view>
