<view>
	<view class="search" wx:if="{{uids.length > 0}}">
		<view class="backcontent">
			<view class="back">
				<view class="up" catchtap="upToTop">
					<icon class="iconfont icon-top_place"></icon>
					<view class="span">最上级</view>
				</view>
				<view class="up" catchtap="goback">
					<icon class="iconfont icon-left_place"></icon>
					<view class="span">上一级</view>
				</view>
			</view>
		</view>
		<view class="left left_1">
			<view class="searchBox">
				<view class="img-icon">
					<view class="img-icon-btn"></view>
				</view>
				<van-field value="{{ inputs }}" placeholder="搜索ID" border="{{ false }}" bind:blur="inpbtn" clearable bind:clear="inpbtnclear" />
			</view>
		</view>
		<view class="right">
			<view class="search_bth" catchtap="gotoSearch">
				<view class="span">搜索</view>
			</view>
		</view>
	</view>
	<view class="search" wx:if="{{uids.length === 0}}">
		<view class="left">
			<view class="searchBox">
				<view class="img-icon">
					<view class="img-icon-btn"></view>
				</view>
				<van-field value="{{ inputs }}" placeholder="搜索ID" border="{{ false }}" bind:blur="inpbtn" clearable bind:clear="inpbtnclear" />
			</view>
		</view>
		<view class="right">
			<view class="search_bth" catchtap="gotoSearch">
				<view class="span">搜索</view>
			</view>
		</view>
	</view>
	<view class="content">
		<view class="top" wx:if="{{memberInfo.first}}" catchtap="toNext" data-uid="{{memberInfo.first.uid}}">
			<view class="p title"> {{ memberInfo.first.nickname }}（ID{{ memberInfo.first.uid }}）</view>
			<view class="p title">{{ memberInfo.first.agentLevel }}</view>
			<view class="p flex-box">
				<view class="span">分销订单数</view>
				<view class="span">{{ memberInfo.first.allorder }}</view>
			</view>
			<view class="p flex-box">
				<view class="span">分销订单业绩</view>
				<view class="span">{{ memberInfo.first.allprice }}{{language['元']}}</view>
			</view>
			<view class="p flex-box">
				<view class="span">团队人数</view>
				<view class="span">{{ memberInfo.first.agentNum }}人</view>
			</view>
			<view class="p flex-box">
				<view class="span">团队分销订单业绩</view>
				<view class="span">{{ memberInfo.first.teamOrderPrice }}{{language['元']}}</view>
			</view>
		</view>
		<view class="middle" wx:if="{{memberInfo.oneLevelOne}}" catchtap="toNext" data-uid="{{memberInfo.oneLevelOne.uid}}">
			<view class="second">
				<view class="p title"> {{ memberInfo.oneLevelOne.nickname }}（ID{{ memberInfo.oneLevelOne.uid }}）</view>
				<view class="p title">{{ memberInfo.oneLevelOne.agentLevel }}</view>
				<view class="p flex-box">
					<view class="span">分销订单数</view>
					<view class="span">{{ memberInfo.oneLevelOne.allorder }}</view>
				</view>
				<view class="p flex-box">
					<view class="span">分销订单额</view>
					<view class="span">{{ memberInfo.oneLevelOne.allprice }}{{language['元']}}</view>
				</view>
				<view class="p flex-box">
					<view class="span">团队人数</view>
					<view class="span">{{ memberInfo.oneLevelOne.agentNum }}人</view>
				</view>
				<view class="p flex-box">
					<view class="span">团队分销订单额</view>
					<view class="span">{{ memberInfo.oneLevelOne.teamOrderPrice }}{{language['元']}}</view>
				</view>
			</view>
			<view class="second" wx:if="{{memberInfo.oneLevelTwo}}" catchtap="toNext" data-uid="{{memberInfo.oneLevelTwo.uid}}">
				<view class="p title">{{ memberInfo.oneLevelTwo.nickname }}
					（ID{{ memberInfo.oneLevelTwo.uid }}）</view>
				<view class="p title">{{ memberInfo.oneLevelTwo.agentLevel }}</view>
				<view class="p flex-box">
					<view class="span">分销订单数</view>
					<view class="span">{{ memberInfo.oneLevelTwo.allorder }}</view>
				</view>
				<view class="p flex-box">
					<view class="span">分销订单额</view>
					<view class="span">{{ memberInfo.oneLevelTwo.allprice }}{{language['元']}}</view>
				</view>
				<view class="p flex-box">
					<view class="span">团队人数</view>
					<view class="span">{{ memberInfo.oneLevelTwo.agentNum }}人</view>
				</view>
				<view class="p flex-box">
					<view class="span">团队分销订单额</view>
					<view class="span">{{ memberInfo.oneLevelTwo.teamOrderPrice }}{{language['元']}}</view>
				</view>
			</view>
		</view>
		<view class="down">
			<view class="four" wx:if="{{memberInfo.twoLevelOne}}" data-uid="{{memberInfo.twoLevelOne.uid}}" catchtap="toNext">
				<view class="p">{{ memberInfo.twoLevelOne.nickname }}</view>
				<view class="p">ID{{ memberInfo.twoLevelOne.uid }}</view>
				<view class="p">{{ memberInfo.twoLevelOne.agentLevel }}</view>
				<view class="p">团队人数</view>
				<view class="p">{{ memberInfo.twoLevelOne.agentNum }}人</view>
			</view>
			<view class="four" wx:if="{{memberInfo.twoLevelTwo}}" data-uid="{{memberInfo.twoLevelTwo.uid}}" catchtap="toNext">
				<view class="p">{{ memberInfo.twoLevelTwo.nickname }}</view>
				<view class="p">ID{{ memberInfo.twoLevelTwo.uid }}</view>
				<view class="p">{{ memberInfo.twoLevelTwo.agentLevel }}</view>
				<view class="p">团队人数</view>
				<view class="p">{{ memberInfo.twoLevelTwo.agentNum }}人</view>
			</view>
			<view class="four" wx:if="{{memberInfo.twoLevelThree}}" data-uid="{{memberInfo.twoLevelThree.uid}}" catchtap="toNext">
				<view class="p">{{ memberInfo.twoLevelThree.nickname }}</view>
				<view class="p">ID{{ memberInfo.twoLevelThree.uid }}</view>
				<view class="p">{{ memberInfo.twoLevelThree.agentLevel }}</view>
				<view class="p">团队人数</view>
				<view class="p">{{ memberInfo.twoLevelThree.agentNum }}人</view>
			</view>
			<view class="four" wx:if="{{memberInfo.twoLevelFour}}" data-uid="{{memberInfo.twoLevelFour.uid}}" catchtap="toNext">
				<view class="p">{{ memberInfo.twoLevelFour.nickname }}</view>
				<view class="p">ID{{ memberInfo.twoLevelFour.uid }}</view>
				<view class="p">{{ memberInfo.twoLevelFour.agentLevel }}</view>
				<view class="p">团队人数</view>
				<view class="p">{{ memberInfo.twoLevelFour.agentNum }}人</view>
			</view>
		</view>
	</view>
</view>
<!-- <shopfoot></shopfoot> -->
