<template>
	<view class="common_page adffcac" :style="{'height':h+'px', 'padding-top':mt+'px'}">
		<cus-header title="填写公益档案" bgColor="#FFFFFF"></cus-header>
		<image src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/10/10/27e14800-8f8f-4ebc-a8cb-77401a627225.png"></image>
		<div class="title">公益档案提交成功</div>
		<div class="tip">您可去我的公益里查看活动进度及详情～</div>
		<div class="btns adfacjb">
			<div class="btn adfacjc" @click="handleTurn('/pages/nonprofit')">我的公益</div>
			<div class="btn adfacjc home" @click="handleTurn('/pages/home')">返回首页</div>
		</div>
	</view>
</template>

<script setup name="">
	import CusHeader from '@/components/CusHeader/index.vue'
	import { ref } from 'vue'
	
	const handleTurn = (url) => {
		uni.reLaunch({ url })
	}
</script>

<style scoped lang="scss">
	.common_page{
		padding: 0 30rpx 40rpx;
		background: #FFFFFF;
		image{
			width: 226rpx;
			height: 201rpx;
			margin-top: 44rpx;
		}
		.title{
			font-family: PingFang-SC, PingFang-SC;
			font-weight: bold;
			font-size: 40rpx;
			color: #151B29;
			line-height: 56rpx;
			margin-top: 30rpx;
		}
		.tip{
			font-family: PingFangSC, PingFang SC;
			font-weight: 400;
			font-size: 28rpx;
			color: #676775;
			line-height: 40rpx;
			margin-top: 20rpx;
		}
		.btns{
			width: 100%;
			margin-top: 210rpx;
			.btn{
				width: calc(50% - 15rpx);
				height: 90rpx;
				border-radius: 45rpx;
				border: 1rpx solid #252525;
				font-family: PingFang-SC, PingFang-SC;
				font-weight: bold;
				font-size: 32rpx;
				color: #151B29;
				line-height: 45rpx;
				&.home{
					background: #B7F358;
					border: 1rpx solid #B7F358;
				}
			}
		}
	}
</style>