<template>
	<view class="page-box-bg-fff m-t20 r-30 p-30 finance_content">
		<StatisticsTitle :genre="0" :leftText="'财务汇总明细'" :rightText="'全部'" @onHandle="onHandle"></StatisticsTitle>
		<view class="row-justify-c m-b25">
			<view class="subsection">
				<uv-subsection :list="list" :bgColor="'#DBE8DB'":activeColor="'#0FB160'" :inactiveColor="'#121212'" :fontSize="14"
					custom-style="height: 70rpx;border-radius: 30rpx;" custom-item-style="border-radius: 30rpx;"
					:current="current" @change="onChange"></uv-subsection>
			</view>
		</view>
		<view class="">
			<view class="sys-from-background-color row-justify-sb center m-b16 r-20 p-20 finance_item"
				v-for="(item,index) in 3" :key="index">
				<view class="row-c">
					<image class="wh-60" src="/static/img/index/index-avatar.png" mode=""></image>
					<view class="column m-l16">
						<text class="size-28 text-color-12 sys-weight-400">张三</text>
						<text class="size-24 text-color-8F9 sys-weight-400">2024.12.14 12:45</text>
					</view>
				</view>
				<text class="size-28 text-color-12 sys-weight-600">200万</text>
			</view>
		</view>
	</view>
</template>

<script>
	import StatisticsTitle from "@/common/statistics/statistics_title.vue";

	export default {
		name: 'peak_chart',
		components: {
			StatisticsTitle
		},
		data() {
			return {
				current: 0,
				list: ['放款', '回款']
			};
		},
		methods: {
			onChange(e) {
				this.current = e
			}
		}
	}
</script>

<style lang="scss" scoped>
	.finance_content {
		// min-height: 600rpx;
	}

	.subsection {
		width: 350rpx;
	}

	.finance_item:last-child {
		margin-bottom: 0;
	}
</style>