dataBox.sass
1.16 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
/* packageEquity/pages/aiInspection/components/dataBox/dataBox.wxss */
.data-box {
height: var(--fontSize176);
background-color: #fff;
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
padding: 0 var(--fontSize34);
.data-item {
width: calc(216 / 750 * 100%);
height: var(--fontSize136);
background: #F6FCFE;
border-radius: var(--fontSize16);
box-sizing: border-box;
padding: var(--fontSize24);
min-width: var(--fontSize216);
.data-title {
display: flex;
align-items: center;
font-weight: 500;
font-size: var(--fontSize22);
color: #5A5E66;
margin-bottom: var(--fontSize8);
line-height: var(--fontSize36);
.icon {
margin-left: var(--fontSize4);
width: var(--fontSize32);
height: var(--fontSize32);
flex-shrink: 0;
}
}
.data-value {
font-weight: 700;
font-size: var(--fontSize36);
color: #292D33;
display: flex;
align-items: baseline;
font-family: "numberBold";
.unit {
font-size: var(--fontSize24);
margin-left: var(--fontSize4);
}
}
}
}