<van-tabs active="{{ selected }}" bind:change="swichTabTItem">
	<van-tab title="今日">
		<block wx:if="{{todayList&&todayList.length>0}}">
			<view class="transaction_content" wx:for="{{todayList}}" wx:key="index">
				<view class="transactioninformation">
					<view class="transaction_left">
						<view class="transaction_top">交易总数量</view>
						<view class="transaction_bottom">{{total}}</view>
					</view>
					<view class="line"></view>
					<view class="transaction_right">
						<view class="transaction_top">消费金额</view>
						<view class="transaction_bottom">{{total_price}}</view>
					</view>
				</view>
				<view class="transaction_list">
					<view class="li">
						<view class="li_left">
							<view class="order_number">序号{{index+1}}</view>
							<view class="user_name">{{item.member_name}}</view>
							<view class="date">{{item.create_time}}</view>
						</view>
						<view class="li_right">
							<view class="income">{{item.price}}</view>
							<view class="source">{{item.pay_type_name}}</view>
						</view>
					</view>
				</view>
			</view>
		</block>
		<block wx:else>
			<view class="loading">
				<view class="content">
					<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png" mode='widthFix' />
				</view>
			</view>
		</block>
	</van-tab>
	<van-tab title="昨日">
		<block wx:if="{{yesterdayList&&yesterdayList.length>0}}">
			<view class="transaction_content" wx:for="{{yesterdayList}}" wx:key="index">
				<view class="transactioninformation">
					<view class="transaction_left">
						<view class="transaction_top">交易总数量</view>
						<view class="transaction_bottom">{{total}}</view>
					</view>
					<view class="line"></view>
					<view class="transaction_right">
						<view class="transaction_top">消费金额</view>
						<view class="transaction_bottom">{{total_price}}</view>
					</view>
				</view>
				<view class="transaction_list">
					<view class="li">
						<view class="li_left">
							<view class="order_number">序号{{index+1}}</view>
							<view class="user_name">{{item.member_name}}</view>
							<view class="date">{{item.create_time}}</view>
						</view>
						<view class="li_right">
							<view class="income">{{item.price}}</view>
							<view class="source">{{item.pay_type_name}}</view>
						</view>
					</view>
				</view>
			</view>
		</block>
		<block wx:else>
			<view class="loading">
				<view class="content">
					<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png" mode='widthFix' />
				</view>
			</view>
		</block>
	</van-tab>
	<van-tab title="上月">
		<block wx:if="{{lastMonthList&&lastMonthList.length>0}}">
			<view class="transaction_content" wx:for="{{lastMonthList}}" wx:key="index">
				<view class="transactioninformation">
					<view class="transaction_left">
						<view class="transaction_top">交易总数量</view>
						<view class="transaction_bottom">{{total}}</view>
					</view>
					<view class="line"></view>
					<view class="transaction_right">
						<view class="transaction_top">消费金额</view>
						<view class="transaction_bottom">{{total_price}}</view>
					</view>
				</view>
				<view class="transaction_list">
					<view class="li">
						<view class="li_left">
							<view class="order_number">序号{{index+1}}</view>
							<view class="user_name">{{item.member_name}}</view>
							<view class="date">{{item.create_time}}</view>
						</view>
						<view class="li_right">
							<view class="income">{{item.price}}</view>
							<view class="source">{{item.pay_type_name}}</view>
						</view>
					</view>
				</view>
			</view>
		</block>
		<block wx:else>
			<view class="loading">
				<view class="content">
					<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png" mode='widthFix' />
				</view>
			</view>
		</block>
	</van-tab>
	<van-tab title="本月">
		<block wx:if="{{monthList&&monthList.length>0}}">
			<view class="transaction_content" wx:for="{{monthList}}" wx:key="index">
				<view class="transactioninformation">
					<view class="transaction_left">
						<view class="transaction_top">交易总数量</view>
						<view class="transaction_bottom">{{total}}</view>
					</view>
					<view class="line"></view>
					<view class="transaction_right">
						<view class="transaction_top">消费金额</view>
						<view class="transaction_bottom">{{total_price}}</view>
					</view>
				</view>
				<view class="transaction_list">
					<view class="li">
						<view class="li_left">
							<view class="order_number">序号{{index+1}}</view>
							<view class="user_name">{{item.member_name}}</view>
							<view class="date">{{item.create_time}}</view>
						</view>
						<view class="li_right">
							<view class="income">{{item.price}}</view>
							<view class="source">{{item.pay_type_name}}</view>
						</view>
					</view>
				</view>
			</view>
		</block>
		<block wx:else>
			<view class="loading">
				<view class="content">
					<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png" mode='widthFix' />
				</view>
			</view>
		</block>
	</van-tab>
</van-tabs>
