index.scss
2.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
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
.size-area {
position: fixed;
top: 0;
right: 0;
left: 0;
bottom: 0;
z-index: 3;
}
.mask {
background: rgba(0, 0, 0, 0.4);
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
z-index: 1;
}
.select-size {
width: 100%;
position: absolute;
bottom: 0;
background: #fff;
max-height: 1000px;
padding: 40px;
box-sizing: border-box;
z-index: 2;
.title {
font-family: PingFang-SC-Medium;
font-weight: 500;
font-size: 32px;
color: #000;
margin-bottom: 38px;
}
.size-list {
display: flex;
align-items: center;
flex-wrap: wrap;
margin-top: 38px;
border-left: 1px solid #ddd;
.size-item {
border-right: 1px solid #ddd;
border-bottom: 1px solid #ddd;
box-sizing: border-box;
text-align: center;
width: 20%;
height: 134px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
&.top-border {
border-top: 1px solid #ddd;
}
.size {
width: 100%;
font-family: DINAlternate-Bold;
font-size: 40px;
color: #000;
}
.price {
font-family: SFProText-Regular;
font-size: 22px;
color: #ccc;
width: 100%;
}
&.actived {
background: #08304B;
.size {
color: #fff;
}
}
.gray {
color: #ccc;
}
}
}
.buy-btn {
width: 670px;
border-radius: 0 !important;
background: #08304B;
font-size: 28px;
color: #fff;
height: 120px;
line-height: 120px;
margin-top: 40px;
&:after {
border-radius: 0;
border: none;
}
&.disabled {
background: #ddd;
}
.price {
color: #64AD88;
}
}
}