<!--pages/my/my.wxml-->
<view class='my_head'>
  <image src='https://volunteer.cnpu.org/imgs/gerenzhongxin_bg@2x.png'></image>
  <view class='my_headitem'>
    <view class='my_headitemimg'>
      <image src='{{datalist.avatar}}'></image>
    </view>
    <view class='word'>{{datalist.user_nickname}}</view>
    <view class='word'>已完成的工时: {{datalist.work_time}}h</view>
    <view class='star_box'>
      <image src="/imgs/xingxing_xuanzhong_icon@2x.png" mode='scaleToFill' wx:if='{{datalist.level>0}}'></image>
      <image src="/imgs/xingxing_xuanzhong_icon@2x.png" mode='scaleToFill' wx:if='{{datalist.level>1}}'></image>
      <image src="/imgs/xingxing_xuanzhong_icon@2x.png" mode='scaleToFill' wx:if='{{datalist.level>2}}'></image>
      <image src="/imgs/xingxing_xuanzhong_icon@2x.png" mode='scaleToFill' wx:if='{{datalist.level>3}}'></image>
      <image src="/imgs/xingxing_xuanzhong_icon@2x.png" mode='scaleToFill' wx:if='{{datalist.level>4}}'></image>
    </view>
  </view>
</view>
<view class='my_itembox'>
  <navigator class='my_item' url='/pages/apply/apply?id={{datalist.id}}&is_submit={{datalist.is_submit}}' hover-class="none">
    <view class='my_itemletf'>
      <view class='iconfont icon-aixin'></view>成为志愿者
    </view>
    <view class='iconfont icon-xiangyou'></view>
  </navigator>
  <navigator class='my_item' url='/pages/result/result' hover-class="none">
    <view class='my_itemletf'>
      <view class='iconfont icon-chakanshenqing'></view>查看审核状态
    </view>
    <view class='iconfont icon-xiangyou'></view>
  </navigator>
  <navigator class='my_item' url='/pages/img_txt/img_txt' hover-class="none" url='/pages/img_txt/img_txt?status=3'>
    <view class='my_itemletf'>
      <view class='iconfont icon-lianximaijia'></view>联系我们
    </view>
    <view class='iconfont icon-xiangyou'></view>
  </navigator>
  <navigator class='my_item' url='/pages/img_txt/img_txt' hover-class="none" url='/pages/img_txt/img_txt?status=2'>
    <view class='my_itemletf'>
      <view class='iconfont icon-renyuanxiaozu'></view>关于我们
    </view>
    <view class='iconfont icon-xiangyou'></view>
  </navigator>
  <navigator class='my_item' url='/pages/my/my_active/my_active' hover-class="none">
    <view class='my_itemletf'>
      <image src='/imgs/activity-close-open@2x.png' mode='widthFix'></image>参与过的活动
    </view>
    <view class='iconfont icon-xiangyou'></view>
  </navigator>
  <view class='my_item' bindtap='goamdin' wx:if='{{datalist.type=="2"}}'>
    <view class='my_itemletf'>
      <view class='iconfont icon-gongzhang'></view>管理员审核
    </view>
    <view class='iconfont icon-xiangyou'></view>
  </view>
</view>