<view class="inquiry">
	<view class="inquiry_top">
		<view class="user">
			<view class="left">
				<image src="{{avatar}}" mode='aspectFill' />
			</view>
			<view class="right">
				{{ nickname }}
			</view>
		</view>
		<view class="accumulative_total">
			累计活动数：{{ total_activity }}
		</view>
		<view class="cumulative_income">
			<view class="income_num">累计收入<text>{{language['money']}}{{total_income}}</text></view>
			<view class="income_list">
				<view class="li" catchtap="gotoCommision" data-num="{{1}}">
					<view class="top">
						<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/distribution_queue/fx_pre_money@2x.png" mode='aspectFill' />
					</view>
					<view class="center">预计佣金</view>
					<view class="bottom">{{estimate_amount}}{{language['元']}}</view>
				</view>
				<view class="li" catchtap="gotoCommision" data-num="{{2}}">
					<view class="top">
						<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/distribution_queue/fx_willget_money@2x.png" mode='aspectFill' />
					</view>
					<view class="center">未结算佣金</view>
					<view class="bottom">{{unsettlement_amount}}{{language['元']}}</view>
				</view>
				<view class="li" catchtap="gotoCommision" data-num="{{3}}">
					<view class="top">
						<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/distribution_queue/fx_haveget_money@2x.png" mode='aspectFill' />
					</view>
					<view class="center">已结算佣金</view>
					<view class="bottom">{{settlement_amount}}{{language['元']}}</view>
				</view>
				<view class="li" catchtap="gotoCommision" data-num="{{4}}">
					<view class="top">
						<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/distribution_queue/fx_will_money@2x.png" mode='aspectFill' />
					</view>
					<view class="center">未提现佣金</view>
					<view class="bottom">{{nowithdraw_amount}}{{language['元']}}</view>
				</view>
				<view class="li" catchtap="gotoCommision" data-num="{{5}}">
					<view class="top">
						<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/distribution_queue/fx_have_money@2x.png" mode='aspectFill' />
					</view>
					<view class="center">已提现佣金</view>
					<view class="bottom">{{withdraw_amount}}{{language['元']}}</view>
				</view>
				<view class="li" catchtap="gotoCommision" data-num="{{6}}">
					<view class="top">
						<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/distribution_queue/fx_miss_money@2x.png" mode='aspectFill' />
					</view>
					<view class="center">失效佣金</view>
					<view class="bottom">{{failure_amount}}元</view>
				</view>
			</view>
		</view>
	</view>
	<view class="inquiry_bottom">
		<van-tabs active="{{ active }}" border="{{false}}" bind:change="handleClick">
			<van-tab title="全部">
				<view class="activity_list">
					<view class="li" wx:for="{{activity_list}}" wx:key="index">
						<view class="top">
							<view class="left">序号：{{ item.activity.id }}</view>
							<view class="right">{{item.status_name}}</view>
						</view>
						<view class="center">
							<view class="left">
								<image src="{{item.activity.cover}}" mode='aspectFill' />
							</view>
							<view class="right">
								{{item.activity.title}}
							</view>
						</view>
						<view class="bottom">
							<view class="btn" catchtap="gotoOrder" data-id="{{item.activity.id}}">订单详情</view>
							<view class="btn" catchtap="gotoParticipant" data-id="{{item.activity.id}}">参与人</view>
						</view>
					</view>
				</view>
			</van-tab>
			<van-tab title="活动中">
				<view class="activity_list">
					<view class="li" wx:for="{{activity_list}}" wx:key="index">
						<view class="top">
							<view class="left">序号：{{ item.activity.id }}</view>
							<view class="right">{{item.status_name}}</view>
						</view>
						<view class="center">
							<view class="left">
								<image src="{{item.activity.cover}}" mode='aspectFill' />
							</view>
							<view class="right">
								{{item.activity.title}}
							</view>
						</view>
						<view class="bottom">
							<view class="btn" catchtap="gotoOrder" data-id="{{item.activity.id}}">订单详情</view>
							<view class="btn" catchtap="gotoParticipant" data-id="{{item.activity.id}}">参与人</view>
						</view>
					</view>
				</view>
			</van-tab>
			<van-tab title="已完成">
				<view class="activity_list">
					<view class="li" wx:for="{{activity_list}}" wx:key="index">
						<view class="top">
							<view class="left">序号：{{ item.activity.id }}</view>
							<view class="right">{{item.status_name}}</view>
						</view>
						<view class="center">
							<view class="left">
								<image src="{{item.activity.cover}}" mode='aspectFill' />
							</view>
							<view class="right">
								{{item.activity.title}}
							</view>
						</view>
						<view class="bottom">
							<view class="btn" catchtap="gotoOrder" data-id="{{item.activity.id}}">订单详情</view>
							<view class="btn" catchtap="gotoParticipant" data-id="{{item.activity.id}}">参与人</view>
						</view>
					</view>
				</view>
			</van-tab>
			<van-tab title="失败">
				<view class="activity_list">
					<view class="li" wx:for="{{activity_list}}" wx:key="index">
						<view class="top">
							<view class="left">序号：{{ item.activity.id }}</view>
							<view class="right">{{item.status_name}}</view>
						</view>
						<view class="center">
							<view class="left">
								<image src="{{item.activity.cover}}" mode='aspectFill' />
							</view>
							<view class="right">
								{{item.activity.title}}
							</view>
						</view>
						<view class="bottom">
							<view class="btn" catchtap="gotoOrder" data-id="{{item.activity.id}}">订单详情</view>
							<view class="btn" catchtap="gotoParticipant" data-id="{{item.activity.id}}">参与人</view>
						</view>
					</view>
				</view>
			</van-tab>
		</van-tabs>
	</view>
</view>
