finish.vue
849 字节
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
<template>
<div class="container">
<div class="pageimg">
<img src="../../../assets/finish.png" alt />
<div class="uppage" @click="prepage">上一页</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
}
},
created() {
document.querySelector("#app").style.overflow = "hidden"
},
methods: {
prepage() {
this.$router.go(-1)
}
}
}
</script>
<style scoped>
.container {
overflow-y: hidden;
}
.pageimg {
width: 100%;
height: 100%;
position: relative;
}
.uppage {
width: 6.86rem;
height: 0.88rem;
border: 0.02rem solid #ffffff;
border-radius: 0.08rem;
color: #fff;
font-size: 0.34rem;
text-align: center;
line-height: 0.88rem;
background: #5e955d;
margin: 0.4rem auto 0;
position: fixed;
bottom: 0.32rem;
left: 0.32rem;
}
</style>