App.vue
1.17 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
<template>
<div id="main">
<!-- {{ app.isLoading }} -->
<router-view></router-view>
<!-- <div class="el-loading-mask scrm-base-app-loading" v-if="app.isLoading" style="background-color: rgba(0, 0, 0, 0)">
<div class="el-loading-spinner">
<i class="el-icon-loading"></i>
<p class="el-loading-text">拼命加载中</p>
</div>
</div> -->
</div>
</template>
<script>
import { mapGetters } from 'vuex'
export default {
computed: {
...mapGetters(['app'])
}
}
</script>
<style lang="scss">
@import '~@/assets/style/variables.scss';
html {
margin: 0;
padding: 0;
font-size: 625%;
-webkit-text-size-adjust: 100%; // 4
-ms-text-size-adjust: 100%; // 4
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); // 6
height: 100%;
max-height: 100%;
}
body {
margin: 0;
padding: 0;
height: 100%;
max-height: 100%;
font-size: 14px;
font-family: 'Microsoft YaHei', '微软雅黑', 'MicrosoftJhengHei', 'STHeiti', 'MingLiu';
}
#main {
height: 100%;
// font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: $main-background-color;
}
</style>