<template>
    <div class="register-success">
        <login-header></login-header>
        <main class="wrap" v-loading="loading">
            <section>
                <div class="login-form">
                    <img src="~assets/images/icon-success.png" alt>
                    <h2>恭喜您注册成功！</h2>
                    <p class="notice">请尽快进行实名认证哦！</p>
                    <router-link to="/kyc" class="btn-reg">实名认证</router-link>
                </div>
            </section>
        </main>
        <login-footer></login-footer>
    </div>
</template>

<script>
import loginHeader from "./components/header";
import loginFooter from "./components/footer";
export default {
    name: "regSucc",
    components: {
        loginHeader,
        loginFooter
    },
    data() {
        return {
            loading: true
        };
    },
    methods: {},
    mounted() {
        setTimeout(() => {
            this.loading = false;
        }, 1000);
    }
};
</script>

<style lang="less" scoped>
.btn-reg {
    display: block;
    width: 330px;
    height: 40px;
    line-height: 40px;
    margin: 24px auto 40px;
    border-radius: 4px;
    background: #3d86e9;
    color: #ffffff;
}
.count-down {
    width: 100px;
}
.register-success {
    background: #f7f7f7;
}
.wrap {
    min-height: calc(100vh - 224px);
    margin: 50px 0;
    section {
        width: 1080px;
        margin: 0 auto;
        padding: 60px 0;
        background: #fff;
        .login-form {
            padding: 30px 0 18px;
            text-align: center;
            img {
                margin-left: -40px;
            }
            h2 {
                margin-top: 20px;
                font-size: 28px;
                font-weight: normal;
                color: #3f87e9;
            }
            .notice {
                margin: 12px 0 50px;
                font-size: 14px;
                color: #666;
            }
        }
    }
}
</style>
