<!--pages/my/my.wxml-->
<view class='banner_box' wx:if='{{auth!=0}}'>
  <view class='banner_info_box'>
    <image class='head_img' src='{{userInfo.avatar||"/images/weirenzheng@2x.png"}}'></image>
    <view class='banner_right' wx:if="{{userInfo}}">
      <view class='banner_info' wx:if="{{userInfo.company_name}}">
        <text>认证企业:{{userInfo.company_name}}</text>
        <image src='/images/guangfang@2x.png'></image>
      </view>
      <view class='banner_label'>
        <image src='/images/ren@2x.png'></image>
        <text>{{userInfo.username}}</text>
      </view>
    </view>
    <view wx:else  class='banner_label'>授权登录</view>
  </view>
</view>
<!--  -->
<view class='content_box' hidden='{{auth!=2}}'>
  <view class='item_list' bindtap='TB' bindtap="btn_post">
    <view class='list_icon'>
      <text class='iconfont icon-wodetiezi'></text>
    </view>
    <view class='list_item_box'>
      <view >我的帖子</view>
      <view class='iconfont icon-go'></view>
    </view>
  </view>
  <view class='item_list' bindtap='vipCharge' bindtap="btn_attention">
    <view class='list_icon'>
      <text class='iconfont icon-xing'></text>
    </view>
    <view class='list_item_box'>
      <view>我的关注</view>
      <text class='iconfont icon-go'></text>
    </view>
  </view>
  <view class='item_list' bindtap='reportList' bindtap='btn_like'>
    <view class='list_icon'>
      <text class='iconfont icon-zan21'></text>
    </view>
    <view class='list_item_box'>
      <view>我的点赞</view>
      <view class='iconfont icon-go'></view>
    </view>
  </view>
  <view class='item_list' bindtap='reportList' bindtap='btn_comment'>
    <view class='list_icon'>
      <text class='iconfont icon-pinglun1'></text>
    </view>
    <view class='list_item_box'>
      <view>我的评论</view>
      <view class='iconfont icon-go'></view>
    </view>
  </view>
  <view class='item_list' bindtap='articlList' bindtap='btn_inform'>
    <view class='list_icon'>
      <text class='iconfont icon-tongzhi'></text>
    </view>
    <view class='list_item_box'>
      <view>发文通知</view>
      <view class='list_icon2'>
        <view class='list_point'>1</view>
        <view class='iconfont icon-go'></view>
      </view>
    </view>
  </view>
</view>
<view class='null_data_box' hidden='{{auth==2}}'>
  <view class='data_box'>
    <image src='/images/weirenzheng@2x.png'></image>
    <view class='list_btn' bindtap='open_btn' data-type='{{auth}}' bindtap='renzheng'>{{auth=='0'?'开通企业认证 >':auth=='1'?'企业认证中 请等待':""}}</view>
    <view wx:if='{{auth=="0"}}'> ~~ 企业认证后开启更多服务 ~~</view>
  </view>
</view>