openOneBox.vue
663 Bytes
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
<template>
<!-- 单抽页面 -->
<div class="openOneBox"></div>
</template>
<script>
export default {
name: "OpenOneBox",
data(){
return{
}
},
methods: {
},
computed: {
},
created(){
this.$router.push({
path: "/lottery",
query: {
boxId: 40,
},
});
},
mounted() {
},
};
</script>
<style lang="scss" scoped>
// 页面适配
@function vw($px) {
@return 100 * $px/750 + vw;
}
* {
margin: 0;
padding: 0;
}
// 单抽页面
.openOneBox {
width: vw(720);
height: 100vh;
// background:url("");
form {
width: vw(100);
height: vw(100);
}
}
</style>