index.wxss
1.66 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
.container {
background-color: #f2f2f2;
}
.container .separator {
height: 20rpx;
width: 100%;
background-color: #f2f2f2;
}
.search-stand-in {
height: 96rpx;
background-color: #fff;
}
.search-bar {
position: fixed;
top: 0;
right: 0;
left: 0;
height: 96rpx;
padding: 13rpx 30rpx 0 30rpx;
box-sizing: border-box;
background-color: #3a3a3a;
z-index: 1;
}
.search-bar .tip {
position: relative;
height: 70rpx;
border-radius: 10rpx;
background-color: #fff;
}
.search-bar .tip .text {
position: absolute;
left: 50%;
top: 50%;
margin-left: 20rpx;
font-size: 28rpx;
color: #b0b0b0;
line-height: 1;
transform: translate(-50%, -50%);
}
.search-bar .tip .icon {
position: absolute;
bottom: 0;
left: -40rpx;
height: 30rpx;
width: 30rpx;
}
.shop-info {
position: relative;
height: 234rpx;
display: flex;
width: 100%;
}
.shop-info .info-bg {
width: 100%;
height: 235rpx;
}
.shop-info .logo {
position: absolute;
left: 20rpx;
bottom: 20rpx;
width: 100rpx;
height: 100rpx;
}
.shop-info .name {
position: absolute;
left: 140rpx;
bottom: 20rpx;
width: 300rpx;
color: #fff;
font-size: 28rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.shop-info .fav {
position: absolute;
left: 450rpx;
bottom: 20rpx;
color: #fff;
font-size: 22rpx;
}
.shop-info .info-detail {
position: absolute;
left: 20rpx;
bottom: 0;
}
.product-list {
background-color: #fff;
padding-bottom: 30rpx;
}
.header-filter {
border-bottom: 1px solid #eee;
}
.header-filter.float {
position: fixed;
top: 95rpx;
left: 0;
right: 0;
z-index: 1;
}
.filter-stand-in {
height: 88rpx;
}