-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.vue
116 lines (95 loc) · 1.22 KB
/
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<script>
import {
ddp
} from "./modules/core/ddp";
export default {
onLaunch: function() {
console.log("App Launch");
// #ifdef H5
uni.reLaunch({
url: "/modules/user/signin/signin"
})
// #endif
},
onShow: function() {
console.log("App Show");
},
onHide: function() {
console.log("App Hide");
},
};
</script>
<style>
/*每个页面公共css */
page {
display: flex;
flex-direction: column;
/*
min-height: 100%; */
background-color: #eeeeff;
min-height: 100%;
}
page-body {
background-color: red;
}
view {
box-sizing: border-box;
}
.frow,
.fcol {
display: flex;
}
.frow {
flex-direction: row;
}
.fcol {
flex-direction: column;
}
.fcnt,
.cntx {
justify-content: center;
}
.fcnt,
.cnty {
align-items: center;
}
.fbtw {
justify-content: space-between;
}
.fsc {
align-self: center;
}
.fse {
align-self: flex-end;
}
.fss {
align-self: flex-start;
}
.pd {
padding: 0.5rem;
}
.pdh {
padding: 0.5rem 0;
}
.f1 {
flex: 1;
}
.pdv {
padding: 0 0.5rem;
}
.mg {
margin: 0.5rem;
}
.mgh {
margin: 0 0.5rem;
}
.mgv {
margin: 0.5rem 0;
}
.mgt {
margin-top: 0.5rem;
}
.mgb {
margin-bottom: 0.5rem;
}
</style>