<!--pages/person/person.wxml-->
<!-- <wxs src="../../app.wxs" module='tool' />
<view class="container safe-area-bottom">

  <view class="userinfo">
    <view class="avatar" bindtap="toUserinfo">
      <image src="{{userinfo.avatar||'/images/icon/avatar.png'}}" class="avatar-pic"></image>
      <image src="/images/icon/setting.png" class="setting"></image>
    </view>
    <view class="name">{{userinfo.name || ''}}</view>
    <view class="sign">
      {{userinfo.authenticationStatus===0?'未认证':userinfo.authenticationStatus===1?"已认证":"认证不通过"}}
    </view>
  </view>


  <view class="cell-grounp">
    <navigator class="cell" url="/pages/my-apply/my-apply" hover-class="none">
      <view class="content">
        <image class="cell-pic" src="/images/icon/apply.png"></image>
        <text>我的报名</text>
      </view>
      <image src="/images/icon/right.png" class="right"></image>
    </navigator>
    <navigator class="cell" url="/pages/my-order/my-order" hover-class="none">
      <view class="content">
        <image class="cell-pic" src="/images/icon/order.png"></image>
        <text>我的订单</text>
      </view>
      <image src="/images/icon/right.png" class="right"></image>
    </navigator>
  </view>

  <view class="cell-grounp">
    <navigator class="cell" url="/pages/payment-records/payment-records" hover-class="none">
      <view class="content">
        <image class="cell-pic" src="/images/icon/money.png"></image>
        <text>收款记录</text>
      </view>
      <image src="/images/icon/right.png" class="right"></image>
    </navigator>
    <navigator class="cell" url="/pages/tax-certificate/tax-certificate" hover-class="none">
      <view class="content">
        <image class="cell-pic" src="/images/icon/tax.png"></image>
        <text>完税证明</text>
      </view>
      <image src="/images/icon/right.png" class="right"></image>
    </navigator>
  </view>

  <view class="cell-grounp">
    <navigator class="cell" url="/pages/common-setting/common-setting" hover-class="none">
      <view class="content">
        <image class="cell-pic" src="/images/icon/common-setting.png"></image>
        <text>更多</text>
      </view>
      <image src="/images/icon/right.png" class="right"></image>
    </navigator>
  </view>
  <view class="quit" bindtap="quit">
    退出登录
  </view>
</view> -->

<view class="container">

	<view class="user-info" bindtap="toUserinfo">
		<view class="info">
			<view class="avatar">
				<image src="{{userInfo.avatar}}" wx:if="{{userInfo.avatar}}"></image>
				<image src="/images/icon/avatar.png" wx:else></image>
			</view>
			<view class="info-detail">
				<view class="name" wx:if="{{userInfo.name}}">{{userInfo.name}}</view>
				<view wx:else class="name">
					<open-data type="userNickName"></open-data>
				</view>
				<view class="sign {{userInfo.authenticationStatus !==1&&'no-sign'}}">
					<image src="{{userInfo.authenticationStatus===1?'../../imgs/sigin.png':'../../imgs/no-sigin.png'}}"></image>
					<view>{{userInfo.authenticationStatus===0?'未认证':userInfo.authenticationStatus===1?"已认证":"认证不通过"}}</view>
				</view>
			</view>
		</view>
		<image src="/images/icon/right.png" class="right"></image>
	</view>

	<view class="group-list">
		<navigator class="group-item" url="/pages/payment-records/payment-records" hover-class="none">
			<view class="group-item-content">
				<image src="../../imgs/records.png"></image>
				<text>收款记录</text>
			</view>
			<image src="/images/icon/right.png" class="right"></image>
		</navigator>
		<navigator class="group-item" url="/pages/tax-certificate/tax-certificate" hover-class="none">
			<view class="group-item-content">
				<image src="../../imgs/tax.png"></image>
				<text>完税证明</text>
			</view>
			<image src="/images/icon/right.png" class="right"></image>
		</navigator>
		<view class="group-item" bindtap="toWebView" wx:if="{{taxName}}">
			<view class="group-item-content">
				<image src="../../imgs/tax-registration.png"></image>
				<text class="tax-name">{{taxName}}</text>
			</view>
			<image src="/images/icon/right.png" class="right"></image>
		</view>
	</view>
	<view class="group-list">
		<navigator class="group-item" url="/pages/common-setting/common-setting" hover-class="none">
			<view class="group-item-content">
				<image src="../../imgs/more.png"></image>
				<text>更多</text>
			</view>
			<image src="/images/icon/right.png" class="right"></image>
		</navigator>
	</view>

</view>

<!-- <view class="tab-bar"></view> -->