<template>
	<view class="withdrawal">
		<!-- 提现头部 -->
		<view class="withdrawal-top">
			<view class="title">
				到账方式
			</view>
			<view class="wx">
				<image src="../../static/mine/323.png" class="wx-logo" mode=""></image>
				<text>微信余额</text>
			</view>
		</view>
			<!-- 提现头部 -->
		<view class="content">
			<view class="money">
				提现金额
			</view>
			<view class="inp">
				<text>￥</text>
				<input type="text" />
				<text style="color: #f83224;">全部提现</text>
			</view>
			<text class="all-money">可提现金额￥345.00</text>
			<button class="immediately">立即提现</button>
			<view class="detail" @click="toWithdrawalDetail">
				提现明细
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			toWithdrawalDetail(){
				uni.navigateTo({
					url:"/pageC/withdrawalDetail/withdrawalDetail"
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.withdrawal {
		padding: 20rpx 24rpx 0;
		
		.withdrawal-top {
			display: flex;
			justify-content: space-between;
			align-items: center;
			height: 104rpx;
			background-color: #fff;
			border-radius: 16rpx;
			padding: 0 24rpx;
			.title {
				font-size: 30rpx;
			}

			.wx {
				display: flex;
				align-items: center;
				height: 50rpx;
				.wx-logo {
					width: 40rpx;
					height: 40rpx;
					margin-right: 10rpx;
				}
			}
		}
		.content{
			background-color: #fff;
			border-radius: 16rpx;
			margin-top: 16rpx;
			padding: 32rpx 24rpx 46rpx;
			.money{
				font-size: 30rpx;
			}
			.inp{
				display: flex;
				height: 110rpx;
				align-items: center;
				justify-content: space-between;
				border-bottom: 2rpx solid rgba(151, 151, 151, 0.3);
				margin-bottom: 18rpx;
			}
			.all-money{
				font-size: 24rpx;
				color: #555;
			}
			.immediately{
				box-shadow: 0rpx 12rpx 28rpx -12rpx #F83224;
				border-radius: 44rpx;
				background-color: #F83224;
				color: #fff;
				margin-top: 60rpx;
				margin-bottom: 60rpx;
				
			}
			.detail{
				text-align: center;
				font-size: 26rpx;
				opacity: 0.6;
				color: #131415;
			}
		}
	}
</style>