index.wxss
10.7 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
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
page {
background-color: #fafafa;
}
/* .slide-image {
position: absolute;
height: 225rpx;
width: 570rpx;
border-radius: 15rpx;
z-index: 5;
opacity: 0.7;
top: 13%;
margin: 0 20rpx;
}
swiper {
height: 430rpx;
}
.active {
opacity: 1;
z-index: 10;
width: 700rpx;
height: 280rpx;
top: 7%;
transition: all 0.2s ease-in 0s;
} */
.index_top {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 28rpx;
color: #222;
padding: 15rpx 25rpx;
position: absolute;
width: 100%;
top: 0;
left: 0;
z-index: 2;
background-color: #fff;
border-radius: 16rpx;
}
.city_box {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
overflow: hidden;
text-align: center;
/* width:80rpx; */
}
.index_add {
display: flex;
align-items: center;
margin-right: 20rpx;
width: 130rpx;
}
.index_input {
display: flex;
align-items: center;
border-radius: 16rpx;
flex: 2;
padding: 10rpx 22rpx;
background-color: #f5f5f5;
}
.index_input icon {
color: #222;
}
.holder {
color: #adadad;
font-size: 24rpx;
}
.icon-location {
color: #222;
font-size: 36rpx;
margin-right: 10rpx;
}
.icon-message {
font-size: 36rpx;
color: #222;
margin-left: 30rpx;
}
.nav_box {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 25rpx 0 0;
height: 85rpx;
position: relative;
width: 100%;
top: 100rpx;
left: 0;
border-bottom: 1px solid #ededed;
z-index: 2;
background-color: #fff;
}
.swiper_nav_box {
width: 90%;
height: 100%;
/* flex: 1; */
/* background: red; */
display: flex;
justify-content: space-between;
}
.swiper_nav_boxs {
width: 100%;
height: 85rpx;
padding:0 24rpx;
display: flex;
justify-content: space-between;
background: #fff;
margin-bottom:24 rpx;
}
.swiper_items{
width:auto;
height:54rpx;
padding:18rpx 10rpx 0;
font-size: 24rpx
}
.swiper_items view{
width:144rpx;
height:54rpx;
background:rgba(247,247,247,1);
border-radius:10rpx;
color: #888;
line-height: 54rpx;
text-align: center
}
.swiper_items view.active{
background:rgba(255,218,68,1);
}
.nav_swiper_active{
line-height: 54rpx;
width: auto
}
.nav_box .icon-fenlei {
font-size: 30rpx;
color: #888;
}
.nav_text {
display: flex;
align-items: center;
justify-content: center;
padding-top: 10rpx;
}
.swiper_nav_box swiper-item {
color: #888;
font-size: 28rpx;
text-align: center;
}
.swiper_nav_box swiper-item{
/* padding:0 10rpx; */
width: auto;
}
.swiper_nav_box swiper-item text {
width: auto;
padding: 26rpx 0 23rpx 0;
height: 100%;
display: inline-block;
line-height: 10rpx;
}
.nav_swiper_active {
color: #222;
border-bottom: 2px solid #ffda44;
}
.swiper_banner_box {
height: 350rpx;
margin-top: 120rpx;
background-color: #fff;
border-radius: 16rpx;
overflow: hidden;
position: relative
}
.swiper_banner_box swiper-item{
width: 100%;
}
.swiper_banner_box image {
box-shadow: 1rpx 8rpx 30rpx rgba(38, 84, 9, 0.3);
height: 320rpx;
margin: 0 auto;
display: block;
border-radius: 16rpx;
overflow: hidden;
}
.safe_box {
display: flex;
align-items: center;
justify-content: space-around;
font-size: 24rpx;
color: #222;
/* margin: 30rpx 0 0 0; */
background-color: #fff;
padding: 0 0 30rpx 0;
}
.safe_box .iconfont {
font-size: 28rpx;
margin: 0 10rpx 0 0;
}
/* .ad_mold{
height: 100%;
width: 100%;
position: fixed;
left: 0;
top: 0;
background-color: rgba(0, 0, 0, 0.4)
} */
.classfy {
/* padding: 20rpx 25rpx; */
background-color: #fff;
height: 200rpx;
overflow: hidden;
/* margin: 0 0 15rpx 0; */
display: flex;
align-items: center;
justify-content: center;
}
.good_img image {
width: 100%;
height: 100%;
}
.classfy image {
width: 100%;
height: 100%;
margin: 20rpx 25rpx;
border-radius: 16rpx;
}
.index_title {
display: flex;
align-items: center;
justify-content: center;
padding: 0 145rpx;
font-size: 38rpx;
color: #26363a;
font-weight: 600;
background-color: #fff;
}
.title_left {
display: inline-block;
flex: 1;
height: 1px;
background: -webkit-linear-gradient(left, #fff, gray, #000);
background: -o-linear-gradient(left, #fff, gray, #000);
background: -moz-linear-gradient(left, #fff, gray, #000);
background: linear-gradient(left, #fff, gray, #000);
}
.title_right {
display: inline-block;
flex: 1;
height: 1rpx;
background: -webkit-linear-gradient(left, #000, gray, #fff);
background: -o-linear-gradient(left, #000, gray, #fff);
background: -moz-linear-gradient(left, #000, gray, #fff);
background: linear-gradient(left, #000, gray, #fff);
}
.title_mid {
margin: 0 46rpx;
}
.safety_box {
display: flex;
align-items: center;
justify-content: space-around;
padding: 32rpx 0;
font-size: 24rpx;
text-align: center;
background-color: #fff;
margin: 0 0 24rpx 0;
}
.safety_box .safe_item {
color: #455255;
display: flex;
align-items: center;
justify-content: center;
flex: 1;
text-align: center;
}
.safety_box image {
height: 90rpx;
width: 100%;
}
.clo {
flex-direction: column;
}
.new_person_box {
padding: 50rpx 0 0 0;
margin-bottom: 24rpx;
background-color: #fff;
}
.new_person_swiper {
height: 300rpx;
padding: 0 30rpx;
}
.scroll_box {
white-space: nowrap;
padding: 30rpx 20rpx;
}
.scroll_box {
margin-top: 30rpx;
position: relative;
z-index: 1;
}
.scroll_box .new_person_item {
width: 289rpx;
height: 270rpx;
display: inline-block;
background: rgba(255, 255, 255, 1);
box-shadow: 0rpx 10rpx 15rpx 0rpx rgba(0, 0, 0, 0.1);
border-radius: 16rpx;
margin-right: 30rpx;
margin-bottom: 20rpx;
padding: 0 11rpx;
text-align: center;
}
.goods_name {
font-size: 24rpx;
color: #222;
}
.new_person_item image {
width: 267rpx;
height: 170rpx;
border-radius: 16rpx;
/* position: absolute;
top: -50rpx; */
z-index: 10;
}
.pprice {
font-size: 28rpx;
color: #222;
margin: 0 10rpx 0 0;
}
.oprice {
font-size: 20rpx;
color: #888;
text-decoration: line-through;
}
.ad_box {
height: 100%;
position: fixed;
width: 100%;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.6);
z-index: 2;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.ad_box image {
width: 600rpx;
}
.ad_box .iconfont {
color: #fff;
}
/* 筛选弹窗 */
.masx_box {
width: 100%;
height: 100%;
position: absolute;
top: 0;
z-index: 5;
background-color: rgba(0, 0, 0, 0.8);
}
.popup_box {
width: 573rpx;
height: 100%;
background-color: #fff;
position: absolute;
right: 0;
overflow-y: scroll;
padding: 0 0 130rpx 0;
}
.popup_content {
padding: 0rpx 25rpx;
}
.popup_title {
font-size: 22rpx;
color: #222;
margin-top: 40rpx;
}
.popup_item {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.popup_item::after {
content: "";
position: relative;
width: 161rpx;
}
.popup_item_content {
width: 161rpx;
height: 65rpx;
font-size: 24rpx;
color: #222;
background-color: #f7f7f7;
border-radius: 10rpx;
display: flex;
justify-content: center;
align-items: center;
margin-top: 15rpx;
}
.popup_item_content.active{
background:rgba(255,218,68,1);
}
.popup_hint {
font-size: 22rpx;
color: #222;
margin-left: 25rpx;
margin-top: 49rpx;
}
.popup_btn {
display: flex;
font-size: 30rpx;
color: #222;
position: fixed;
bottom: 0;
right:0;
}
.btn1, .btn2 {
width: 287rpx;
height: 100rpx;
background-color: #f7f7f7;
display: flex;
justify-content: center;
align-items: center;
}
.btn2 {
background-color: #ffda44;
}
.show{
padding-top:300rpx;
width: 100%;
height: 300rpx;
text-align: center;
color: rgba(0,0,0);
font-size: 31rpx;
line-height: 31rpx;
}
.page{
position: relative;
width: 100%;
height: 100%;
}
/*
筛选开始
*/
.mask{
width: 100%;
height: 100%;
position: fixed;
top: 0;
right: 0;
background: rgba(0,0,0,0.85);
z-index: 999;
box-sizing: border-box;
}
.diceng{
position: absolute;
right: 0;
top: 0;
width: 76.4%;
height: 100%;
background: #fff;
padding:48rpx 25rpx 0;
}
.one{
margin-bottom:46rpx;
}
.mask_one{
height:21rpx;
font-size:22rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(34,34,34,1);
line-height:21rpx;
margin-bottom:25rpx;
}
.mask_two{
width: 100%;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.mask_two_item{
width: 161rpx;
height: 65rpx;
background:rgba(247,247,247,1);
border-radius:10rpx;
text-align: center;
line-height: 65rpx;
font-size:24rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(34,34,34,1);
margin-bottom:15rpx;
}
.mask_footer{
position: absolute;
bottom:0;
left: 0;
display: flex;
width: 100%;
height: 100rpx;
}
.reset,.reset1{
width: 50%;
height: 100%;
text-align: center;
line-height: 100rpx;
font-size:30rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(0,0,0,1);
background:rgba(247,247,247,1);
}
.reset1{
background:rgba(255,218,68,1);
}
/*
更多mask开始
*/
.index_top_mask{
position: absolute;
bottom:0;
left:0;
width: 100%;
height:calc(100% - 100rpx);
background: rgba(0,0,0,0.8);
z-index: 999;
}
.all_classify{
width: 100%;
height: 587rpx;
background: #fff;
position: relative;
}
.all_classify_one{
width: 100%;
height: 100rpx;
line-height: 100rpx;
text-align: center;
font-size:34rpx;
font-family:PingFang-SC-Heavy;
font-weight:800;
color:rgba(37,39,35,1);
}
.cuowu{
position: absolute;
right: 25rpx;
top:0;
font-size: 50rpx;
color:#A3A3A3;
font-weight:400;
}
.all_classify_two{
padding:30rpx 50rpx 52rpx 50rpx;
box-sizing: border-box;
display: flex;
flex-wrap: wrap;
justify-content: space-around
}
.all_classify_two_item{
width: 200rpx;
text-align: center;
font-size:26rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(34,34,34,1);
margin-bottom:48rpx;
padding:0 15rpx;
}
.all_classify_two_item image{
width: 100%;
height: 120rpx;
margin-bottom:20rpx;
}