city-list.wxss
2.8 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
/* pages/index/city-list/city-list.wxss */
page {
height: 100%;
background-color: #f5f6f8;
overflow-y:hidden;
}
::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
display: none;
}
.content {
height: 100%;
background-color: #f5f6f8;
}
::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
display: none;
}
.tab_box {
width: 100%;
/* padding: 0 70rpx; */
height: 90rpx;
line-height: 90rpx;
display: flex;
align-items: center;
justify-content: center;
/* border-bottom: 20rpx solid #f5f5f5; */
overflow: hidden;
white-space: nowrap;
flex-wrap: nowrap;
position: fixed;
top:0;
left:0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
background-color: #fff;
}
.tab_item {
width:50%;
/* display: inline-block; */
/* width: 160rpx; */
font-size: 30rpx;
color: #333333;
/* position: relative; */
text-align: center;
border-bottom: 4rpx solid transparent;
/* border: 1rpx solid red; */
}
.tab_box .active {
border-bottom: 6rpx solid #DB4E2A;
/*font-weight: bold;*/
/*color: #0E050A;*/
}
.right {
width: 100%;
/* height: 58rpx; */
/*margin-top: 90rpx;*/
/*background-color: rgba(255,255,255,0.35);*/
background-color: #f5f6f8;
display: flex;
align-items: center;
justify-content: space-between;
padding: 20rpx 40rpx;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
position: fixed;
top:90rpx;
left:0;
}
.search-icon {
width: 34rpx;
height: 34rpx;
}
.input {
/* width: 90%; */
height:58rpx;
flex:1;
color: #666666;
padding-left: 20rpx;
font-size: 28rpx;
background-color: #e9e9e9;
border-radius: 10rpx;
}
/*.tab_box .active::after {*/
/*content: "";*/
/*!*border: 2rpx solid #DB4E2A;*!*/
/*position: absolute;*/
/*bottom: 0rpx;*/
/*left: 50%;*/
/*transform: translateX(-50%);*/
/*width: 250rpx;*/
/*height: 3rpx;*/
/*background: #2C82E6;*/
/*}*/
.city-box {
margin-top: 90rpx;
display: flex;
flex-wrap: wrap;
align-items: flex-start;
padding: 10rpx 30rpx;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
display: none;
}
.city-item {
padding: 10rpx 40rpx;
font-size: 28rpx;
color: #666666;
border-radius: 6rpx;
margin-top: 20rpx;
margin-right: 20rpx;
border:1rpx solid #e8e8e8;
background-color: #fff;
}
.change-bg {
background-color: #DB4E2A;
color: #ffffff;
}
.margin {
margin-top: 160rpx;
}
.search-btn {
width:80rpx;
margin-left:20rpx;
text-align: center;
font-size: 28rpx;
color: #666666;
}