<template>
	<view>
		<u-navbar title="充电"></u-navbar>
		<view class="recharge">
			<view class="title">请选择充电金额</view>
			<p>当前余额￥10.00</p>
			<view class="rechargeMain">
				<view class="recharge-item" v-for="(item,index) in moneyList" :key="item.id">{{item.name}}</view>
			</view>
			<p>其他充电模式</p>
			<view class="self-stop">
				充满自停
			</view>
 


		</view>
	<view class="but-box">
		<u-button shape="circle">开始充电</u-button>
	</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
				moneyList: [{
						id: '1',
						name: '5'
					},
					{
						id: '2',
						name: '10'
					},
					{
						id: '3',
						name: '20'
					},
					{
						id: '4',
						name: '50'
					},
					{
						id: '5',
						name: '100'
					},
					{
						id: '6',
						name: '其他充值金额'
					},
				],


			}
		},

	}
</script>
<style>
	page {
		background-color: #fff;
	}
</style>

<style lang="scss" scoped>
	/deep/.u-radio-group {
		width: 100%;
	}

	/deep/.u-radio {
		position: relative;
	}

	/deep/.u-radio__icon-wrap {
		position: absolute;
		right: 0;
	}

	.recharge-item:last-child {
		font-size: 14px !important;
		color: #999999;
	}

	.recharge {
		padding: 16px;

		.title {
			font-size: 16px;
		}

		p {
			color: #666;
			margin-top: 4px;
		}

		.rechargeMain {
			display: flex;
			flex-wrap: wrap;
			justify-content: space-between;
			margin-top: 12px;
			margin-bottom: 20px;

			.recharge-item {
				width: 31%;
				border: 1px solid #e3e3e3;
				padding: 15px 0;
				border-radius: 4px;
				text-align: center;
				margin-bottom: 10px;
				font-size: 16px;
			}

			.active {
				background-color: #EFFFF7;
				border-color: #00B962;
				color: #00B962;
			}
		}

		.self-stop {
			width: 105px;
			height: 48px;
			line-height: 48px;
			border-radius: 4px;
			color: #101010;
			font-size: 16px;
			text-align: center;
			font-family: Arial;
			border: 1px solid rgba(227, 227, 227, 100);
			margin-top: 12px;
		}
	}

	.recharge-input {
		margin-top: 8px;
		margin-bottom: 32px;
	}

	.recharge-radio {
		margin-top: 10px;

		.recharge-radio-item {
			display: flex;
			align-items: center;
		}

		.recharge-radio-name {
			margin-left: 8px;
		}
	}
	.but-box{
		width: 335px;
		height: 44px;
		margin: 0 auto;
		.u-size-default[data-v-3bf2dba7]{
			background-color: rgba(0, 185, 98, 100);
			color: rgba(255, 255, 255, 100);
			font-size: 16px;
			text-align: center;
		}
	}
	
</style>
