transferDetails.vue 1.4 KB
<template>
	<view class="page">
		<view class="box">
			<view class="tipsword">转账详情</view>
			<view class="money">¥{{money}}</view>
			<view class="peopleBox">
				<text>收款人</text>
				<image class="avator" :src="userinfo.avatar" mode="widthFix" />
				<view class="ename">{{userinfo.nickname}}</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				userinfo:'',
				money:''
			}
		},
		onLoad(options) {
			console.log(options)
			this.userinfo=JSON.parse(options.userinfo);
			this.money=options.money;
		},
		methods: {
			
			
		}
	}
</script>

<style>
	page{
		background: #F7F7F7;
	}
	.box{
		background: #fff;
		padding: 32rpx 32rpx 0;
		box-sizing: border-box;
	}
	.tipsword{
		font-size:32rpx;
		font-family:PingFangHK-Regular,PingFangHK;
		font-weight:400;
		color:rgba(8,18,31,1);
		text-align: center;
		margin-top: 60rpx;
	}
	.money{
		font-size:72rpx;
		font-family:PingFangHK-Medium,PingFangHK;
		font-weight:500;
		color:rgba(194,148,69,1);
		line-height:100rpx;
		text-align: center;
		padding-bottom: 40rpx;
		border-bottom: 1px solid #EAEAEA;
	}
	.peopleBox{
		height: 152rpx;
		display: flex;
		align-items: center;
		font-size:32rpx;
		font-family:PingFangHK-Regular,PingFangHK;
		font-weight:400;
		color:rgba(8,18,31,1);
	}
	.peopleBox image{
		width: 72rpx;
		margin-left: 40rpx;
		margin-right: 20rpx;
	}
	.avator{
		border-radius: 50%;
	}
</style>