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
| <template>
| <div class='silence'>
| <div class="cover">{{acc}}</div>
| </div>
| </template>
|
| <script>
| export default {
| props: {},
| components: {},
| data() {
| return {
| acc: {},
| };
| },
| watch: {},
| methods: {
| init() {
| if (this.acc.id && this.acc.tk) {
| console.log(this.acc);
| }
| },
| },
| mounted() {
| this.acc = this.$route.query;
| this.init();
| },
| };
| </script>
| <style lang='less' scoped>
| .silence {
| @c: "~static/image/login.png";
| overflow: hidden;
| height: 100%;
| position: relative;
| .cover {
| background: url("@{c}") no-repeat 0 0 scroll transparent;
| background-size: 100% 100%;
| width: 100%;
| height: 100%;
| z-index: 1;
| position: absolute;
| left: 0;
| top: 0;
| }
| }
| </style>
|
|