<template>
	<view>
		<u-navbar :custom-back="btnback" title="余额提现" :border-bottom="false" :background="bgc" title-color='#000' back-icon-color="#000"
			title-size='36' height='50'></u-navbar>
			<image src="https://api.ccttiot.com/smartmeter/img/static/ubc5U4uFnwbrbJZCbkfT" class="imgbj" mode=""></image>
		<view class="cont">
			<view class="top_box">
				<view class="tip">账户余额(元)</view>
				<view class="txt">
					￥1256
				</view>
				<view class="tip" style="display: flex;justify-content: space-between;">
					<text>累计提现：￥2356</text>
				</view>
			</view>
			<view class="tit">
				<view class="" style="display: flex;">
					<view class="tit_line" style="margin-top: 4rpx;"></view>
					余额提现
				</view>
			</view>
			<view class="input_box">
				<view class="yuan"> 
					￥
				</view>
				<view class="ipt">
					<u-input v-model="money" type="number" @input="change" placeholder='输入自定义金额'
						placeholder-style='font-size: 24rpx;' />
				</view>
				<view class="altx">
					全部提现
				</view>
			</view>
			<view class="" style="color: red;font-size: 24rpx;padding-top: 30rpx;box-sizing: border-box;">
				提现服务费为 ￥1   最低提现金额为￥20
			</view>
			<view class="tit">
				<view class="" style="display: flex;">
					<view class="tit_line" style="margin-top: 4rpx;">

					</view>
					提现方式
				</view>
			</view>
			<view class="pay_type" style="width: 100%;">
				<view class="type_box">
					<view class="box_left">
						<image src="https://api.ccttiot.com/smartmeter/img/static/uhgzRC8dsWKYU1mRePn1" mode="aspectFit"></image>
						<view class="text">
							微信提现
						</view>
					</view>
					<view class="box_right" :class="currentindex==index?'act1':''">
						<span v-if="currentindex==index" style="color: #fff;"> <u-icon style="margin-top: 22rpx;"
								name="checkbox-mark" color="#fff" size="28"></u-icon> </span>
					</view>
				</view>
			</view>
			<view class="btn">
				确认提现
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				bgc: {
					backgroundColor: "",
				},
			}
		},
		onShow() {
			
		},
		methods: {
		    
		}
	}
</script>

<style lang="scss">
	/deep/ .u-flex {
		padding-top: 20rpx !important;
	}

	/deep/ .u-title {
		padding-bottom: 22rpx;
	}

	/deep/ .u-icon__icon {
		padding-bottom: 22rpx;
	}
	.imgbj {
		width: 750rpx;
		height: 552rpx;
		position: fixed;
		top: 0;
		left: 0;
		z-index: -1;
		border-radius: 0 0 50rpx 50rpx;
	}
	.mask{
		width: 100%;
		height: 100vh;
		background-color: #000;
		position: fixed;
		left: 0;
		top: 0;
		opacity: .5;
	}
    .fengk{
		position: fixed;
		left: 0;
		bottom: 0;
		padding: 40rpx;
		box-sizing: border-box;
		image{
			width: 750rpx;
			height: 782rpx;
			position: fixed;
			left: 0;
			bottom: 0;
		}
		.yuany{
            font-weight: 600;
            font-size: 32rpx;
            color: #3D3D3D;
			margin-bottom: 34rpx;
		}
		.jief{
            font-weight: 600;
            font-size: 32rpx;
            color: #3D3D3D;
			width: 670rpx;
			margin-bottom: 82rpx;
		}
		.tijiao{
			width: 670rpx;
			height: 108rpx;
			background: #4C97E7;
			border-radius: 59rpx 59rpx 59rpx 59rpx;
			font-weight: 600;
			font-size: 40rpx;
			color: #FFFFFF;
			margin-bottom: 72rpx;
			text-align: center;
			line-height: 108rpx;
		}
		.motijiao{
			width: 670rpx;
			text-align: center;
			font-weight: 600;
			font-size: 44rpx;
			color: #4C97E7;
			margin-bottom: 40rpx;
		}
		.yuany,
		.jief,
		.motijiao,
		.tijiao{
			z-index: 99 !important;
			position: relative;
		}
	}
	page {
		background: #F7FAFE;
	}

	.addtj {
		margin-top: 44rpx;
		width: 646rpx;
		height: 88rpx;
		background: #E4E3FB;
		box-shadow: 0rpx 16rpx 40rpx 0rpx rgba(42, 130, 228, 0.1);
		border-radius: 20rpx 20rpx 20rpx 20rpx;
		text-align: center;
		line-height: 88rpx;
		font-size: 36rpx;
		color: #48893B;
	}

	.cont {
		display: flex;
		flex-wrap: wrap;
		margin: 0 auto;
		width: 634rpx;

		.top_box {
			padding: 28rpx 32rpx;
			margin-top: 38rpx;
			width: 634rpx;
			height: 246rpx;
			background: #48893B;
			border-radius: 28rpx 28rpx 28rpx 28rpx;
			border-radius: 20rpx;

			.tip {
				font-weight: 400;
				font-size: 28rpx;
				color: #FFFFFF;
				line-height: 38rpx;
			}

			.txt {
				margin-top: 28rpx;
				margin-bottom: 28rpx;
				font-weight: 500;
				font-size: 40rpx;
				color: #FFFFFF;
				line-height: 54rpx;
			}
		}

		.tit {
			margin-top: 100rpx;
			display: flex;
			flex-wrap: nowrap;
			align-items: center;
			font-weight: 500;
			font-size: 28rpx;
			color: #3D3D3D;
			line-height: 38rpx;
			display: flex;
			justify-content: space-between;
			width: 100%;

			.tit_line {
				margin-right: 12rpx;
				width: 4rpx;
				height: 32rpx;
				background: #48893B;
				border-radius: 0rpx 0rpx 0rpx 0rpx;
			}

		}

		.input_box {
			display: flex;
			flex-wrap: nowrap;
			align-items: center;
			margin-top: 36rpx;
			width: 634rpx;
			height: 86rpx;
			background: #FFFFFF;
			box-shadow: 0rpx 16rpx 40rpx 0rpx rgba(42, 130, 228, 0.1);
			border-radius: 20rpx;

			.yuan {
				margin-left: 36rpx;
				font-weight: 500;
				font-size: 52rpx;
				color: #48893B;
				line-height: 72rpx;
			}

			.ipt {
				width: 60%;
			}

			.altx {
				display: flex;
				align-items: center;
				justify-content: center;
				width: 158rpx;
				height: 56rpx;
				background: #FFFFFF;
				box-shadow: 0rpx 0rpx 8rpx 0rpx rgba(0, 0, 0, 0.2);
				border-radius: 12rpx 12rpx 12rpx 12rpx;

				font-weight: 400;
				font-size: 28rpx;
				color: #48893B;
				line-height: 38rpx;
			}
		}

		.pay_type {
			.type_box {
				width: 100%;
				margin-top: 26rpx;
				display: flex;
				align-items: center;
				flex-wrap: nowrap;
				width: 634rpx;
				height: 86rpx;
				background: #FFFFFF;
				box-shadow: 0rpx 16rpx 40rpx 0rpx rgba(42, 130, 228, 0.1);
				border-radius: 20rpx;

				.box_left {
					display: flex;
					align-items: center;
					flex-wrap: nowrap;
					margin-left: 22rpx;

					image {
						width: 50rpx;
						height: 50rpx;
					}

					.text {
						margin-left: 30rpx;
						font-weight: 400;
						font-size: 32rpx;
						color: #3D3D3D;
						line-height: 44rpx;
					}
				}

				.box_right {
					display: flex;
					align-items: center;
					justify-content: center;
					margin-left: auto;
					margin-right: 34rpx;
					width: 44rpx;
					height: 44rpx;
					border: 2rpx solid #444444;
					border-radius: 50%;
				}

				.act1 {
					color: #FFFFFF;
					background-color: #48893B;
				}
			}
		}

		.btn {
			margin-left: 20rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			margin-top: 218rpx;
			width: 590rpx;
			height: 84rpx;
			background: #48893B;
			border-radius: 40rpx;
			font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
			font-weight: 400;
			font-size: 36rpx;
			color: #FFFFFF;

		}
	}
</style>






