-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.vue
65 lines (57 loc) · 872 Bytes
/
App.vue
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
56
57
58
59
60
61
62
63
64
65
<script>
export default {
onLaunch: function() {
console.log('App Launch')
},
onShow: function() {
console.log('App Show')
},
onHide: function() {
console.log('App Hide')
}
}
</script>
<style lang="scss">
/*每个页面公共css */
page {
height: 100%;
}
.container {
color: #333;
padding: 20px;
font-size: 14px;
line-height: 24px;
}
.page-container {
height: 100%;
background-color: #eee;
color: #333;
font-size: 14px;
.panel {
background-color: #fff;
margin-bottom: 10px;
}
}
.clearfix::after {
content: "";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.flex-container {
display: flex;
&.vertical {
flex-direction: column;
}
.flex-content {
flex: auto;
}
}
.pull-left {
float: left;
}
.pull-right {
float: right;
}
</style>