Authored by 梁志锋

update

@@ -15,12 +15,15 @@ var winH = $(window).height(), @@ -15,12 +15,15 @@ var winH = $(window).height(),
15 page = 0, 15 page = 0,
16 gender = $('.mobile-wrap').hasClass('boys-wrap') ? '1,3' : '2,3', 16 gender = $('.mobile-wrap').hasClass('boys-wrap') ? '1,3' : '2,3',
17 kidsType = $('.mobile-wrap').hasClass('kids-wrap') ? true : false, 17 kidsType = $('.mobile-wrap').hasClass('kids-wrap') ? true : false,
  18 + lifestyleType = $('.mobile-wrap').hasClass('lifestyle-wrap') ? true : false,
18 num, 19 num,
19 url; 20 url;
20 21
21 ///recom/maylikekids 22 ///recom/maylikekids
22 if (kidsType) { 23 if (kidsType) {
23 url = '/product/recom/maylikekids'; 24 url = '/product/recom/maylikekids';
  25 +} else if (lifestyleType) {
  26 + url = '/product/recom/maylikelife';
24 } else { 27 } else {
25 url = '/product/recom/maylike?gender=' + gender; 28 url = '/product/recom/maylike?gender=' + gender;
26 } 29 }
@@ -17,4 +17,26 @@ @@ -17,4 +17,26 @@
17 background: image-url("up-icon.png") no-repeat; 17 background: image-url("up-icon.png") no-repeat;
18 background-size: 100% 100%; 18 background-size: 100% 100%;
19 } 19 }
  20 +
  21 + .maybe-like-nav {
  22 + width: 100%;
  23 + height: 60rem / $pxConvertRem;
  24 + padding: 10rem / $pxConvertRem 0;
  25 + background-color: #fff;
  26 + }
  27 +
  28 + .maybe-like-nav-item {
  29 + box-sizing: border-box;
  30 + float: left;
  31 + width: 50%;
  32 + height: 60rem / $pxConvertRem;
  33 + line-height: 60rem / $pxConvertRem;
  34 + text-align: center;
  35 + color: #ccc;
  36 + border-right: 1px solid #ccc;
  37 +
  38 + &.focus {
  39 + color: #000;
  40 + }
  41 + }
20 } 42 }