<!--pages/us/index.wxml-->
<scroll-view class="scrollarea" scroll-y type="list">
  <view class="index_main">
    <button class="user" open-type="chooseAvatar" bindchooseavatar="chooseavatar">
      <image style="width: 202rpx;height:202rpx;" src="{{ userUrl || '../../images/user.png'}}" />
    </button>
    <Container wx:if="{{phone}}">
      <van-cell is-link url="/pages/userData/index">
        <view slot="title" class="title">
          <image src="../../images/application.png" class="icon" />
          报名信息
        </view>
      </van-cell>
      <van-cell is-link url="/pages/downZS/index">
        <view slot="title" class="title">
          <image src="../../images/certificate.png" class="icon" />
          证书下载
        </view>
      </van-cell>
      <van-cell is-link url="/pages/expert/index">
        <view slot="title" class="title">
          <image src="../../images/expert.png" class="icon" />
          专家评审
        </view>
      </van-cell>
      <van-cell is-link url="/pages/admin/index">
        <view slot="title" class="title">
          <image src="../../images/expert.png" class="icon" />
          管理员审核
        </view>
      </van-cell>
    </Container>

    <Container wx:if="{{!phone}}">
      <van-button bind:getphonenumber="getphone" openType="getPhoneNumber" block>获取手机号</van-button>
    </Container>

    <image class="zwh" src="https://cxzx.smcic.net/topic/tool/img/%E5%B0%91%E5%84%BF%E4%B9%A6%E7%94%BB%E5%A4%A7%E8%B5%9B/us-kf.png" show-menu-by-longpress="{{true}}" mode="aspectFit" />
  </view>
</scroll-view>