-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathApp.uvue
82 lines (66 loc) · 962 Bytes
/
App.uvue
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<script lang="uts">
export default {
onLaunch: function () {
console.log('App Launch')
},
onShow: function () {
console.log('App Show')
},
onHide: function () {
console.log('App Hide')
},
}
</script>
<style>
/*每个页面公共css */
.uni-row {
display: flex;
flex-direction: row;
}
.uni-column {
flex-direction: column;
}
.uni-row-wrap {
flex-wrap: wrap;
}
.uni-items-center {
align-items: center;
}
.uni-justify-center {
justify-content: center;
}
.uni-center {
align-items: center;
justify-content: center;
}
.uni-between {
justify-content: space-between;
}
.mr-5 {
margin-right: 5px;
}
.mr-10 {
margin-right: 10px;
}
.mt-5 {
margin-top: 5px;
}
.ml-5 {
margin-left: 5px;
}
.mb-5 {
margin-bottom: 5px;
}
.font-bold {
font-weight: bold;
}
.font-14 {
font-size: 14px;
}
.font-16 {
font-size: 16px;
}
.color-white {
color: white;
}
</style>