<template>
	<view class="container">
		<!-- 内容区域 -->
		<view class="content">
			<!-- 成功图标 -->
			<view class="success-icon-wrapper">
				<image class="w320" src="@/static/image/img_success.png" mode="widthFix"></image>
			</view>
			
			<!-- 成功文字 -->
			<view class="success-title">已提交</view>
			
			<!-- 提示文字 -->
			<view class="success-tips">提现申请发起后,预计在3个工作日到账</view>
			<!-- 底部按钮 -->
			<view class="bottom-bar">
				<view class="home-btn" @click="goHome">返回首页</view>
			</view>
		</view>
	</view>
</template>

<script>
export default {
	methods: {
		goBack() {
			uni.navigateBack()
		},
		goHome() {
			uni.switchTab({
				url: '/pages/home/index'
			})
		}
	}
}
</script>

<style lang="scss" scoped>
.container {
	min-height: 100vh;
	background: #fff;
	display: flex;
	flex-direction: column;
}

.navbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20rpx 24rpx;
	background: #fff;
	border-bottom: 1rpx solid #f0f0f0;
	
	.nav-left {
		width: 60rpx;
		
		.back-icon {
			font-size: 36rpx;
			color: #333;
			font-weight: bold;
		}
	}
	
	.nav-title {
		flex: 1;
		text-align: center;
		font-size: 36rpx;
		font-weight: bold;
		color: #333;
	}
	
	.nav-right {
		display: flex;
		align-items: center;
		gap: 24rpx;
		width: 60rpx;
		justify-content: flex-end;
		
		.more-icon {
			font-size: 32rpx;
			color: #333;
		}
		
		.eye-icon {
			font-size: 32rpx;
			color: #333;
		}
	}
}

.content {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	//justify-content: center;
	padding-top: 190rpx;
}

.success-icon-wrapper {
	position: relative;
	margin-bottom: 40rpx;
}

.success-title {
	font-family: PingFang SC, PingFang SC;
	font-weight: 500;
	font-size: 36rpx;
	color: #333333;
	line-height: 44rpx;
	text-align: center;
	margin-bottom: 14rpx;
}

.success-tips {
	font-family: PingFang SC, PingFang SC;
	font-weight: 400;
	font-size: 24rpx;
	color: #999999;
	line-height: 40rpx;
}

.bottom-bar {
	margin-top: 44rpx;
	.home-btn {
		width: 320rpx;
		height: 80rpx;
		background: #388BFF;
		border-radius: 56rpx 56rpx 56rpx 56rpx;
		font-family: PingFang SC, PingFang SC;
		font-weight: 400;
		font-size: 28rpx;
		color: #FFFFFF;
		line-height: 80rpx;
		text-align: center;
	}
}
</style>













