<view id="allowanceAchievement">
    <view class="topbox"></view>
    <view class="contenbox">
        <view class="contenLeft">
            <view class="contenLeft_top">{{ avatarInfo.amounts }}</view>
            <view class="contenLeft_bottom">团队业绩</view>
        </view>
        <view class="line"></view>
        <view class="contenRight">
            <view class="contenLeft_top" catchtap="goteam">{{ avatarInfo.team_nums }}<view class="span">人</view>
            </view>
            <view class="contenLeft_bottom">团队人数</view>
        </view>
    </view>
    <view class="listBox">
        <view class="lis_box" wx:for="{{list}}" wx:key="index">
            <view class="lis" bindtap="tapGetMoreGood" data-item='{{item}}' data-index="{{index}}">
                <view class="img" wx:if="{{item.belongs_to_member}}">
                    <image src="{{item.belongs_to_member.avatar_image}}"></image>
                </view>
                <view class="no_listData">
                    <view class="listData">
                        <view class="listTop">
                            <view class="name">{{ item.belongs_to_member.nickname }}</view>
                            <view class="order">订单号：{{ item.order_sn }}</view>
                        </view>
                        <view class="listBottom">
                            <view class="grade">{{ item.belongs_to_agency.has_one_level.name }}</view>
                        </view>
                        <view class="listBottom_right">
                            <view class="order">
                                订单金额：<view class="price">￥{{ item.amounts }}</view>
                            </view>
                            <view class="date">{{ item.created_at }}</view>
                        </view>
                    </view>
                    <view class="selectBtn {{item.goodsShow ? 'iconRever' : ''}}" catchtap="tapGetMoreGood" data-item="{{item}}" data-index="{{index}}">
                        <i class="iconfont icon-member-left" wx:if="{{!item.goodsShow}}"></i>
                        <i class="iconfont icon-member-left" wx:if="{{item.goodsShow}}"></i>
                    </view>
                </view>
            </view>
            <view class="seleBox {{item.moreShow?'':'moreGoodsSHow'}}" wx:if="{{item.goodsShow}}">
                <view class="seleBoxList" wx:for="{{item.order_goods}}" wx:for-item="itemK" wx:key="{{ind}}" wx:key-index='ind'>
                    <view class="goodImg">
                        <image src="{{itemK.thumb}}"></image>
                    </view>
                    <view class="seleList">
                        <view class="title">{{ itemK.title }}</view>
                        <view class="price">
                            订单金额：<view class="num span">{{ itemK.payment_amount }}</view>
                        </view>
                    </view>
                </view>
                <view class="moreGoods" wx:if="{{item.order_goods.length > 2 && !item.moreShow}}" catchtap="showGoodTap" data-item="{{item}}" data-ind="{{index}}">
                    查看更多
                    <i class="iconfont icon-member-bottom"></i>
                </view>
            </view>
        </view>
    </view>
</view>