Merchant-Seles.wxss
2.15 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
/* components/Merchant-Seles/Merchant-Seles.wxss */
.text-hide {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.text-center {
display: flex;
align-items: center;
justify-content: center;
}
.seles-list .center {
width: 100%;
text-align: center;
}
.seles-box {
height: 100%;
width: calc(100% + var(--fontSize64));
transform: translateX(calc(-1 * var(--fontSize32)));
}
.box {
padding: 0 var(--fontSize32);
}
.merchant-box {
max-height: var(--fontSize300);
overflow: hidden;
transition: all .25s;
}
.merchantList {
width: calc(100% - var(--fontSize50));
height: var(--fontSize98);
display: flex;
align-items: center;
border-bottom: var(--fontSize2) solid #EBEDF0;
font-size: var(--fontSize28);
color: #999999;
padding: 0 var(--fontSize25);
transition: all .5s;
}
.merchantList.active {
color: #347BFF;
font-weight: 700;
position: relative;
}
.merchantList.active::after {
content: '';
position: absolute;
bottom: 0;
background: #347BFF;
border-radius: var(--fontSize3);
width: var(--fontSize60);
height: var(--fontSize6);
left: var(--fontSize25);
}
.more {
text-align: center;
margin: var(--fontSize28) auto 0;
}
.more .icon {
width: var(--fontSize24);
height: var(--fontSize22);
transition: all .25s;
}
.more .icon.hide {
transform: rotate(-180deg);
}
.sub-title {
height: var(--fontSize100);
display: flex;
align-items: center;
font-size: var(--fontSize32);
color: #333333;
/* position: sticky;
left: 0;
top: 0; */
background-color: #fff;
z-index: 2;
}
.seles-list {
display: flex;
flex-wrap: wrap;
flex-direction: row;
padding-bottom: var(--fontSize40);
}
.seles {
border: var(--fontSize2) solid #666666;
border-radius: 16px;
padding: 0 var(--fontSize56);
font-size: var(--fontSize28);
color: #666666;
height: var(--fontSize60);
margin: 0 var(--fontSize40) var(--fontSize20) 0;
}
.seles.active {
background: rgba(53, 130, 238, 0.08);
color: #347BFF;
border-color: #347BFF;
}
.search-input search-input {
border: none;
}