<!--packageH/newRetail/newRetailIndex.wxml-->
<view id="newRetail-index">
    <view class="top-member-box">
      <image class="member-acator" src="{{info.avatar}}" alt="" />
      <view class="member-info">
        <view class="member-name">{{ info.nickname }}</view>
        <view class="member-grade" wx:if="{{info.level_name}}">{{ info.level_name }}</view>
      </view>
    </view>

    <view class="income-box" catchtap="gotoUrl" data-tag="0">
      <view class="income-num">累计收益：￥{{ info.money }}</view>
      <icon class="iconfont icon-member_right"></icon>
    </view>

    <view class="main-box">
      <view class="main-nav" catchtap="gotoUrl" data-tag="1">
        <view class="nav-icon">
          <icon class="iconfont icon-fontclass-daili"></icon>
        </view>
        <view>代理套餐</view>
      </view>
      <view class="main-nav" catchtap="gotoUrl" data-tag="2">
        <view class="nav-icon">
          <icon class="iconfont icon-fontclass-jinhuo"></icon>
        </view>
        <view>自主进货</view>
      </view>
      <view class="main-nav" catchtap="gotoUrl" data-tag="3">
        <view class="nav-icon">
          <icon class="iconfont icon-fontclass-kucun1"></icon>
        </view>
        <view>我的库存</view>
      </view>
      <view class="main-nav" catchtap="gotoUrl" data-tag="4">
        <view class="nav-icon">
          <icon class="iconfont icon-fontclass-jilu"></icon>
        </view>
        <view>销售记录</view>
      </view>
      <view class="main-nav" catchtap="gotoUrl" data-tag="5">
        <view class="nav-icon">
          <icon class="iconfont icon-fontclass-guanli"></icon>
        </view>
        <view>订单管理</view>
      </view>
    </view>

    <goodlist class="goods-list" goodsList="{{goodsList}}" mode="{{1}}"></goodlist>
  </view>
