index.scss
1.36 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
.index-page {
width: 750px;
height: 100vh;
margin: 0 auto;
.header-nav {
padding: 0 40px;
.page-label {
font-family: PingFang-SC-Semibold;
font-size: 68px;
line-height: 96px;
color: #000;
letter-spacing: 0;
}
.search-btn {
width: 48px;
height: 48px;
}
.search {
float: right;
position: relative;
top: 22px;
}
}
.tabs-nav {
width: 100%;
height: 100px;
border-bottom: 2px solid #ddd;
padding: 0 5px;
box-sizing: border-box;
margin-top: 20px;
.tab-item {
font-family: PingFang-SC-Medium;
font-weight: normal;
font-size: 32px;
color: #999;
letter-spacing: 0;
text-align: center;
line-height: 96px;
display: inline-block;
margin: 0 30px;
&.actived {
font-size: 40px;
color: #000;
border-bottom: 6px solid #000;
box-sizing: border-box;
}
}
}
.goYohoBuy {
width: 80px;
height: 160px;
right: 34px;
bottom: 148px;
float: right;
position: fixed;
z-index: 9999;
}
}