<!-- packageH/stock/_page_components/header/header.wxml -->
<view class="header">
  <view class="member-info">
    <image src="{{ data.avatar }}" class="member-avatar" />
    <view class="member-details">
      <view class="member-nickname">{{ data.nickname||data.uid }}</view>
      <view class="member-level">{{ data.level }}</view>
    </view>
  </view>
  <view class="member-income" bind:tap="enterPromotionCenter">
    累计收益 ￥ {{ data.total_award }}
    <view class="member-income_view-icon iconfont icon-member_right" wx:if="{{ openPromotionCenterEntry }}"></view>
  </view>
</view>