_shop-recommand.css
2.63 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
.shop-recom {
&-swiper-container {
position: relative;
width: 100%;
height: 407px;
.top {
float: left;
height: 208px;
width: 100%;
}
.bottom {
float: left;
height: 146px;
width: 50%;
}
.fav-container {
position: absolute;
top: 12px;
left: 15px;
span {
font-size: 18px;
color: #fff;
}
}
.shop-fav {
display: inline-block;
height: 21px;
width: 24px;
background: resolve("channel/faved.png");
background-size: 100% 100%;
vertical-align: middle;
margin-right: 8px;
}
.shop-notfav {
display: inline-block;
height: 21px;
width: 24px;
background: resolve("channel/notfav.png");
background-size: 100% 100%;
vertical-align: middle;
margin-right: 8px;
}
.faved-num {
position: absolute;
top: 12px;
right: 12px;
color: #fff;
font-size: 18px;
}
}
.swiper-slide {
text-align: center;
font-size: 18px;
background: #fff;
/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
}
.recom-shop {
display: inline-block;
height: 354px;
width: 358px;
margin-top: 26px;
margin-right: 26px;
border-radius: 5px;
}
.recom-active {
height: 407px;
width: 412px;
margin-top: 0;
transition: all 0.3s ;
.top {
height: 239px;
width: 100%;
}
.bottom {
height: 168px;
width: 50%;
}
.fav-container {
top: 15px;
left: 18px;
span {
font-size: 20px;
}
}
.shop-fav {
height: 24px;
width: 27px;
}
.shop-notfav {
height: 24px;
width: 27px;
}
.faved-num {
top: 15px;
right: 15px;
font-size: 20px;
}
}
}