1
PC-20250623MANY\Administrator
2025-07-22 9ec3bd6e8d7357927533d8966f882cb5d28b3e0f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<template>
    <div class="changeVerify">
        <assets-head :title="title" />
        <div class="content">
            <div class="imgBox">
                <img v-if="type == 2" src="@/assets/image/userCenter/emailVerity.png" alt="" />
                <img v-if="type == 1" src="@/assets/image/userCenter/phoneVerity.png" alt="" />
                <img v-if="type == 3" src="@/assets/image/userCenter/googleVerity.png" alt="" />
            </div>
            <p>{{ type == 1 ? $t('手机验证') : type == 2 ? $t('邮箱验证') :
                $t('Google验证器APP')
            }}{{ $t('将保护您的账号和提现功能') }}</p>
            <div class="btn" @click="goChange">
                {{ type == 1 ? $t('更改手机验证') : type == 2 ? $t('更改邮箱验证') : $t('更改谷歌验证') }}
            </div>
        </div>
    </div>
</template>
 
<script>
import assetsHead from "@/components/assets-head";
export default {
    props: {
 
    },
    components: {
        assetsHead
    },
    data() {
        return {
            title: '',
            type: ''
        }
    },
    mounted() {
        this.init()
    },
    methods: {
        init() {
            let type = this.$route.query.type;
            this.type = type;
            if (type == 1) {
                this.title = this.$t("手机验证");
            } else if (type == 2) {
                this.title = this.$t("邮箱验证");
            } else if (type == 3) {
                this.title = this.$t("谷歌验证绑定");
            }
        },
        goChange() {
            this.$router.push({ name: 'resetVerify', query: { type: this.type } })
        }
    }
}
</script>
 
<style lang="scss" scoped>
.changeVerify {
    width: 100%;
    box-sizing: border-box;
}
 
 
.content {
    font-size: 26px;
    padding: 0 32px;
    margin-top: 60px;
    text-align: center;
}
 
.imgBox {
    width: 176px;
    height: 176px;
    margin: auto;
 
    img {
        width: 100%;
        height: 100%;
    }
}
 
p {
    color: #868C9A;
    font-size: 28px;
    margin-top: 44px;
}
 
.btn {
    @include themify() {
        background: themed("btn_main");
    }
 
    color: #fff;
    height: 88px;
    line-height: 88px;
    text-align: center;
    font-size: 32px;
    margin-top: 44px;
    border-radius: 10px;
}
</style>