subShopMerchant.wxss
1.54 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
/* components/subShopMerchant/subShopMerchant.wxss */
.sub-shop-merchant-box{
height: 100%;
width: calc(100% + var(--fontSize64));
transform: translateX(calc(-1 * var(--fontSize32)));
}
.sub-title {
height: var(--fontSize100);
font-size: var(--fontSize32);
color: #333333;
position: sticky;
left: 0;
top: 0;
background-color: #fff;
z-index: 2;
}
.text-hide {
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}
.text-center{
display: flex;
align-items: center;
justify-content: center;
}
.box{
padding: 0 var(--fontSize32);
}
.merchant-box{
/* max-height: var(--fontSize300); */
overflow: auto;
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);
}
.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);
}