Authored by 梁志锋

update

framework @ 119c247f
1 -Subproject commit 75bbc3b075de19f239532f60c5995d06c5f814e2 1 +Subproject commit 119c247f5cf929aa1e059e40609bb16dd6b58f05
@@ -59,6 +59,7 @@ var $listNav = $('#list-nav'), @@ -59,6 +59,7 @@ var $listNav = $('#list-nav'),
59 if ($('.swiper-container .swiper-slide').length > 1) { 59 if ($('.swiper-container .swiper-slide').length > 1) {
60 swiper = new Swiper('.swiper-container', { 60 swiper = new Swiper('.swiper-container', {
61 lazyLoading: true, 61 lazyLoading: true,
  62 + lazyLoadingInPrevNext: true,
62 loop: true, 63 loop: true,
63 autoplay: 3000, 64 autoplay: 3000,
64 autoplayDisableOnInteraction: false, 65 autoplayDisableOnInteraction: false,
@@ -57,7 +57,7 @@ var $listNav = $('#list-nav'), @@ -57,7 +57,7 @@ var $listNav = $('#list-nav'),
57 end: false 57 end: false
58 } 58 }
59 }, 59 },
60 - $pre, //纪录进入筛选前的active 60 + $pre = $listNav.find('.active'), //纪录进入筛选前的active项,初始为选中
61 searching; 61 searching;
62 62
63 $pgc.addClass('hide'); 63 $pgc.addClass('hide');
@@ -68,6 +68,7 @@ $('#today a').text(month + '月' + date + '号'); @@ -68,6 +68,7 @@ $('#today a').text(month + '月' + date + '号');
68 if ($('.swiper-container .swiper-slide').length > 1) { 68 if ($('.swiper-container .swiper-slide').length > 1) {
69 swiper = new Swiper('.swiper-container', { 69 swiper = new Swiper('.swiper-container', {
70 lazyLoading: true, 70 lazyLoading: true,
  71 + lazyLoadingInPrevNext: true,
71 loop: true, 72 loop: true,
72 autoplay: 3000, 73 autoplay: 3000,
73 autoplayDisableOnInteraction: false, 74 autoplayDisableOnInteraction: false,
1 -.header {  
2 - height: 87rem / $pxConvertRem;  
3 - line-height: 87rem / $pxConvertRem;  
4 - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #323232), color-stop(1, #414141));  
5 - background-image: -moz-gradient(linear, left top, left bottom, color-stop(0, #323232), color-stop(1, #414141));  
6 - background-image: gradient(linear, left top, left bottom, color-stop(0, #323232), color-stop(1, #414141));  
7 - position: relative;  
8 - .iconfont {  
9 - color: #fff;  
10 - }  
11 - .nav-btn {  
12 - position: absolute;  
13 - left: 32rem / $pxConvertRem;  
14 - top: 0;  
15 - bottom: 0;  
16 - z-index: 2;  
17 - }  
18 - .logo {  
19 - position: absolute;  
20 - top: 0;  
21 - left: 0;  
22 - right: 0;  
23 - bottom: 0;  
24 - text-align: center;  
25 - font-size: 56rem / $pxConvertRem;  
26 - }  
27 - .search-btn {  
28 - position: absolute;  
29 - right: 32rem / $pxConvertRem;  
30 - top: 0;  
31 - bottom: 0;  
32 - }  
33 -}  
34 -  
35 -.girls-wrap .header {  
36 - background: #fd307f;  
37 -}  
38 -  
39 -.kids-wrap .logo{  
40 - font-style: italic;  
41 - font-family: "helvetica","Arial","黑体";  
42 - font-weight: bold;  
43 - color: #fff;  
44 -}  
@@ -75,6 +75,14 @@ @@ -75,6 +75,14 @@
75 background: #FF88AE; 75 background: #FF88AE;
76 } 76 }
77 77
  78 +.kids-wrap .home-header {
  79 + background: #7ad9f9;
  80 +}
  81 +
  82 +.lifestyle-wrap .home-header {
  83 + background: #4f4138;
  84 +}
  85 +
78 .kids-wrap .logo { 86 .kids-wrap .logo {
79 font-style: italic; 87 font-style: italic;
80 font-family: "helvetica","Arial","榛戜綋"; 88 font-family: "helvetica","Arial","榛戜綋";