<template>
	<view>
		<view class="card" v-for="(item,index) in 6" :key="index">
			<view class="left">
				<text>充值成功</text>
				<text>2021-07-05 14:35:20</text>
			</view>
			
			<view class="right">
				<text style="color: #30C87F;">查看发票</text>
				<text class="text-price">600000</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
	.card{
		margin: 20rpx 0;
		background-color: #FFFFFF;
		padding: 30rpx;
		display: flex;
		justify-content: space-between;
		
		.left{
			display: flex;
			flex-direction: column;
			
			text:first-child{
				font-weight: 800;
				margin-bottom: 20rpx;
				font-size: 32rpx;
				color: #353535;
			}
			
			text:last-child{
				font-size: 26rpx;
				color: #888888;
			}
		}
		
		.right{
			display: flex;
			flex-direction: column;
			
			text:first-child{
				text-align: end;
				margin-bottom: 20rpx;
				font-size: 24rpx;
			}
			
			text:last-child{
				font-size: 40rpx;
				color: #353535;
			}
		}
	}
</style>
