<view>

 <view wx:if='{{!isLogin}}' class='beforeLoginview' bindtap='btnClick' id='{{idBLV}}'>
    <view><image src='../../img/common_header_boy.png' class='headerImg'></image></view>
    <view class='menuText2' style='width:auto;' wx:if="{{canIUse}}"><button open-type="getUserInfo" bindgetuserinfo="bindGetUserInfo" style='height:60rpx;text-align:center;font-size:25rpx;margin:30rpx 0 0 10rpx;' bindtap='btnClick' id='{{idWxlogin}}'>微信授权登录</button></view>
    <view wx:else>请升级微信版本</view>
  </view>
  
<view wx:if='{{isLogin}}'class='headerView' >
  <view class='newHeaderView'>
    <view wx:if='{{headerImg.length == 0 || headerImg == null}}'><image class='headerImg' src='{{wxHeader}}' bindtap='btnClick' id='{{idHeader}}' > </image></view> 
    <view wx:else><image class='headerImg' src='{{headerImg}}'> </image></view> 
    <view class='loginname'>{{wxNickname}}</view>
    <view wx:if='{{!isregistered}}'  class='loginname' style='text-decoration:underline;' bindtap='btnClick' id='{{idgoBind}}'> 关联手机(企业信息)</view>
    </view>

    <view class='headerdata commonHview'  wx:if='{{isLogin}}'>
            <view style='width:50%;'>
                <view class='h_data_left' wx:if='{{curmonth_points>0}}'>本月当前积分: <text class='h_data_right' >{{curmonth_points}}</text></view>
                 <view class='h_data_left'  wx:else>本月当前积分: <text class='h_data_right1' style='color:#FF0000;'>{{curmonth_points}}</text></view>
                <view class='h_data_left'>本月当前排名: <text class='h_data_right'>{{curmonth_rank}}</text></view>
            </view>
            <view style='width:50%;'>
               <view class='h_data_left'>上月积分：<text class='h_data_right'>{{lastmonth_points}}</text></view>
                <view class='h_data_left'>上月排名：<text class='h_data_right'>{{lastmonth_rank}}</text></view> 
            </view>
        </view>
  </view>
   
 
    <view style='height:32rpx;width:100%;background-color:#F2F2F2;'></view>

<view class='commonHview'  >
    <view class='menuhview' bindtap='btnClick' id='{{idMyInfo}}'>
    <view class='menuText1' >个人资料</view>
    </view>
    <view style='width:5%;' ><image class='nextImg' src='../../img/next.png'> </image></view>
  </view>
 <view class='commonhline' style='height:3rpx;'></view>

<view class='commonHview'  >
    <view class='menuhview' bindtap='btnClick' id='{{idCompanyInfo}}'>
    <view class='menuText1' >企业信息</view>
    </view>
    <view style='width:5%;' ><image class='nextImg' src='../../img/next.png'> </image></view>
  </view>
 <view class='commonhline' style='height:3rpx;'></view>

 <view class='commonHview'  >
    <view class='menuhview' bindtap='btnClick' id='{{idAbout}}'>
    <view class='menuText1' >关于</view>
    </view>
    <view style='width:5%;' ><image class='nextImg' src='../../img/next.png'> </image></view>
  </view>
 <view class='commonhline' style='height:3rpx;'></view>

<view class='commonHview'  >
    <view class='menuhview' bindtap='btnClick' id='{{idTypeRank}}'>
    <view class='menuText1' >类别排名</view>
    </view>
    <view style='width:5%;' ><image class='nextImg' src='../../img/next.png'> </image></view>
  </view>
 <view class='commonhline' style='height:3rpx;'></view>
</view>