<template>
	<view class="credit-card-box">
		 <view class="card-left">
		     <text class="credit-span">{{item.credit}}</text>
		     <text>分</text>
		 </view>
		 <view class="card-right">
		     <view class="right-name">{{item.targetName}}</p>
		     <view class="right-time">{{item.createTime}}</span>
		 </view>
	</view>
</template>

<script setup>
	import {toRefs,ref,computed} from "vue";

	const props = defineProps({
		data: {
			type: Object,
		},
	});
	const {data} = toRefs(props);
	
</script>
