Commit 597ac810 authored by imac's avatar imac

[Bugfix]Product : slider image

parent 8b1c16df
...@@ -1241,6 +1241,7 @@ aside.news-wrapper { ...@@ -1241,6 +1241,7 @@ aside.news-wrapper {
display: inline-block; display: inline-block;
*display: inline; *display: inline;
*zoom: 1; *zoom: 1;
overflow: hidden;
} }
.easyzoom img { .easyzoom img {
vertical-align: bottom; vertical-align: bottom;
......
...@@ -53,6 +53,7 @@ $.fn.slider_product = function(){ ...@@ -53,6 +53,7 @@ $.fn.slider_product = function(){
arrows:true, arrows:true,
dots: true, dots: true,
slidesToShow: 1, slidesToShow: 1,
adaptiveHeight: true,
//centerMode: true, //centerMode: true,
centerPadding: '0px', centerPadding: '0px',
}); });
...@@ -111,7 +112,6 @@ $('.product-list article img, .product-list article ul li').on('click', function ...@@ -111,7 +112,6 @@ $('.product-list article img, .product-list article ul li').on('click', function
var toLink = $(this).data('link'); var toLink = $(this).data('link');
$('.load-page').parent().addClass('active'); $('.load-page').parent().addClass('active');
$('.load-page').load(toLink,function(){ $('.load-page').load(toLink,function(){
$.fn.slider_product();
$('.list-color li').getListColors(); $('.list-color li').getListColors();
$('.list-format li').getListFormat(); $('.list-format li').getListFormat();
$('.list li').selectColorFormat(); $('.list li').selectColorFormat();
...@@ -123,6 +123,7 @@ $('.product-list article img, .product-list article ul li').on('click', function ...@@ -123,6 +123,7 @@ $('.product-list article img, .product-list article ul li').on('click', function
setTimeout(function(){ setTimeout(function(){
$.fn.productAnimation(); $.fn.productAnimation();
$('#product .product-list').showRightPanel(); $('#product .product-list').showRightPanel();
$.fn.slider_product();
},800) },800)
$('.download-btn').click(function(e){ $('.download-btn').click(function(e){
e.stopPropagation(); e.stopPropagation();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment