-
Notifications
You must be signed in to change notification settings - Fork 61
/
app.wxss
209 lines (181 loc) · 3.35 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
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
@keyframes Tada {
from {
transform: scale(1);
}
to {
transform: scale(1.2);
}
}
page, .container {
width: 100%;
box-sizing: border-box;
}
.container {
width: 100%;
height: 100%;
}
/*跳转地图按钮*/
.fast-go{
width: 100rpx;
height: 100rpx;
border-radius: 50rpx;
margin: 0 auto 50rpx auto;
box-sizing: border-box;
padding: 15rpx;
background: #268f26;
box-shadow: 0 5rpx 10rpx rgba(46, 145, 46,0.3);
animation: Tada 2s ease-in infinite alternate;
}
.fast-go-icon{
display: block;
width: 100%;
height: 100%;
}
/*ui框架*/
.common-title {
margin-bottom: 30rpx;
}
.common-title .title {
font-size: 35rpx;
font-weight: bold;
color: #333;
}
.common-title .desc {
font-size: 25rpx;
color: #888;
}
.nodata{
padding: 100rpx 0;
text-align: center;
font-size: 30rpx;
color: #aaa;
}
.navType-detail-item {
font-size: 35rpx;
color: #222;
position: relative;
padding: 20rpx 20rpx 20rpx 30rpx;
}
.navType-detail-item.start-pos, .navType-detail-item.end-pos {
font-size: 35rpx;
color: #353535;
}
.navType-detail-item text {
font-size: 25rpx;
color: #aaa;
display: block;
}
.navType-detail-wrap {
border-left: 1rpx dashed #ccc;
margin-left: 30rpx;
}
.navType-detail-item::before {
content: "";
display: block;
width: 20rpx;
height: 20rpx;
border-radius: 50%;
box-sizing: border-box;
background: #f5f5f5;
border: 1rpx solid #ccc;
margin-top: -10rpx;
position: absolute;
top: 50%;
left: -10rpx;
}
.navType-detail-item.start-pos::before {
background: #18a15f;
border: 1rpx solid #18a15f;
}
.navType-detail-item.end-pos::before {
background: #dd4e42;
border: 1rpx solid #dd4e42;
}
/* 历史记录 */
.history {
height: 100%;
width: 100%;
background: #fff;
}
.history-item {
border-bottom: 1rpx solid #e5e5e5;
overflow: hidden;
position: relative;
box-sizing: border-box;
}
.history-item-wrap {
display: block;
width: 100%;
height: 100%;
box-sizing: border-box;
font-size: 30rpx;
background: #fff;
position: relative;
z-index: 2;
transition: transform 0.30s linear 0s;
}
.item-nav {
padding: 35rpx 30rpx 35rpx 60rpx;
position: relative;
}
.item-nav .icon {
width: 35rpx;
height: 35rpx;
position: absolute;
left: 20rpx;
top: 40rpx;
}
.history-item-del {
position: absolute;
z-index: 1;
right: 0;
top: 0;
height: 100%;
width: 180rpx;
text-align: center;
background: #fb2531;
color: #fff;
box-sizing: border-box;
padding-top: 50rpx;
font-size: 35rpx;
}
.history-item-del text {
position: absolute;
height: 30rpx;
display: block;
top: 50%;
margin-top: -20rpx;
width: 100%;
}
.from {
font-size: 30rpx;
font-weight: bold;
color: #555;
}
.to {
font-size: 25rpx;
color: #aaa;
}
.delHistory {
color: rgba(255, 255, 255, 0.5);
display: inline-block;
float: right;
margin-top: 35rpx;
font-size: 25rpx;
padding: 15rpx 30rpx;
}
.no-data {
text-align: center;
font-size: 25rpx;
color: #aaa;
width: 80%;
padding: 100rpx 0;
margin: 0 auto;
}
.end {
font-size: 24rpx;
color: #aaa;
text-align: center;
padding: 100rpx 0;
font-style: italic;
}