<template>
	<div>
		<div class="finance-item flex">
			<div class="dot-container">
				<div class="dot"></div>
			</div>
			<div>
				<div class="title">{{ item.date || '' }}</div>
				<div class="content-text">{{ item.info || '' }}</div>
			</div>
		</div>
		<div class="diver-line"></div>
	</div>
</template>

<script>
export default {
	props: {
		item: {
			type: Object,
			default: () => {
				return {}
			}
		},
	},
	data() {
		return {
		}
	},
}
</script>

<style scoped lang="scss">
.diver-line {
	border-top: 2px solid #E2E8F0;
}
.finance-item {
	padding-top: 20px;
	padding-bottom: 20px;
	cursor: pointer;
	&:active {
		opacity: 0.8;
	}
	.dot-container {
		padding-right: 20px;
		.dot {
			width: 8px;
			height: 8px;
			border-radius: 50%;
			background: #7B61FF;
			margin-top: 8px;
		}
	}
	.title {
		color: #aebadee6;
		font-family: 'Poppins-Medium';
		margin-bottom: 12px;
	}
	.content-text {
		color: #64748B;
		font-family: 'Poppins-Medium';
		font-size: 20px;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}
</style>
