App.vue
1.3 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
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
<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">
/* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
@import 'uview-plus/index.scss';
.flexJ {
display: flex;
justify-content: space-between;
align-items: center;
}
.flexC {
display: flex;
justify-content: center;
align-items: center;
}
.flexA {
display: flex;
align-items: center;
}
.flexV {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.flexW {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.ples {
color: #000000e6;
font-size: 30rpx;
font-weight: 700;
}
.lineFeed {
word-wrap: break-word;
word-break: break-all;
white-space: pre-line;
}
.ellipsis {
display: -webkit-box;
-webkit-box-orient: vertical;
text-overflow: ellipsis;
overflow: hidden;
-webkit-line-clamp: 1;
}
.ellipsisT {
display: -webkit-box;
-webkit-box-orient: vertical;
text-overflow: ellipsis;
overflow: hidden;
-webkit-line-clamp: 2;
color: rgba(0, 0, 0, 0.9);
font-size: 24rpx;
}
.iosAuto {
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
}
</style>