Showing
2 changed files
with
9 additions
and
11 deletions
@@ -8,7 +8,7 @@ var $ = require('yoho-jquery'), | @@ -8,7 +8,7 @@ var $ = require('yoho-jquery'), | ||
8 | $(function() { | 8 | $(function() { |
9 | new Swiper('.bundle-product', { | 9 | new Swiper('.bundle-product', { |
10 | freeMode: true, | 10 | freeMode: true, |
11 | - slidesPerView: 4, | 11 | + slidesPerView: 5, |
12 | lazyLoading: true | 12 | lazyLoading: true |
13 | }); | 13 | }); |
14 | }); | 14 | }); |
1 | .bundle { | 1 | .bundle { |
2 | - height: 384px; | 2 | + height: 344px; |
3 | overflow: hidden; | 3 | overflow: hidden; |
4 | background-color: #fff; | 4 | background-color: #fff; |
5 | 5 | ||
@@ -33,18 +33,16 @@ | @@ -33,18 +33,16 @@ | ||
33 | 33 | ||
34 | .bundle-product { | 34 | .bundle-product { |
35 | margin-top: 30px; | 35 | margin-top: 30px; |
36 | - height: 295px; | ||
37 | width: 100%; | 36 | width: 100%; |
38 | 37 | ||
39 | .swiper-wrapper { | 38 | .swiper-wrapper { |
40 | - height: 295px; | ||
41 | - | ||
42 | .plus { | 39 | .plus { |
43 | - margin-top: 88px; | ||
44 | - margin-left: 5px; | ||
45 | - margin-right: 5px; | 40 | + margin-top: 72px; |
41 | + margin-left: 8px; | ||
42 | + margin-right: 8px; | ||
46 | color: #b0b0b0; | 43 | color: #b0b0b0; |
47 | width: 30px !important; | 44 | width: 30px !important; |
45 | + height: 40px; | ||
48 | } | 46 | } |
49 | 47 | ||
50 | .plus-0 { | 48 | .plus-0 { |
@@ -52,7 +50,7 @@ | @@ -52,7 +50,7 @@ | ||
52 | } | 50 | } |
53 | 51 | ||
54 | .product-box { | 52 | .product-box { |
55 | - width: 155px; | 53 | + width: 130px; |
56 | float: left; | 54 | float: left; |
57 | 55 | ||
58 | a { | 56 | a { |
@@ -66,8 +64,8 @@ | @@ -66,8 +64,8 @@ | ||
66 | } | 64 | } |
67 | 65 | ||
68 | img { | 66 | img { |
69 | - width: 155px; | ||
70 | - height: 206px; | 67 | + width: 130px; |
68 | + height: 173px; | ||
71 | } | 69 | } |
72 | } | 70 | } |
73 | } | 71 | } |
-
Please register or login to post a comment