accountFlow.vue 1.8 KB
<template>
	<view class="">
		<image  class="bg" src="/static/takeMoneyBg.png" mode=""></image>
		<view class="top">
			<view >账户余额:</view>
			<view > <text style="32rpx">¥</text> 600.00</view>
		</view>
		<scroll-view scroll-y="true" class="center">
			<view class="item flexA" v-for="item in 50">
				<view class="left">
					<view class="">缴纳平台保证金</view>
					<view class="">2022.06.12 17:00</view>
				</view>
				<view class="right">
					<view class="">+¥100</view>
				</view>
			</view>
			
		</scroll-view >
	</view>
</template>

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

<style lang="less">
	page {
		background: #f6f6f6;
	}
	.bg {
		overflow: hidden;
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 366rpx;
	}
	.top {
		position: absolute;
		left: 32rpx;
		top: 64rpx;
		view:nth-child(1) {
			 color: rgba(0,0,0,0.4);
			 font-size: 28rpx;
		}
		view:nth-child(2) {
			 color: rgba(0,0,0,0.9);
			 font-size: 64rpx;
			 font-weight: 700;
		}
	}
.center {
		position: absolute;
		width: 100%;
		left: 50%;
		top: 220rpx;
		height: calc(100vh - 220rpx);
		border-radius: 24rpx;
		padding: 40rpx 30rpx;
		transform: translateX(-50%);
		background: #fff;
		box-sizing: border-box; 
		.item {
			justify-content: space-between;
			height: 144rpx;
			border-bottom: 1px solid rgba(238,239,240,1);;
			.left {
				view:nth-child(1){
					 color: rgba(50,50,51,1);
					 font-size: 28rpx;
					 margin-bottom: 8rpx;
				}
				view:nth-child(2){
					 color: rgba(200,201,204,1);
					 font-size: 24rpx;
				}
			}
			.right {
				 color: rgba(230,61,39,1);
				 font-size: 28rpx;
				 font-weight: 500;
			}
		}
	}
</style>