<view id="my_money">
	<view class="today_bonus ul" wx:if="{{orderType ==='store'}}">
		<view wx:for="{{ratioDatas}}" wx:key='index' class="li {{item.name}}">
			<view class="span">{{item.money}}</view>
			<!-- <br> -->
			<view class="b">{{item.data}}</view>
		</view>
		<view class="line li">
			<view class="careat"></view>
		</view>
	</view>
	<!-- <van-tabs active="{{selected}}" swipe-threshold="{{5}}" bind:change="swichTabTItem">
		<van-tab title="全部" wx:if="{{orderType !=='store'}}"></van-tab>
		<van-tab title="全部" wx:if="{{orderType ==='store'}}"></van-tab>
		<van-tab title="{{orderType !=='store'?'申请中':'未结算'}}"></van-tab>
		<van-tab title="{{orderType !=='store'?'待打款':'已结算'}}"></van-tab>
		<van-tab title="已打款" wx:if="{{}}"></van-tab>
	</van-tabs> -->
	<van-tabs active="{{selected}}" swipe-threshold="{{5}}" bind:change="swichTabTItem">
		<van-tab title="全部">
			<block wx:if="{{orderType !=='store'}}">
				<view wx:if="{{orderType ==='supplier'}}">
					<block wx:if="{{all.length>0}}">
						<view wx:for="{{all}}" wx:for-index="modelidx" wx:for-item="model">
							<view class="tbs">
								<view class="item2 ul">
									<view class="li">{{model.apply_sn}}</view>
									<view class="li">{{model.created_at}}</view>
								</view>
								<view class="item3">
									<view class="red span">￥{{model.apply_money}}</view>
									<view class="p" wx:if="{{orderType ==='supplier'}}">{{model.status_obj.name}}</view>
								</view>
							</view>
						</view>
					</block>
					<block wx:else>
						<view class="nomessage">
							没有更多了
						</view>
					</block>
				</view>
				<view wx:if="{{orderType ==='extension'}}">
					<block wx:if="{{all.length>0}}">
						<view class="a" wx:for-index="modelidx" wx:for-item="model" wx:for="{{all}}" data-recordid="{{model.id}}" catchtap="gopresentationDetails">
							<view class="tbs">
								<view class="ul item2">
									<view class="li">{{model.type_name}}</view>
									<view class="li">￥{{model.amounts}}</view>
								</view>
								<view class="item3">
									<view class="span red">{{model.status_name}}</view>
									<view class="p">{{model.created_at}}</view>
								</view>
							</view>
						</view>
					</block>
					<block wx:else>
						<view class="nomessage">
							没有更多了
						</view>
					</block>
				</view>
				<view wx:if="{{orderType ==='store'}}">
					<block wx:if="{{all.length>0}}">
						<view wx:for="{{all}}" wx:for-index="modelidx" wx:for-item="model">
							<view class="tbs">
								<view class="ul item2">
									<view class="li">订单号：{{model.order_sn}}</view>
									<view class="li">{{model.created_at}}</view>
								</view>
								<view class="item3">
									<view class="span red">提成+{{model.amount}}</view>
									<view class="p">{{model.settlement}}</view>
								</view>
							</view>
						</view>
					</block>
					<block wx:else>
						<view class="nomessage">
							没有更多了
						</view>
					</block>
				</view>
			</block>
			<block wx:if="{{orderType =='store'}}">
				<block wx:if="{{all.length>0}}">
					<view wx:for="{{all}}" wx:for-index="modelidx" wx:for-item="model">
						<view class="tbs">
							<view class="ul item2">
								<view class="li">订单号：{{model.order_sn}}</view>
								<view class="li">{{model.created_at}}</view>
							</view>
							<view class="item3">
								<view class="span red">提成+{{model.amount}}</view>
								<view class="p">{{model.settlement}}</view>
							</view>
						</view>
					</view>
				</block>
				<block wx:else>
					<view class="nomessage">
						没有更多了
					</view>
				</block>
			</block>
		</van-tab>
		<van-tab title="{{orderType !=='store'?'申请中':'未结算'}}">
			<block wx:if="{{orderType ==='supplier'}}">
				<block wx:if="{{review.length>0}}">
					<view wx:for="{{review}}" wx:for-index="modelidx" wx:for-item="model">
						<view class="tbs">
							<view class="item2 ul">
								<view class="li">{{model.apply_sn}}</view>
								<view class="li">{{model.created_at}}</view>
							</view>
							<view class="item3">
								<view class="red span">￥{{model.apply_money}}</view>
								<view class="p" wx:if="{{orderType ==='supplier'}}">{{model.status_obj.name}}</view>
							</view>
						</view>
					</view>
				</block>
				<block wx:else>
					<view class="nomessage">
						没有更多了
					</view>
				</block>
			</block>
			<block wx:if="{{orderType ==='extension'}}">
				<block wx:if="{{review.length>0}}">
					<view class="a" wx:for="{{review}}" wx:for-index="modelidx" wx:for-item="model" data-recordid="{{model.id}}" catchtap="gopresentationDetails">
						<view class="tbs">
							<view class="ul item2">
								<view class="li">{{model.type_name}}</view>
								<view class="li">￥{{model.amounts}}</view>
							</view>
							<view class="item3">
								<view class="span red">{{model.status_name}}</view>
								<view class="p">{{model.created_at}}</view>
							</view>
						</view>
					</view>
				</block>
				<block wx:else>
					<view class="nomessage">
						没有更多了
					</view>
				</block>
			</block>
			<block wx:if="{{orderType ==='store'}}">
				<block wx:if="{{review.length>0}}">
					<view wx:for="{{review}}" wx:for-index="modelidx" wx:for-item="model">
						<view class="tbs">
							<view class="ul item2">
								<view class="li">订单号：{{model.order_sn}}</view>
								<view class="li">{{model.created_at}}</view>
							</view>
							<view class="item3">
								<view class="span red">提成+{{model.amount}}</view>
								<view class="p">{{model.settlement}}</view>
							</view>
						</view>
					</view>
				</block>
				<block wx:else>
					<view class="nomessage">
						没有更多了
					</view>
				</block>
			</block>
		</van-tab>
		<van-tab title="{{orderType !=='store'?'待打款':'已结算'}}">
			<block wx:if="{{orderType ==='supplier'}}">
				<block wx:if="{{waitPay.length>0}}">
					<view wx:for="{{waitPay}}" wx:for-index="modelidx" wx:for-item="model">
						<view class="tbs">
							<view class="item2 ul">
								<view class="li">{{model.apply_sn}}</view>
								<view class="li">{{model.created_at}}</view>
							</view>
							<view class="item3">
								<view class="red span">￥{{model.apply_money}}</view>
								<view class="p" wx:if="{{orderType ==='supplier'}}">{{model.status_obj.name}}</view>
							</view>
						</view>
					</view>
				</block>
				<block wx:else>
					<view class="nomessage">
						没有更多了
					</view>
				</block>
			</block>
			<block wx:if="{{orderType ==='extension'}}">
				<block wx:if="{{waitPay.length>0}}">
					<view class="a" wx:for-index="modelidx" wx:for-item="model" wx:for="{{waitPay}}" data-recordid="{{model.id}}" catchtap="gopresentationDetails">
						<view class="tbs">
							<view class="ul item2">
								<view class="li">{{model.type_name}}</view>
								<view class="li">￥{{model.amounts}}</view>
							</view>
							<view class="item3">
								<view class="span red">{{model.status_name}}</view>
								<view class="p">{{model.created_at}}</view>
							</view>
						</view>
					</view>
				</block>
				<block wx:else>
					<view class="nomessage">
						没有更多了
					</view>
				</block>
			</block>
			<block wx:if="{{orderType ==='store'}}">
				<block wx:if="{{waitPay.length>0}}">
					<view wx:for="{{waitPay}}" wx:for-index="modelidx" wx:for-item="model">
						<view class="tbs">
							<view class="ul item2">
								<view class="li">订单号：{{model.order_sn}}</view>
								<view class="li">{{model.created_at}}</view>
							</view>
							<view class="item3">
								<view class="span red">提成+{{model.amount}}</view>
								<view class="p">{{model.settlement}}</view>
							</view>
						</view>
					</view>
				</block>
				<block wx:else>
					<view class="nomessage">
						没有更多了
					</view>
				</block>
			</block>
		</van-tab>
		<van-tab title="已打款" wx:if="{{orderType !=='store'}}">
			<block wx:if="{{orderType ==='supplier'}}">
				<block wx:if="{{pay.length>0}}">
					<view wx:for="{{pay}}" wx:for-index="modelidx" wx:for-item="model">
						<view class="tbs">
							<view class="item2 ul">
								<view class="li">{{model.apply_sn}}</view>
								<view class="li">{{model.created_at}}</view>
							</view>
							<view class="item3">
								<view class="red span">￥{{model.apply_money}}</view>
								<view class="p" wx:if="{{orderType ==='supplier'}}">{{model.status_obj.name}}</view>
							</view>
						</view>
					</view>
				</block>
				<block wx:else>
					<view class="nomessage">
						没有更多了
					</view>
				</block>
			</block>
			<block wx:if="{{orderType ==='extension'}}">
				<block wx:if="{{pay.length>0}}">
					<view class="a" wx:for-index="modelidx" wx:for-item="model" wx:for="{{pay}}" data-recordid="{{model.id}}" catchtap="gopresentationDetails">
						<view class="tbs">
							<view class="ul item2">
								<view class="li">{{model.type_name}}</view>
								<view class="li">￥{{model.amounts}}</view>
							</view>
							<view class="item3">
								<view class="span red">{{model.status_name}}</view>
								<view class="p">{{model.created_at}}</view>
							</view>
						</view>
					</view>
				</block>
				<block wx:else>
					<view class="nomessage">
						没有更多了
					</view>
				</block>
			</block>
			<block wx:if="{{orderType ==='store'}}">
				<block wx:if="{{pay.length>0}}">
					<view wx:for="{{pay}}" wx:for-index="modelidx" wx:for-item="model">
						<view class="tbs">
							<view class="ul item2">
								<view class="li">订单号：{{model.order_sn}}</view>
								<view class="li">{{model.created_at}}</view>
							</view>
							<view class="item3">
								<view class="span red">提成+{{model.amount}}</view>
								<view class="p">{{model.settlement}}</view>
							</view>
						</view>
					</view>
				</block>
				<block wx:else>
					<view class="nomessage">
						没有更多了
					</view>
				</block>
			</block>
		</van-tab>
		<van-tab title="{{orderType =='supplier'?'驳回':'已失效'}}">
			<block wx:if="{{orderType ==='supplier'}}">
				<block wx:if="{{invalid.length>0}}">
					<view wx:for="{{invalid}}" wx:for-index="modelidx" wx:for-item="model">
						<view class="tbs">
							<view class="item2 ul">
								<view class="li">{{model.apply_sn}}</view>
								<view class="li">{{model.created_at}}</view>
							</view>
							<view class="item3">
								<view class="red span">￥{{model.apply_money}}</view>
								<view class="p" wx:if="{{orderType ==='supplier'}}">{{model.status_obj.name}}</view>
							</view>
						</view>
					</view>
				</block>
				<block wx:else>
					<view class="nomessage">
						没有更多了
					</view>
				</block>
			</block>
			<block wx:if="{{orderType ==='extension'}}">
				<block wx:if="{{invalid.length>0}}">
					<view class="a" wx:for-index="modelidx" wx:for-item="model" wx:for="{{invalid}}" data-recordid="{{model.id}}" catchtap="gopresentationDetails">
						<view class="tbs">
							<view class="ul item2">
								<view class="li">{{model.type_name}}</view>
								<view class="li">￥{{model.amounts}}</view>
							</view>
							<view class="item3">
								<view class="span red">{{model.status_name}}</view>
								<view class="p">{{model.created_at}}</view>
							</view>
						</view>
					</view>
				</block>
				<block wx:else>
					<view class="nomessage">
						没有更多了
					</view>
				</block>
			</block>
			<block wx:if="{{orderType ==='store'}}">
				<block wx:if="{{invalid.length>0}}">
					<view wx:for="{{invalid}}" wx:for-index="modelidx" wx:for-item="model">
						<view class="tbs">
							<view class="ul item2">
								<view class="li">订单号：{{model.order_sn}}</view>
								<view class="li">{{model.created_at}}</view>
							</view>
							<view class="item3">
								<view class="span red">提成+{{model.amount}}</view>
								<view class="p">{{model.settlement}}</view>
							</view>
						</view>
					</view>
				</block>
				<block wx:else>
					<view class="nomessage">
						没有更多了
					</view>
				</block>
			</block>
		</van-tab>
	</van-tabs>
</view>