forked from liujians/WeApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.wxss
115 lines (113 loc) · 1.93 KB
/
app.wxss
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
/**app.wxss**/
@import '//cdn.bootcss.com/weui/1.0.1/style/weui.css';
@import '//cdn.bootcss.com/ionic/1.3.1/css/ionic.min.css';
page{
height: 100%
}
.container {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding: 200rpx 0;
box-sizing: border-box;
}
.padding{
padding:20rpx;
}
.padding_half{
padding: 10rpx;
}
.graySpace{
padding-left: 40rpx;
background: #eee;
font-size: 12px;
min-height: 30rpx;
}
.item-avatar .text_box,.item-avatar-lg .text_box{
display: flex;
flex-direction: column
}
.flex-row{
display: flex;
flex-direction: row;
}
.flex-column{
display: flex;
flex-direction: column
}
.flex-center{
display: flex;
justify-content: center;
}
.flex{
display: flex;
}
.title{
font-family: "微软雅黑";
font-size: 14rpx;
}
.message{
font-size: 12rpx;
}
.item-avatar-lg,.item-avatar-md,.item-avatar-sm,.item-avatar-xs{
display: flex;
padding: 20rpx 30rpx;
border-bottom: 1rpx solid #eee;
cursor: pointer;
position:relative;
}
.item-avatar-lg image{
float: left;
width: 125rpx;
height: 125rpx;
box-sizing: border-box
}
.item-avatar-md image{
float: left;
width: 85rpx;
height: 85rpx;
box-sizing: border-box
}
.item-avatar-sm image{
float: left;
width: 65rpx;
height: 65rpx;
box-sizing: border-box
}
.item-avatar-xs image{
float: left;
width: 45rpx;
height: 45rpx;
box-sizing: border-box
}
.item-avatar-md .marks{
position: absolute;
top: 0px;
left: 90rpx;
width: 40rpx;
height: 40rpx;
line-height: 40rpx;
background: red;
border-radius: 50%;
color: white;
text-align: center;
font-size: 14rpx;
}
.item-avatar-lg .item-text,.item-avatar-md .item-text,.item-avatar-sm .item-text,.item-avatar-xs .item-text{
padding-left: 10px;
}
.item-avatar-md .item-time{
position: absolute;
right: 20rpx;
}
.clearfix{
overflow: hidden;
}
.icon::before{
font-size: 70rpx
}
.floatR{
float: right;
}