accountDetails.vue 1.8 KB
<template>
	<view class="page">
		<view class="box">
			<view class="item">
				<view class="title">2019年12月
					<image src="../../static/more.png" mode="widthFix" class="more" />
				</view>
				<view class="xitem">
					<view class="top">
						<text>购物消费</text>
						<text>-20.00</text>
					</view>
					<view class="num">
						<text>2019.10.10 9:50</text>
						<text>余额 3362.68</text>
					</view>
				</view>
				<view class="xitem">
					<view class="top">
						<text>账户充值</text>
						<text>-20.00</text>
					</view>
					<view class="num">
						<text>2019.10.10 9:50</text>
						<text>余额 3362.68</text>
					</view>
				</view>
				<view class="xitem">
					<view class="top">
						<text>账户转入</text>
						<text>-20.00</text>
					</view>
					<view class="num">
						<text>2019.10.10 9:50</text>
						<text>余额 3362.68</text>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style>
	page {
		background: #F7F7F7;
	}

	.box {
		padding: 0 32rpx;
		box-sizing: border-box;
		background: #fff;
		margin-top: 16rpx;
	}

	.title {
		height: 92rpx;
		display: flex;
		align-items: center;
		border-bottom: 1px solid #EEEEEE;
	}

	.more {
		width: 32rpx;
		margin-left: 12rpx;
	}

	.xitem {
		height: 128rpx;
		border-bottom: 1px solid #EEEEEE;
		overflow: hidden;
	}

	.top,
	.num {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.top {
		margin-top: 20rpx;
		font-size: 32rpx;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		color: rgba(35, 35, 35, 1);
	}

	.top text:last-child {
		color: #FF9417;
	}

	.num {
		margin-top: 10rpx;
		font-size: 24rpx;
		font-family: PingFangSC-Medium, PingFang SC;
		font-weight: 500;
		color: rgba(187, 194, 203, 1);
	}
</style>