<template>
    <main>
        <section class="layout-box">
            <div class="center-title clearfix">
                <h3>安全保护问题修改成功</h3>
                <a href="javascript:;" class="back-btn" @click="goBack">返回</a>
            </div>
            <div class="result-box">
                <img src="~assets/images/icon-status-safety-problem.png" alt />
                <h2>恭喜您安全保护问题修改成功</h2>
                <p class="notice">您的安保问题已修改成功</p>
            </div>
        </section>
    </main>
</template>

<script>
import { mapState } from "vuex";
// SECURITY_ENCRYPTED    密保问题字典表类型
export default {
    name: "setLoginPass",
    computed: {
        ...mapState(["userInfo"])
    },
    methods: {
        goBack() {
            this.$router.replace({
                path: "/center/setting"
            });
        }
    },
    data() {
        return {};
    },
    created() {}
};
</script>

<style lang="less" scoped>
@import "../../assets/styles/common.css";
.layout-box {
    overflow: hidden;
    min-height: calc(100vh - 184px);
    background: #fff;
}
.center-title {
    position: relative;
}
.back-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    padding-left: 22px;
    font-size: 14px;
    background: url(~assets/images/icon-center-back.png) left center no-repeat;
    color: #3d86e9;
}
.result-box {
    margin: 50px 0;
    text-align: center;
    box-sizing: border-box;
    h2 {
        margin-top: 20px;
        font-size: 24px;
        font-weight: normal;
        color: #3f87e9;
    }
    .notice {
        margin: 12px 0 50px;
        font-size: 14px;
        color: #666;
    }
}
</style>
