<template>
	<view>
		<u-navbar title="申请结果"></u-navbar>
		<view class="applyResult">
			<u-icon name="chenggong" custom-prefix="custom-icon" color="#27B148" size="150"></u-icon>
			<h3>申请成功</h3>
			<p v-if="value">申请提现 ￥{{value}}元</p>
		</view>
		<view class="applySpeed">
			<view class="applySpeed-item">
				<u-icon name="time-line" custom-prefix="custom-icon" color="#185AC6" size="48"></u-icon>
				<p>预计3个工作日内确认提现金额</p>
			</view>
			<view class="applySpeed-item">
				<u-icon name="money-cny-circle-line" custom-prefix="custom-icon" color="#185AC6" size="48"></u-icon>
				<p>预计2个工作日内金额到账</p>
			</view>
		</view>
		<view class="applyBtn">
			<u-button class="applyBtn-btn" type="primary" @click="back">完成</u-button>
		</view>
	</view>
</template>

<script>
	import * as API from '@/apis/finance.js'
	
	export default {
		data() {
			return {
				value:0,
				form: {
					name: '',
					intro: '',
				},
			}
		},onLoad(op) {
			if(op.value){
				this.value=op.value
			}
		},
		methods: {
			back(){
				uni.navigateBack()
			}
		}
	}
</script>
<style>
	
</style>
<style lang="scss" scoped>
	.applyResult{
		display: flex;
		flex-direction: column;
		align-items: center;
		margin: 36px 0;
		h3{
			margin-top: 20px;
		}
		p{
			color: #999;
			margin-top: 4px;
		}
	}
	.applySpeed{
		margin: 0 72px;
	}
	
	.applySpeed-item{
		display: flex;
		margin-bottom: 24px;
		align-items: center;
		position: relative;
		&:after{
			content: '';
			position: absolute;
			width: 1px;
			height: 18px;
			background-color: #185AC6;
			left:12px;
			top: 26px;
		}
		&:last-child:after{
			background: none;
		}
		p{
			margin-left: 8px;
		}
	}
	.applyBtn{
		margin: 36px;
	}
	.applyBtn-btn{
		background-color: #185AC6;
		border-color:#185AC6 ;
		border-radius: 8px;
	}
</style>
