洪海涛 8 lat temu
rodzic
commit
efda9bc8c2

Plik diff jest za duży
+ 12 - 15
www/protected/modules/o2o/views/web/index.php


Plik diff jest za duży
+ 0 - 0
www/webapp/o2o/dist/js/main.js


Plik diff jest za duży
+ 0 - 0
www/webapp/o2o/dist/js/page/home.js


+ 12 - 12
www/webapp/o2o/js/page/home.js

@@ -300,20 +300,20 @@ define(['$', 'template', 'IScroll', 'product', 'user', 'native', 'config', 'addr
 				setTimeout(function () {
 					pageData.scroll = new IScroll('#homeScroll');
 					/*设置页面高度*/
-					// var homeBox = $('.home-box');
-					// var boxAlignCenter = $('.box-align-center').height();
-					// var preventScroll = $('.prevent-scroll').height();
-					// homeBox.height(boxAlignCenter * 4 + preventScroll);
+					var homeBox = $('.home-box');
+					var boxAlignCenter = $('.box-align-center').height();
+					var preventScroll = $('.prevent-scroll').height();
+					homeBox.height(boxAlignCenter * 4 + preventScroll);
 				}, 750);
 				setTimeout(function () {
-					// var swiper = new Swiper('.swiper-container', {
-					// 	pagination: '.pagination',
-					// 	loop: true,
-					// 	paginationClickable: true,
-					// 	centeredSlides: true,
-					// 	autoplay: 5000,
-					// 	autoplayDisableOnInteraction: false
-					// });
+					var swiper = new Swiper('.swiper-container', {
+						pagination: '.pagination',
+						loop: true,
+						paginationClickable: true,
+						centeredSlides: true,
+						autoplay: 5000,
+						autoplayDisableOnInteraction: false
+					});
 				}, 700);
 				setInterval(function () {
 					if($('.swiper-wrapper').height()<=30){

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików