-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapp.wxss
More file actions
67 lines (57 loc) · 1.18 KB
/
app.wxss
File metadata and controls
67 lines (57 loc) · 1.18 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
/* 基础样式 */
view, scroll-view, swiper, swiper-item, icon, text, progress, button,
checkbox-group, checkbox, form, input, label, picker, radio-group, radio, slider,
switch, action-sheet, action-sheet-item, action-sheet-cancel, modal, toast,
loading, navigator, audio, image, video, map, canvas {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
font-size: 14px;
}
page {
height: 100%;
font-family: -apple-system-font, Helvetica Neue, Helvetica, sans-serif;
background-color: #efefef;
}
view{
box-sizing: border-box;
}
checkbox-group, radio-group {
display: block;
}
:before, :after, ::before, ::after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
/*公共样式*/
.com_minheight {
min-height: 60px;
}
.com_full {
width: 100%;
height: 100%;
}
.com_block {
display: block;
}
.com_autosize {
width: auto;
height: auto;
}
.com_fullwidth {
width: 100%;
}
.com_fullheight {
height: 100%;
}
.com_initHide {
opacity: 0 !important;
}
.com_ellipse {
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}