-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.wxss
143 lines (136 loc) · 2.45 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
/**app.wxss**/
.container {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding: 200rpx 0;
box-sizing: border-box;
}
text,view,swiper,icon,
button,checkbox-group,checkbox,
input,label,picker,radio-group,radio,slider,switch,textarea,
navigator,image,video,audio,map{
box-sizing: border-box;
}
page{
background-color: #eef1f7;
box-sizing: border-box;
}
.flex-box{
display: flex;
}
.flex-1{
flex: 1;
}
.flex-2{
flex: 2;
}
.flex-3{
flex: 3;
}
.flex-4{
flex: 4;
}
.flex-5{
flex: 5;
}
/* 占用空白空间 */
.marin-topbottom120{
margin-top: 120rpx;
margin-bottom: 120rpx;
}
.empty-120box{
width: 100%;
height: 120rpx;
}
.fixed-bottom100{
position: fixed;
bottom: 0;
width: 100%;
line-height: 100rpx;
height: 100rpx;
z-index: 999;
}
/* 清空默认button 样式 */
button{
position: relative;
margin-top: 0;
padding-left: 0;
padding-right: 0;
padding-bottom: 0;
line-height: 100rpx;
background-color: #fff;
border: none;
border-radius: 0;
}
button::after,
button::before{
content: '';
border: none;
}
.fl{float: left;}
.fr{float: right;}
.clearfix:after{
content: "";
clear: both;
display: block;
}
/* 去查看等多的小箭头 */
.gomore-icon{
position: absolute;
top: 40rpx;
right: 30rpx;
display: inline-block;
width: 20rpx;
height: 20rpx;
border-right: 5rpx solid #c7c7cc;
border-bottom: 5rpx solid #c7c7cc;
transform: rotate(-45deg);
}
/* 高度使用的 搜索框 */
.top-search{
display: flex;
position: relative;
padding: 20rpx 30rpx 20rpx 30rpx;
width: 100%;
height: 100rpx;
background-color: #eeeef4;
vertical-align: middle;
border-bottom: 1px solid #e5e5e5;
}
.top-search .input-box{
position: relative;
flex: 6;
}
.top-search .input-box input{
padding: 0 70rpx;
height: 60rpx;
line-height: 60rpx;
background-color: #fff;
font-size: 28rpx;
border-radius: 4rpx;
text-align:left;
}
.top-search .input-box .search-icon{
position: absolute;
top: 15rpx;
left: 22rpx;
width: 30rpx;
height: 30rpx;
}
.top-search .input-box .scan-add{
position: absolute;
top: 10rpx;
right: 20rpx;
width: 40rpx;
height: 40rpx;
}
.top-search .search-btn{
flex: 1;
font-size: 30rpx;
line-height: 60rpx;
color: #20a0ff;
text-align: right;
}