schangxiang@126.com
2024-09-06 2a19504209e763a7c0e957e4ee265dd419486ef1
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
<template>
  <div id="app">
    <Content />
  </div>
</template>
 
<script>
import Content from './components/Content.vue'
 
export default {
  name: 'App',
  components: {
    Content
  },
  mounted(){
    console.log(window.innerWidth,window.innerHeight);
  }
}
</script>
 
<style>
html,body{
  width:100%;
  height:100%;
  overflow: hidden;
  /* font-size: 80px !important; */
  background-image: url('~@/assets/images/bg.png');
}
 
*{
  margin:0;
  padding: 0;
  box-sizing: border-box;
}
</style>