<template>
    <Header :show="false" backgroundBox="white">
        <van-nav-bar title="结果" :left-arrow="true" fixed placeholder safe-area-inset-top @click-left="router.go(-1)" />
    </Header>
    <div class="container">
        <div class="info">
            <img src="../../static/image/result-success.png">
            <div class="title">提交成功</div>
            <div class="desc">注：请前往“我的-待发布图组”进行图组发布</div>
        </div>
        <van-button type="primary" @click="router.pushTab({ name: 'mine' })">前往待发布图组</van-button>
    </div>
</template>
<script setup>
const router = useRouter()
</script>
<style lang="scss" scoped>
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;

    .info {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 20vh;

        .title {
            font-size: 20px;
        }

        .desc {
            color: #9f9f9f;
            font-size: 16px;
        }
    }

    .van-button {
        width: 150px;
    }
}
</style>