<template>
	<view class="page">
		<!-- 明细组件，根据传值确定展示的数据 -->
		<MoneyDetail :withBool='true' v-for="(item,index) in moneyDetail" :itemInfo="item" :key="index" />
		<!-- 明细组件，根据传值确定展示的数据 -->
	</view>
</template>

<script>
	import MoneyDetail from "../mineComponent/moneyDetail/index.vue"
	export default {
		components: {
			MoneyDetail
		},
		data() {
			return {
				//保证金提现明细数据
				moneyDetail: [{
						name: '充值',
						time: '2024-1-1 09:34:31',
						money: '+400',
						auditingStatus: 0
					},
					{
						name: '提现',
						time: '2024-1-1 09:34:31',
						money: '-400',
						auditingStatus: 1
					},
					{
						name: '充值',
						time: '2024-1-1 09:34:31',
						money: '+400',
						auditingStatus: 2
					},
				]
			}
		},
		methods: {

		},
		mounted() {
			uni.setBackgroundColor({
				backgroundColor: '#ffffff'
			})
		}
	}
</script>

<style lang="scss" scoped>
	.page {
		background-color: #fff;
		width: 92vw;
		height: 100vh;
		padding: 0 32rpx;
	}
</style>