creditCertificationSuccess.vue
1.9 KB
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
<template>
<v-layout id="CreditCertificationSuccess" column justify-center align-center>
<v-flex>
<v-card flat class="cardBlock" height="42vh">
<div class="hint">信用信息获取成功</div><div class="hint">稍候系统会自动更新您的信用报告</div>
<v-btn class="returnBtn" flat @click="$router.push('/creditCertification')">返回</v-btn>
</v-card>
</v-flex>
</v-layout>
</template>
<script>
export default {
computed: {
userInfo() {
return this.$store.state.user
},
query() {
return this.$route.query
}
},
created() {
this.creditArgument()
},
methods: {
async creditArgument() {
if (this.query.task_id) {
const {data} = await this.$axios.post('/creditArgument', {
userId: this.userInfo.id,
taskId: this.query.task_id,
allSubmit: this.query.all_submit
})
console.log(data.success)
}
}
}
}
</script>
<style lang="scss" scoped>
#CreditCertificationSuccess {
&::before {
content: "";
background: url('/netiou/loginBG.jpg');
opacity: 0.14;
background-size: cover;
background-repeat:no-repeat;
top: 0;
left: 0;
bottom: 0;
right: 0;
position: absolute;
z-index: 1;
}
.cardBlock {
margin: 0 1rem;
text-align: center;
position: relative;
width: 87vw;
margin-top: 8.5rem;
background: $menu-grey;
border-radius: 10px;
padding: 1rem 0.9rem;
z-index: 10;
}
.hint {
color: $light-gold;
width: 100%;
font-size: 1.4rem;
text-align: center;
padding: 1.5rem;
}
.returnBtn {
color: #484646;
background-image: linear-gradient(-213deg, #DAB269 0%, #E7C78C 92%);
border-radius: 2px;
width: 100%;
height: 2.8rem;
font-size: 18px;
margin: auto;
}
}
</style>