<template>
	<view class="content">
		<view class="top">
			<view class="logo">
				<image src="../../static/usdt/logo.png" mode=""></image>
			</view>
			<view class="money">
				{{money}}
			</view>
			<view class="duihuan">
				<view class="usdt">
					USDT互转
				</view>
				<view class="jifen">
					转换积分
				</view>
			</view>
		</view>
		<view class="record">
			<view class="title">
				充提记录
			</view>
			<view class="item" v-for="item in recordList">
				
				<view class="box">
					<view class="img">
						<image src="../../static/usdt/money.png" mode=""></image>
					</view>
					<view class="status">
						{{item.status}}
					</view>
					<view class="time">
						{{item.time}}
					</view>
				</view>
				<view class="record-money">
					{{item.recordMoney}}
				</view>
			</view>
		</view>
		<view class="button">
			<view class="chongbi">
				充币
			</view>
			<view class="tibi">
				提币
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				money: 666.666,
				recordList: [{
						time: "2021-1-1 11:11:11",
						status: '充币',
						recordMoney: 7777
					},
					{
						time: "2021-1-1 11:11:11",
						status: '提币',
						recordMoney: 7777
					},
					{
						time: "2021-1-1 11:11:11",
						status: '充币',
						recordMoney: 7777
					},
					{
						time: "2021-1-1 11:11:11",
						status: '充币',
						recordMoney: 7777
					},
					
					{
						time: "2021-1-1 11:11:11",
						status: '充币',
						recordMoney: 7777
					},
					
					{
						time: "2021-1-1 11:11:11",
						status: '充币',
						recordMoney: 7777
					},
					{
						time: "2021-1-1 11:11:11",
						status: '充币',
						recordMoney: 7777
					},
					
					{
						time: "2021-1-1 11:11:11",
						status: '充币',
						recordMoney: 7777
					},
					
					{
						time: "2021-1-1 11:11:11",
						status: '充币',
						recordMoney: 7777
					},
					
					{
						time: "2021-1-1 11:11:11",
						status: '充币',
						recordMoney: 7777
					}
				]
			}
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	page,
	.content {
		height: 100%;
		margin: 0;
		padding: 0;
		background: #FFFFFF;
	}

	.top {

		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		width: 100%;
		height: 360rpx;
	}

	.logo {
		width: 120rpx;
		height: 120rpx;

		image {
			width: 100%;
			height: 100%;
		}
	}

	.money {
		font-size: 35rpx;
		font-family: PingFang SC;
		font-weight: 500;
		color: #333333;
		line-height: 55rpx;

	}

	.duihuan {
		position: absolute;
		right: 0;
		top: 64rpx;

		.usdt {
			margin-bottom: 10rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			width: 147rpx;
			height: 50rpx;
			background: linear-gradient(90deg, #44BFEC, #438BED);
			border-radius: 7rpx 0rpx 0rpx 7rpx;
			font-size: 22rpx;
			font-family: PingFang SC;
			font-weight: bold;
			color: #FFFFFF;
		}

		.jifen {
			display: flex;
			align-items: center;
			justify-content: center;
			font-size: 22rpx;
			font-family: PingFang SC;
			font-weight: bold;
			color: #FFFFFF;
			width: 147rpx;
			height: 50rpx;
			background: linear-gradient(90deg, #FFE138, #FFB238);
			border-radius: 7rpx 0rpx 0rpx 7rpx;
		}
	}

	.record {
		display: flex;
		flex-direction: column;
		align-items: center;

		.title {
			width: 100%;
			text-align: left;
			padding: 0 0 20rpx 30rpx;
			font-size: 30rpx;
			font-family: PingFang SC;
			font-weight: bold;
			color: #333333;
			line-height: 55rpx;
		}
		
		.item {
			margin: 10rpx 0;
			width: 690rpx;
			height: 120rpx;
			background: #FFFFFF;
			box-shadow: 0rpx 4rpx 10rpx 0rpx rgba(0, 0, 0, 0.12);
			border-radius: 10rpx;
			align-items: center;
			display: flex;
			justify-content: space-between;

			.box {
				display: flex;
				align-items: center;
				.img {
					margin: 0 40rpx;
					width: 39rpx;
					height: 43rpx;
				
					image {
						width: 100%;
						height: 100%;
					}
				}
				.status {
					font-size: 30rpx;
					font-family: Microsoft YaHei;
					font-weight: 400;
					color: #333333;
					line-height: 27rpx;
					margin-right: 16rpx;
				}
			
				.time {
					font-size: 24rpx;
					font-family: Microsoft YaHei;
					font-weight: 400;
					color: #999999;
					line-height: 27rpx;
				}
			}

			.record-money {
				margin-right:40rpx ;
				font-size: 36rpx;
				font-family: Microsoft YaHei;
				font-weight: 400;
				color: #FB3A2F;
				line-height: 24rpx;
			}
		}
	}
	.button{
		display: flex;
		position: fixed;;
		bottom: 0;
		
		width: 100%;
		height: 96rpx;
		.chongbi{
			text-align: center;
			line-height: 96rpx;
			font-size: 34rpx;
			font-family: PingFang SC;
			font-weight: bold;
			color: #FFFFFF;
			width: 50%;
			height: 96rpx;
			background: #FFB238;
		}
		.tibi{
			text-align: center;
			line-height: 96rpx;
			font-size: 34rpx;
			font-family: PingFang SC;
			font-weight: bold;
			color: #FFFFFF;
			width: 50%;
			height: 96rpx;
			background: #438BED;
		}
	}
</style>
