recharge.vue 1.7 KB
<template>
	<view>
		<view class="topLine"></view>
		<view class="rechargeWrap">
			<view class="recTxt">
				充值金额
			</view>
			<view class="recInp">
				<view class="recDol">¥</view><input type="number" value="" placeholder="请输入充值金额"/>
			</view>
		</view>
		<view class="bottomBtnWrap">
			<view class="bottomBtn">
				下一步
			</view>
		</view>
		<view class="bottomCheckBox">
			<image v-if="!agreeStatus" @click="agreeStatus = !agreeStatus" src="../../../static/image/wallet/Rectangle_2319@2x.png" mode=""></image>
			<image v-if="agreeStatus" @click="agreeStatus = !agreeStatus" src="../../../static/image/wallet/Group_582@2x.png" mode=""></image>
			同意<text>《找地主钱包用户协议》</text>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				agreeStatus:false
			}
		}
	}
</script>

<style lang="scss" scoped>
	.topLine{height: 2rpx;background: rgba(25,24,51,0.06);}
	.rechargeWrap{
		background: #fff;
		padding: 32rpx 32rpx 75rpx;
		.recTxt{
			font-size: 28rpx;
		}
		.recInp{
			padding: 36rpx 0 20rpx 0;
			display: flex;
			border-bottom: 2rpx solid #f2f3f5;
			input{margin-left: 10rpx;font-size: 64rpx;}
			.recDol{
				display: flex;
				align-items: flex-end;
				padding-bottom: 10rpx;
			}
		}
	}
	.bottomBtnWrap{
		padding: 64rpx 32rpx 0;
		.bottomBtn{
			font-size: 32rpx;
			width: 686rpx;
			height: 88rpx;
			background: #35655f;
			border-radius: 92rpx;
			text-align: center;
			line-height: 88rpx;
			color: #fff;
		}
	}
	.bottomCheckBox{
		padding-top: 32rpx;
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 28rpx;
		image{width: 28rpx;height: 28rpx;margin-right: 10rpx;}
		text{color: #4a8b94;}
		bottom: 38rpx;
	}
</style>