<view class="detailed">
	<van-tabs active="{{ selected }}" bind:change="swichTabTItem">
		<van-tab title="全部">
			<view wx:if="{{recordsList && recordsListLength > 0}}">
				<view wx:for="{{recordsList}}" wx:for-item="value" wx:for-index="key"  wx:key="key">
					<view class="a" wx:for-item="item" wx:for="{{value}}"  wx:key="index" catchtap="godetails" data-item="{{item}}">
						<view class="tbs">
							<view class="item2 ul">
								<view class="li">{{ item.service_type_name }}</view>
								<view class="li">{{ balanceLang }}：{{ item.new_money }}</view>
								<view class="item1 li">{{ item.created_at }}</view>
							</view>
							<view class="item3" wx:if="{{item.type == 1}}">
								<view class="span add">+{{ item.change_money }}</view>
							</view>
							<view class="item3" wx:if="{{item.type == 2}}">
								<view class="span reduce">{{ item.change_money }}</view>
							</view>
						</view>
					</view>
				</view>
			</view>
			<view wx:else class="textNone">没有记录</view>
		</van-tab>
		<van-tab title="收入">
			<view wx:if="{{recordsList && recordsListLength > 0}}">
				<view wx:for="{{recordsList}}" wx:for-item="value" wx:for-index="key"  wx:key="key">
					<view class="a" wx:for-item="item" wx:for="{{value}}"  wx:key="index" catchtap="godetails" data-item="{{item}}">
						<view class="tbs">
							<view class="ul item2">
								<view class="li">{{ item.service_type_name }}</view>
								<view class="li">{{ balanceLang }}：{{ item.new_money }}</view>
								<view class="li item1">{{ item.created_at }}</view>
							</view>
							<view class="item3">
								<view class="span add">+{{ item.change_money }}</view>
							</view>
						</view>
					</view>
				</view>
			</view>
			<view wx:else class="textNone">没有记录</view>
		</van-tab>
		<van-tab title="支出">
			<view wx:if="{{recordsList && recordsListLength > 0}}">
				<view wx:for="{{recordsList}}" wx:for-item="value" wx:for-index="key"  wx:key="key">
					<view class="a" wx:for-item="item" wx:for="{{value}}"  wx:key="index" catchtap="godetails" data-item="{{item}}">
						<view class="tbs">
							<view class="item2">
								<view class="li">{{ item.service_type_name }}</view>
								<view class="li">{{ balanceLang }}：{{ item.new_money }}</view>
								<view class="li item1">{{ item.created_at }}</view>
							</view>
							<view class="item3">
								<view class="span reduce">{{ item.change_money }}</view>
							</view>
						</view>
					</view>
				</view>
			</view>
			<view wx:else class="textNone">没有记录</view>
		</van-tab>
	</van-tabs>
</view>
