hx-navbar.wxss
9.9 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
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
@charset "UTF-8";
/**
* 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
* 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
* uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
*/
page {
width: 100%;
height: 100%;
}
.divid_line_horizen {
width: 100%;
height: 2rpx;
background-color: #f2f2f2;
align-self: center;
margin-top: 1rpx;
}
.input_warp .u-input__input {
font-size: 34rpx;
}
.button_warp .u-button .u-size-default {
font-size: 30rpx;
height: 96rpx;
line-height: 80rpx;
}
.button_warp .u-button .u-btn--primary--disabled {
color: rgba(0, 0, 0, 0.45) !important;
border-color: rgba(0, 0, 0, 0.06) !important;
background-color: rgba(0, 0, 0, 0.06) !important;
}
@font-face {
font-family: 'hxicon';
/* project id 2009392 */
src: url(data:font/truetype;charset=utf-8;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzI8vEjdAAABfAAAAFZjbWFwt08gwQAAAggAAAJKZ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ABAAwApwADAAEECQACAA4AswADAAEECQADAAwAwQADAAEECQAEAAwAzQADAAEECQAFABYA2QADAAEECQAGAAwA7wADAAEECQAKAFYA+wADAAEECQALACYBUQpDcmVhdGVkIGJ5IGljb25mb250Cmh4aWNvblJlZ3VsYXJoeGljb25oeGljb25WZXJzaW9uIDEuMGh4aWNvbkdlbmVyYXRlZCBieSBzdmcydHRmIGZyb20gRm9udGVsbG8gcHJvamVjdC5odHRwOi8vZm9udGVsbG8uY29tAAoAQwByAGUAYQB0AGUAZAAgAGIAeQAgAGkAYwBvAG4AZgBvAG4AdAAKAGgAeABpAGMAbwBuAFIAZQBnAHUAbABhAHIAaAB4AGkAYwBvAG4AaAB4AGkAYwBvAG4AVgBlAHIAcwBpAG8AbgAgADEALgAwAGgAeABpAGMAbwBuAEcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAAcwB2AGcAMgB0AHQAZgAgAGYAcgBvAG0AIABGAG8AbgB0AGUAbABsAG8AIABwAHIAbwBqAGUAYwB0AC4AaAB0AHQAcAA6AC8ALwBmAG8AbgB0AGUAbABsAG8ALgBjAG8AbQAAAAACAAAAAAAAAAoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA0BAgEDAQQBBQEGAQcBCAEJAQoBCwEMAQ0BDgAFY2xvc2UJZmF2b3JmaWxsBWZhdm9yDGxvY2F0aW9uZmlsbAhsb2NhdGlvbgZzZWFyY2gGdW5mb2xkCHNldHRpbmdzC2ZvcndhcmRmaWxsB2ZvcndhcmQEYmFjawVyaWdodAAAAAAA) format("truetype");
}
.hxicon {
font-family: hxicon;
text-decoration: none;
}
.hd {
overflow: hidden;
}
[class*="hx-navbar__"] {
display: flex;
}
.hx-navbar {
position: relative;
padding-top: 0;
overflow: hidden;
flex: 1;
}
.hx-navbar__stretch {
align-items: stretch;
}
.hx-navbar__status {
position: relative;
z-index: 3;
}
.hx-navbar__icon {
position: relative;
top: 1px;
}
.hx-navbar__icontran {
border-radius: 100% !important;
background-color: rgba(0, 0, 0, 0.5) !important;
width: 30px !important;
height: 30px !important;
line-height: 30px !important;
text-align: center !important;
color: #ffffff !important;
transition: color,background 0.2s !important;
}
.hx-navbar__btntran {
padding: 0 !important;
margin-left: 6px !important;
border-radius: 100% !important;
background-color: rgba(0, 0, 0, 0.5) !important;
width: 30px !important;
height: 30px !important;
line-height: 30px !important;
text-align: center !important;
color: #ffffff !important;
transition: color,background 0.2s !important;
}
.hx-navbar__content {
position: relative;
flex: 1;
z-index: 1;
width: 100%;
flex-direction: column;
}
.hx-navbar__content__imgctn {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
z-index: 2;
}
.hx-navbar__content__main {
position: relative;
z-index: 3;
flex: 1;
flex-direction: row;
align-items: center;
padding: 0;
}
.hx-navbar__content__main_back {
flex-direction: row;
align-items: center;
height: 100%;
padding: 0 13px;
margin: 0;
position: relative;
z-index: 2;
line-height: 44px;
}
.hx-navbar__content__main_search {
position: relative;
flex-direction: row;
align-items: center;
flex: 1;
height: 100%;
}
.hx-navbar__content__main_search_hxicon {
position: absolute;
left: 24px;
font-size: 18px;
color: #dbdbdb;
}
.hx-navbar__content__main_search_input {
height: 30px;
flex: 1;
border-radius: 40px;
background-color: rgba(32, 32, 32, 0.35);
padding: 0 16px 0 36px;
}
.hx-navbar__content__main_right {
position: relative;
z-index: 2;
flex-direction: row;
align-items: center;
height: 100%;
padding: 0 13px 0 9px;
margin: 0;
}
.hx-navbar__content__main_right_txt {
max-width: 60px;
lines: 1;
text-overflow: ellipsis;
}
.hx-navbar__content__main_right_btn {
justify-content: center;
align-items: center;
flex-direction: row;
align-items: center;
height: 100%;
padding: 0 5px;
}
.hx-navbar__content__main_right_icon {
justify-content: center;
align-items: center;
text-align: center;
}
.hx-navbar__content__main_center {
flex-direction: row;
flex: 1;
align-items: stretch;
width: 0;
justify-content: left;
}
.hx-navbar__content__main_center_txt {
flex-direction: row;
display: block;
white-space: nowrap;
overflow: hidden;
height: 44px;
justify-content: center;
align-items: center;
text-align: center;
text-overflow: ellipsis;
line-height: 44px;
}
.hx-navbar__content__main_center_flex {
width: 0;
}
.hx-navbar__content__main_left {
position: relative;
z-index: 1;
flex-direction: row;
align-items: center;
height: 100%;
padding: 0 9px 0 13px;
margin: 0;
}
.hx-navbar__content__main_left_txt {
width: 60px;
lines: 1;
text-overflow: ellipsis;
}
.hx-navbar__content__main_left_btn {
flex-direction: row;
align-items: center;
height: 100%;
padding: 0 5px;
}
.hx-navbar__fixed {
position: fixed;
top: 0;
z-index: 99;
}
.hx-navbar__shadow {
box-shadow: 0 2rpx 12rpx #ccc;
}
.hx-navbar__border:after {
position: absolute;
z-index: 3;
bottom: 0;
left: 0;
right: 0;
height: 1px;
-webkit-transform: scaleY(0.5);
transform: scaleY(0.5);
background-color: #efefef;
}
.hx-navbar__icon {
top: 0 !important;
font-size: 20px;
}
.hx_font_size {
font-size: 18px;
}
.hx_text_overflow {
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
text-align: center;
}