dateBox.sass
1.2 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
/* packageEquity/pages/aiInspection/components/dateBox/dateBox.wxss */
.date-box {
height: var(--fontSize88);
background-color: #fff;
display: flex;
align-items: center;
font-size: var(--fontSize28);
color: #181A1F;
padding: 0 var(--fontSize32);
position: relative;
.date-btn {
display: flex;
align-items: center;
line-height: var(--fontSize40);
.icon {
width: var(--fontSize32);
height: var(--fontSize32);
margin-right: var(--fontSize8);
}
}
.date-val {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
min-width: calc(276 / 750 * 100%);
height: var(--fontSize64);
background: #F7F8FA;
border-radius: var(--fontSize8);
display: flex;
align-items: center;
justify-content: center;
font-weight: 500;
font-size: var(--fontSize28);
color: #181A1F;
line-height: var(--fontSize40);
padding:0 var(--fontSize24);
box-sizing: border-box;
.icon{
width: var(--fontSize40);
height: var(--fontSize40);
margin-left: var(--fontSize2);
}
}
.next {
margin-left: auto;
.icon{
margin-left: var(--fontSize8);
margin-right: 0;
}
}
}