<!--downline.wxml-->
<view class="user_info" >
  <view class="avatar">
    <image src="{{infoList.avatarurl}}"></image>
  </view>
  <view class="user_desc">
    <view class="user_name">{{infoList.nickname}}</view>
    <view class="withdraw">
      <view class="withdraw_btn" data-attr="content">Join time：{{infoList.endtime}}</view>
    </view>
  </view>
</view>

<view class="btn_group">
  <view class="btn_row">
    <navigator url="./distribution/distribution?share_money={{userInfo.share_money}}" hover-class="none" class="btn_item">
      <view class="btn_icon iconfont icon-newbimoney"></view>
      <view class="btn_name">Commission</view>
       <!-- <view class="btn_text">{{userMoney.share_finish?userMoney.share_finish:'0.00'}}元</view>  -->
      <view class="btn_text">¥ {{infoList.share_money}}</view> 
    </navigator>
    <navigator url="./detail/detail?user_id={{userData.uid}}" hover-class="none" class="btn_item">
      <view class="btn_icon iconfont icon-yishoucang"></view>
      <!-- <view class="btn_name">Cash withdrawal details</view> -->
      <view class="btn_name">Commission</view>
      <view class="btn_text">withdrawal details</view>
    </navigator>
    <navigator url="./branch/branch?user_id={{userData.uid}}" hover-class="none" class="btn_item">
      <view class="btn_icon iconfont icon-ruzhu"></view>
      <view class="btn_name">my team</view>
      <!-- <view class="btn_text">{{downlineCount?downlineCount:'0'}}个成员</view> -->
      <view class="btn_text">{{infoList.member_count}}members</view>
    </navigator>
    <!-- <navigator url="./orderList/orderList?user_id={{userData.uid}}" hover-class="none" class="btn_item">
      <view class="btn_icon iconfont icon-allorder"></view>
      <view class="btn_name">分销订单</view>
      <view class="btn_text">{{orderCount?orderCount:'0'}}个订单</view>
    </navigator> -->
  </view>
  <view class="btn_row">
    
    <!-- <view hover-class="none" class="btn_item" bindtap="showQRCode">
      <view class="btn_icon iconfont icon-yifabulous"></view>
      <view class="btn_name">二维码</view>
      <view class="btn_text">推广二维码</view>
    </view> -->
  </view>
</view>

<view class="box" >
  <view class="main_title" style='border-top:2rpx solid #eee;'>How to make money for distribution</view>
  <view class="row">
    <view class="title">first</view>
    <view class="content">Forward goods or applets to WeChat friends;</view>
  </view>
  <view class="row">
    <view class="title">second</view>
    <view class="content">The friends who enter from the goods or applets you forward, the system will automatically lock into your customers, they can get the distribution commission when they purchase any goods in the applet;</view>
  </view>
  <view class="row">
    <view class="title">third</view>
    <view class="content">You can view [My Team] and [Distribution Order] in the distribution center. After the friend confirms the receipt, the commission can be withdrawn.</view>
  </view>
  <view class="tips">Note: After forwarding, the system will automatically record. After your friend accesses, the system will automatically detect and record the customer relationship. If your friend has been pre-emptively developed by someone else or has visited a small program before you forward it, he will not be your customer, whichever comes first.
</view>
</view>