<view class='page-container-classname' ref='saveChildRef0'>
  <view class='top-area'>
    <image src='../../static/component_images/wave.png' class='wave'>
    </image>
    <view style='height: {{titleBarHeight}}px; width: 100%;margin-top: {{statusBarHeight}}px; padding-left: 40rpx; line-height: {{titleBarHeight}}px'>
      基本信息
    </view>
    <view class='avator-area'>
      <view a:if='{{userInfo && userInfo.avatar}}' class='avator'>
        <image
          src='{{userInfo.avatar}}'
          data-src='{{userInfo.avatar}}'
          onTap='antmoveAction'
          data-antmove-tap='preview'
        >
        </image>
      </view>
      <view a:else class='avator'>
        <image src='../../static/comment/avator_no.png'>
        </image>
      </view>
      <view a:if='{{userInfo}}' class='name'>
        <text>
          {{userInfo.username}}
        </text>
        <text class='type'>
          {{adminInfo?'常客':'访客'}}
        </text>
      </view>
      <view a:if='{{!userInfo}}' class='name-no'>
        <text>
          {{international.Now[language]}}
        </text>
      </view>
    </view>
    <view a:if='{{userInfo}}' class='msg-area'>
      <view>
        <text>
          {{international.Phone[language]}}
        </text>
        <text>
          {{userInfo.phone}}
        </text>
      </view>
      <view>
        <text>
          {{international.idNumber[language]}}
        </text>
        <text>
          {{userInfo.idNumber}}
        </text>
      </view>
    </view>
    <view a:else class='msg-area'>
      <btn onTap='antmoveAction' data-antmove-tap='Certification'>
        {{international.Certification[language]}}
      </btn>
    </view>
  </view>
  <view class='bottom-area'>
    <view class='title'>
      我的功能
    </view>
    <view class='component-area'>
      <view
        a:for='{{component_list}}'
        a:if='{{!(item.id==2&&!adminInfo.adminId)&&!(item.id==1&&!adminInfo.adminId)}}'
        class='component'
        data-id='{{item.id}}'
        a:key='{{id}}'
        ref-numbers='{{component_list}}'
        onTap='antmoveAction'
        data-antmove-tap='goto'
      >
        <image src='{{item.icon}}'>
        </image>
        <text>
          {{language=='ch'?item.name_ch:item.name_en}}
        </text>
      </view>
    </view>
  </view>
</view>