_jit-detail.css
1.62 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
.jit-detail-page {
background-color: #f0f0f0;
.top,
.middle,
.bottom {
display: none;
background-color: #fff;
}
.top,
.bottom {
height: 88px;
line-height: 88px;
color: #444;
padding: 0 20px;
}
.top {
margin-bottom: 1PX;
font-size: 26px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.bottom {
font-size: 28px;
margin-bottom: 28px;
}
.swiper-container {
padding: 30px 0 0;
width: 100%;
height: 209px;
overflow-y: hidden;
.swiper-wrapper-jit {
height: 209px;
}
.swiper-slide {
margin: 0 10px;
float: left;
width: 156px;
position: relative;
&:first-child {
margin-left: 30px;
}
&:last-child {
margin-right: 30px;
}
img {
width: 152px;
height: 204px;
}
.tag {
display: inline-block;
width: 100%;
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 0.8rem;
line-height: 0.8rem;
color: #fff;
text-align: center;
font-size: 12PX;
&.add {
background: #eb76aa;
}
&.gift {
background: #a1ce4e;
}
}
}
}
}