Authored by 郭成尧

'fav-cors'

@@ -233,7 +233,7 @@ const shopIntro = (req, res, next) => { @@ -233,7 +233,7 @@ const shopIntro = (req, res, next) => {
233 * opt 操作标识("ok":表示收藏,"cancel":表示取消收藏) 233 * opt 操作标识("ok":表示收藏,"cancel":表示取消收藏)
234 */ 234 */
235 const favoriteBrand = (req, res, next) => { 235 const favoriteBrand = (req, res, next) => {
236 - res.setHeader('Access-Control-Allow-Origin', req.protocol + '://' + req.headers.host); 236 + res.setHeader('Access-Control-Allow-Origin', req.protocol + '://' + req.headers.origin);
237 res.setHeader('Access-Control-Allow-Credentials', 'true'); 237 res.setHeader('Access-Control-Allow-Credentials', 'true');
238 238
239 let id = req.query.id; 239 let id = req.query.id;
@@ -397,9 +397,11 @@ const getBaseShopData = (params, shopInfo) => { @@ -397,9 +397,11 @@ const getBaseShopData = (params, shopInfo) => {
397 cartUrl: helpers.urlFormat('/cart/index/index') 397 cartUrl: helpers.urlFormat('/cart/index/index')
398 }; 398 };
399 399
  400 + let shopId = params.shop_id || shopInfo.shopsId;
  401 +
400 return api.all([ 402 return api.all([
401 - _getShopDecorator(params.shop_id),  
402 - getShopBrands(params.shop_id) 403 + _getShopDecorator(shopId),
  404 + getShopBrands(shopId)
403 ]).then(result => { 405 ]).then(result => {
404 406
405 if (result[0] && _.has(result[0], 'list')) { 407 if (result[0] && _.has(result[0], 'list')) {
@@ -411,7 +413,7 @@ const getBaseShopData = (params, shopInfo) => { @@ -411,7 +413,7 @@ const getBaseShopData = (params, shopInfo) => {
411 baseShopHome: { 413 baseShopHome: {
412 appVersion: _.get(params, 'app_version', ''), 414 appVersion: _.get(params, 'app_version', ''),
413 isBaseShop: true, 415 isBaseShop: true,
414 - id: params.shop_id, 416 + id: shopId,
415 intro: shopInfo.shopIntro, 417 intro: shopInfo.shopIntro,
416 collected: shopInfo.isFavorite === 'Y', 418 collected: shopInfo.isFavorite === 'Y',
417 banner: _.get(banner[0], 'shopSrc', '') 419 banner: _.get(banner[0], 'shopSrc', '')
@@ -423,7 +425,7 @@ const getBaseShopData = (params, shopInfo) => { @@ -423,7 +425,7 @@ const getBaseShopData = (params, shopInfo) => {
423 425
424 if (params.multBrandShopType === '2') { 426 if (params.multBrandShopType === '2') {
425 // 转义店铺 427 // 转义店铺
426 - finalResult.shop_id = params.shop_id; 428 + finalResult.shop_id = shopId;
427 } else { 429 } else {
428 finalResult.brand = result[1]; 430 finalResult.brand = result[1];
429 } 431 }

38.5 KB | W: | H:

29.6 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
@@ -186,7 +186,7 @@ function getParam(req) { @@ -186,7 +186,7 @@ function getParam(req) {
186 function newData(callback) { 186 function newData(callback) {
187 var req = {}; 187 var req = {};
188 188
189 - req.url = location.protocol + '//m.yohobuy.com/index/search/search'; 189 + req.url = location.protocol + '//m.yohobuy.com/product/search/search';
190 req.data = { 190 req.data = {
191 type: 'new', 191 type: 'new',
192 order: '1', 192 order: '1',
@@ -199,7 +199,7 @@ function newData(callback) { @@ -199,7 +199,7 @@ function newData(callback) {
199 req.callBack = function(data) { 199 req.callBack = function(data) {
200 $('#new-arrival').append(data); 200 $('#new-arrival').append(data);
201 navInfo.new.page++; 201 navInfo.new.page++;
202 - myScroll.refresh(); 202 + myScroll && myScroll.refresh();
203 lazyLoad($('#new-arrival .lazy')); 203 lazyLoad($('#new-arrival .lazy'));
204 scH = $('#scroller').outerHeight(); 204 scH = $('#scroller').outerHeight();
205 searching = false; 205 searching = false;
@@ -211,7 +211,7 @@ function newData(callback) { @@ -211,7 +211,7 @@ function newData(callback) {
211 function hotData(callback) { 211 function hotData(callback) {
212 var req = {}; 212 var req = {};
213 213
214 - req.url = location.protocol + '//m.yohobuy.com/index/search/search'; 214 + req.url = location.protocol + '//m.yohobuy.com/product/search/search';
215 req.data = { 215 req.data = {
216 type: 'hot', 216 type: 'hot',
217 order: '1', 217 order: '1',
@@ -224,8 +224,7 @@ function hotData(callback) { @@ -224,8 +224,7 @@ function hotData(callback) {
224 req.callBack = function(data) { 224 req.callBack = function(data) {
225 $('#popularity').append(data); 225 $('#popularity').append(data);
226 navInfo.hot.page++; 226 navInfo.hot.page++;
227 -  
228 - // myScroll.refresh(); 227 + myScroll && myScroll.refresh();
229 lazyLoad($('#popularity .lazy')); 228 lazyLoad($('#popularity .lazy'));
230 scH = $('#scroller').outerHeight(); 229 scH = $('#scroller').outerHeight();
231 searching = false; 230 searching = false;
@@ -271,8 +270,7 @@ function tabChange(dom, index) { @@ -271,8 +270,7 @@ function tabChange(dom, index) {
271 $nav1.removeClass('fixed-top absolute'); 270 $nav1.removeClass('fixed-top absolute');
272 $nav2.removeClass('fixed-top absolute'); 271 $nav2.removeClass('fixed-top absolute');
273 } 272 }
274 -  
275 - // myScroll && myScroll.refresh(); 273 + myScroll && myScroll.refresh();
276 scH = $('#scroller').outerHeight(); 274 scH = $('#scroller').outerHeight();
277 if (!$nav1.hasClass('hide')) { 275 if (!$nav1.hasClass('hide')) {
278 myScroll && myScroll.scrollTo(0, 0 - imgH); 276 myScroll && myScroll.scrollTo(0, 0 - imgH);
@@ -339,7 +337,7 @@ function scrollHandler() { @@ -339,7 +337,7 @@ function scrollHandler() {
339 type: 'shop_id', 337 type: 'shop_id',
340 id: shopId, 338 id: shopId,
341 brand: brand, 339 brand: brand,
342 - url: location.protocol + '//m.yohobuy.com/index/search/search', 340 + url: location.protocol + '//m.yohobuy.com/product/search/search',
343 nextPage: true 341 nextPage: true
344 }); 342 });
345 } 343 }
@@ -434,6 +432,8 @@ function scrollHandler() { @@ -434,6 +432,8 @@ function scrollHandler() {
434 }); 432 });
435 } 433 }
436 } 434 }
  435 +
  436 + $('#scroller').trigger('scroll');
437 } 437 }
438 438
439 document.addEventListener('touchmove', function(e) { 439 document.addEventListener('touchmove', function(e) {
@@ -454,9 +454,9 @@ $(window).ready(function() { @@ -454,9 +454,9 @@ $(window).ready(function() {
454 imgH = $('#nav-top').outerHeight(); 454 imgH = $('#nav-top').outerHeight();
455 nav1H = $('#nav').outerHeight(); 455 nav1H = $('#nav').outerHeight();
456 main1H = $('#nav-main').height(); 456 main1H = $('#nav-main').height();
457 - main1oH = $('#nav-main').outerHeight();  
458 - nav2H = $('#list-nav').outerHeight();  
459 - main2oH = $('#goods-container').outerHeight(); 457 + main1oH = $('#nav-main').outerHeight(true);
  458 + nav2H = $('#list-nav').outerHeight(true);
  459 + main2oH = $('#goods-container').outerHeight(true);
460 460
461 461
462 myScroll = new IScroll('#wrapper', { 462 myScroll = new IScroll('#wrapper', {
@@ -487,7 +487,7 @@ $(window).ready(function() { @@ -487,7 +487,7 @@ $(window).ready(function() {
487 487
488 multiSwiper && multiSwiper.startAutoplay(); 488 multiSwiper && multiSwiper.startAutoplay();
489 489
490 - $('#scroller').trigger('scroll'); 490 + //$('#scroller').trigger('scroll');
491 scrollHandler.bind(this)(); 491 scrollHandler.bind(this)();
492 }); 492 });
493 lazyLoad($('img.lazy')); 493 lazyLoad($('img.lazy'));
@@ -509,7 +509,7 @@ function search(opt) { @@ -509,7 +509,7 @@ function search(opt) {
509 } 509 }
510 510
511 if (!opt.url) { 511 if (!opt.url) {
512 - opt.url = location.protocol + '//m.yohobuy.com/index/search/search'; 512 + opt.url = location.protocol + '//m.yohobuy.com/product/search/search';
513 } 513 }
514 514
515 $pre = $listNav.find('.active').eq(0); 515 $pre = $listNav.find('.active').eq(0);
@@ -707,10 +707,11 @@ $subNav.on('touchend touchcancel', function(e) { @@ -707,10 +707,11 @@ $subNav.on('touchend touchcancel', function(e) {
707 707
708 // 筛选面板切换状态 708 // 筛选面板切换状态
709 if ($this.hasClass('active')) { 709 if ($this.hasClass('active')) {
  710 + $this.removeClass('active');
710 filter.hideFilter(); 711 filter.hideFilter();
711 myScroll && myScroll.enable(); 712 myScroll && myScroll.enable();
712 } else { 713 } else {
713 - 714 + $this.addClass('active');
714 myScroll && myScroll.scrollTo(0, -(imgH + main1oH + nav1H)); 715 myScroll && myScroll.scrollTo(0, -(imgH + main1oH + nav1H));
715 716
716 theY = imgH + main1oH + nav1H; 717 theY = imgH + main1oH + nav1H;
@@ -728,6 +729,9 @@ $subNav.on('touchend touchcancel', function(e) { @@ -728,6 +729,9 @@ $subNav.on('touchend touchcancel', function(e) {
728 myScroll && myScroll.disable(); 729 myScroll && myScroll.disable();
729 } 730 }
730 } else { 731 } else {
  732 +
  733 + filter.hideFilter();//隐藏面板
  734 +
731 if ($this.hasClass('new')) { 735 if ($this.hasClass('new')) {
732 cname = '.new'; 736 cname = '.new';
733 navType = 'newest'; 737 navType = 'newest';
@@ -818,7 +822,7 @@ $subNav.on('touchend touchcancel', function(e) { @@ -818,7 +822,7 @@ $subNav.on('touchend touchcancel', function(e) {
818 type: 'shop_id', 822 type: 'shop_id',
819 id: shopId, 823 id: shopId,
820 brand: brand, 824 brand: brand,
821 - url: location.protocol + '//m.yohobuy.com/index/search/search', 825 + url: location.protocol + '//m.yohobuy.com/product/search/search',
822 nextPage: false 826 nextPage: false
823 }); 827 });
824 } 828 }
@@ -876,7 +880,7 @@ function stopPropagation(e) { @@ -876,7 +880,7 @@ function stopPropagation(e) {
876 } 880 }
877 } 881 }
878 882
879 -$(document).bind('touchstart', function(e) { 883 +$(document).bind('touchstart', function() {
880 $('.sub-group').addClass('hide'); 884 $('.sub-group').addClass('hide');
881 }); 885 });
882 886
@@ -933,7 +937,7 @@ $collect.on('touchstart', function() { @@ -933,7 +937,7 @@ $collect.on('touchstart', function() {
933 } 937 }
934 938
935 setTimeout(function() { 939 setTimeout(function() {
936 - // myScroll.refresh(); 940 + myScroll && myScroll.refresh();
937 scH = $('#scroller').outerHeight(); 941 scH = $('#scroller').outerHeight();
938 }, 500); 942 }, 500);
939 searching = false; 943 searching = false;
  1 +.hot-category {
  2 + margin: 30px 0 0;
  3 + border-bottom: 1px solid #e0e0e0;
  4 +
  5 + .category-banner {
  6 + height: 198px;
  7 + img {
  8 + display: block;
  9 + width: 100%;
  10 + height: 198px;
  11 + }
  12 + }
  13 + .category-list {
  14 + background: #fff;
  15 +
  16 + li {
  17 + float: left;
  18 + width: 158px;
  19 + height: 158px;
  20 + border-top: 1px solid #e0e0e0;
  21 + border-left: 1px solid #e0e0e0;
  22 + overflow: hidden;
  23 + position: relative;
  24 +
  25 + .img-box {
  26 + width: 100%;
  27 + height: 100%;
  28 + line-height: 154px;
  29 + text-align: center;
  30 + overflow: hidden;
  31 + font-size: 0;
  32 + position: relative;
  33 +
  34 + img {
  35 + vertical-align: middle;
  36 + width: 100%;
  37 + height: 100%;
  38 + max-width: 100%;
  39 + max-height: 100%;
  40 + }
  41 + }
  42 +
  43 + .category-title {
  44 + line-height: 22px;
  45 + color: #aaa;
  46 + font-size: 18px;
  47 + text-align: center;
  48 + }
  49 +
  50 + .img-cover {
  51 + position: absolute;
  52 + height: 42px;
  53 + line-height: 42px;
  54 + text-align: center;
  55 + width: 100%;
  56 + bottom: 0;
  57 + color: #000;
  58 + font-size: 22px;
  59 + }
  60 + }
  61 + }
  62 +}
@@ -6,6 +6,10 @@ @@ -6,6 +6,10 @@
6 right: 0; 6 right: 0;
7 overflow: hidden; 7 overflow: hidden;
8 8
  9 + .nav-main {
  10 + margin-bottom: 30px;
  11 + }
  12 +
9 .branner-top { 13 .branner-top {
10 width: 100%; 14 width: 100%;
11 height: 200px; 15 height: 200px;
@@ -76,32 +80,32 @@ @@ -76,32 +80,32 @@
76 background: #fff; 80 background: #fff;
77 overflow: hidden; 81 overflow: hidden;
78 border-sizing: border-box; 82 border-sizing: border-box;
79 - border-bottom: 1px solid #e1e1e1; 83 + border-bottom: 1px solid #e0e0e0;
  84 + z-index: 2;
80 85
81 - li {  
82 - color: #b1b1b1; 86 + li{
83 display: block; 87 display: block;
84 height: 28px; 88 height: 28px;
85 float: left; 89 float: left;
86 line-height: 28px; 90 line-height: 28px;
87 width: 24.7%; 91 width: 24.7%;
88 text-align: center; 92 text-align: center;
89 - border-left: 1px solid #e1e1e1; 93 + border-left: 1px solid #e0e0e0;
90 margin-top: 30px; 94 margin-top: 30px;
91 border-sizing: border-box; 95 border-sizing: border-box;
92 - color: #b1b1b1; 96 + color: #b0b0b0;
93 97
94 &:first-child { 98 &:first-child {
95 border-left: none; 99 border-left: none;
96 } 100 }
97 101
98 a { 102 a {
99 - color: #b1b1b1; 103 + color: #b0b0b0;
100 } 104 }
101 } 105 }
102 106
103 .color { 107 .color {
104 - color: #000; 108 + color: #444;
105 } 109 }
106 } 110 }
107 111
@@ -116,10 +120,6 @@ @@ -116,10 +120,6 @@
116 margin-bottom: 30px; 120 margin-bottom: 30px;
117 } 121 }
118 122
119 - .hide {  
120 - display: hidden;  
121 - }  
122 -  
123 .coupon { 123 .coupon {
124 width: 100%; 124 width: 100%;
125 padding: 30px 0; 125 padding: 30px 0;
@@ -138,7 +138,7 @@ @@ -138,7 +138,7 @@
138 width: 100%; 138 width: 100%;
139 height: 270px; 139 height: 270px;
140 background: #fff; 140 background: #fff;
141 - border: 1px solid #e1e1e1; 141 + border: 1px solid #e0e0e0;
142 border-top: none; 142 border-top: none;
143 font-size: 20px; 143 font-size: 20px;
144 text-align: center; 144 text-align: center;
@@ -157,15 +157,15 @@ @@ -157,15 +157,15 @@
157 157
158 .brand-img { 158 .brand-img {
159 margin-left: 30px; 159 margin-left: 30px;
160 - width: 30%; 160 + width: 140px;
161 height: 150px; 161 height: 150px;
162 overflow: hidden; 162 overflow: hidden;
163 padding-bottom: 20px; 163 padding-bottom: 20px;
164 float: left; 164 float: left;
165 165
166 p { 166 p {
167 - font-size: 25px;  
168 - color: #b1b1b1; 167 + font-size: 18px;
  168 + color: #b0b0b0;
169 padding-top: 10px; 169 padding-top: 10px;
170 height: 30px; 170 height: 30px;
171 white-space: nowrap; 171 white-space: nowrap;
@@ -174,40 +174,52 @@ @@ -174,40 +174,52 @@
174 } 174 }
175 175
176 img { 176 img {
177 - height: 70%; 177 + height: 120px;
178 } 178 }
179 } 179 }
180 180
181 .spring { 181 .spring {
182 - margin: 0; 182 + margin: 0 15px;
183 overflow: hidden; 183 overflow: hidden;
184 184
185 li { 185 li {
186 width: 50%; 186 width: 50%;
187 - height: 168px; 187 + height: 160px;
188 float: left; 188 float: left;
189 text-align: center; 189 text-align: center;
190 list-style: none; 190 list-style: none;
191 display: list-item; 191 display: list-item;
192 192
193 img { 193 img {
194 - width: 90%; 194 + width: 275px;
  195 + height: inherit;
195 border-radius: 10px; 196 border-radius: 10px;
196 vertical-align: top; 197 vertical-align: top;
197 } 198 }
198 } 199 }
199 } 200 }
200 201
201 - .popularity-title { 202 + .hot-category .floor-header {
  203 + margin: 0;
  204 + }
  205 +
  206 + .popularity-title, .hot-category .floor-header {
202 background: #fff; 207 background: #fff;
203 - border-bottom: 1px solid #e8e8e8; 208 + border-bottom: 1px solid #e0e0e0;
  209 + border-top: 1px solid #e0e0e0;
  210 + color: #444;
204 text-align: center; 211 text-align: center;
205 - line-height: 98px;  
206 - font-size: 32px;  
207 - margin-top: 40px; 212 + height: 100px;
  213 + line-height: 100px;
  214 + font-size: 30px;
  215 + margin-top: 30px;
208 position: relative; 216 position: relative;
209 } 217 }
210 218
  219 + .hot-category .floor-header {
  220 + border-bottom: none;
  221 + }
  222 +
211 .more { 223 .more {
212 position: absolute; 224 position: absolute;
213 right: 30px; 225 right: 30px;
@@ -272,7 +284,7 @@ @@ -272,7 +284,7 @@
272 284
273 .icon { 285 .icon {
274 position: relative; 286 position: relative;
275 - color: #b1b1b1; 287 + color: #b0b0b0;
276 288
277 i { 289 i {
278 position: absolute; 290 position: absolute;
@@ -319,7 +331,7 @@ @@ -319,7 +331,7 @@
319 .discount:after { 331 .discount:after {
320 height: 28px; 332 height: 28px;
321 content: ''; 333 content: '';
322 - border-left: 1px solid #e1e1e1; 334 + border-left: 1px solid #e0e0e0;
323 position: absolute; 335 position: absolute;
324 top: 25px; 336 top: 25px;
325 left: 163px; 337 left: 163px;
@@ -329,11 +341,16 @@ @@ -329,11 +341,16 @@
329 .discount-area { 341 .discount-area {
330 @extend .sale-page; 342 @extend .sale-page;
331 343
  344 + #list-nav {
  345 + border-top: 1px solid #e0e0e0;
  346 + border-bottom: 1px solid #e0e0e0;
  347 + }
  348 +
332 .list-nav li { 349 .list-nav li {
333 display: block; 350 display: block;
334 - height: 78px; 351 + height: 80px;
335 float: left; 352 float: left;
336 - line-height: 78px; 353 + line-height: 80px;
337 width: 24.8%; 354 width: 24.8%;
338 text-align: center; 355 text-align: center;
339 border-sizing: border-box; 356 border-sizing: border-box;
@@ -349,7 +366,7 @@ @@ -349,7 +366,7 @@
349 &.discount:after { 366 &.discount:after {
350 height: 28px; 367 height: 28px;
351 content: ''; 368 content: '';
352 - border-left: 1px solid #e1e1e1; 369 + border-left: 1px solid #e0e0e0;
353 position: absolute; 370 position: absolute;
354 top: 25px; 371 top: 25px;
355 left: 163px; 372 left: 163px;
@@ -358,7 +375,7 @@ @@ -358,7 +375,7 @@
358 375
359 .active { 376 .active {
360 .cur { 377 .cur {
361 - color: #000; 378 + color: #444;
362 } 379 }
363 } 380 }
364 381
@@ -393,7 +410,7 @@ @@ -393,7 +410,7 @@
393 line-height: 88px; 410 line-height: 88px;
394 font-size: 28px; 411 font-size: 28px;
395 background: #fff; 412 background: #fff;
396 - border-top: 1px solid #eaeaea; 413 + border-top: 1px solid #e0e0e0;
397 z-index: 2; 414 z-index: 2;
398 415
399 416
@@ -410,7 +427,7 @@ @@ -410,7 +427,7 @@
410 height: 28px; 427 height: 28px;
411 margin-top: 30px; 428 margin-top: 30px;
412 float: right; 429 float: right;
413 - border-right: 1px solid #eaeaea; 430 + border-right: 1px solid #e0e0e0;
414 display: inline-block; 431 display: inline-block;
415 } 432 }
416 } 433 }
@@ -418,24 +435,28 @@ @@ -418,24 +435,28 @@
418 .sub-group { 435 .sub-group {
419 position: absolute; 436 position: absolute;
420 background: #fff; 437 background: #fff;
421 - border: 1px solid #eaeaea; 438 + border: 1px solid #e0e0e0;
422 border-radius: 12px; 439 border-radius: 12px;
423 bottom: 104px; 440 bottom: 104px;
424 width: 40%; 441 width: 40%;
425 margin-left: 5%; 442 margin-left: 5%;
426 443
427 dl { 444 dl {
428 - width: 80%; 445 + padding: 0 30px;
429 margin: 0 auto; 446 margin: 0 auto;
430 } 447 }
431 448
432 dd { 449 dd {
433 line-height: 80px; 450 line-height: 80px;
434 text-align: center; 451 text-align: center;
435 - border-top: 1px solid #eaeaea; 452 + border-top: 1px solid #e0e0e0;
436 white-space: nowrap; 453 white-space: nowrap;
437 overflow: hidden; 454 overflow: hidden;
438 text-overflow: ellipsis; 455 text-overflow: ellipsis;
  456 +
  457 + a {
  458 + color: #444;
  459 + }
439 } 460 }
440 461
441 dd:first-child { 462 dd:first-child {
@@ -446,8 +467,8 @@ @@ -446,8 +467,8 @@
446 .sharp { 467 .sharp {
447 position: absolute; 468 position: absolute;
448 width: 100%; 469 width: 100%;
449 - height: 14px;  
450 - background: resolve("product/sharp.png") no-repeat center center; 470 + height: 10px;
  471 + background: resolve('product/sharp.png') no-repeat center center;
451 } 472 }
452 473
453 .foot-list-3 .sub-group { 474 .foot-list-3 .sub-group {
@@ -501,11 +522,11 @@ @@ -501,11 +522,11 @@
501 text-align: center; 522 text-align: center;
502 width: 100%; 523 width: 100%;
503 height: 100%; 524 height: 100%;
504 - color: #999; 525 + color: #b0b0b0;
505 526
506 /*b { 527 /*b {
507 height: 28px; 528 height: 28px;
508 - border-left: 1px solid #e1e1e1; 529 + border-left: 1px solid #e0e0e0;
509 float: right; 530 float: right;
510 margin-top: 25px; 531 margin-top: 25px;
511 }*/ 532 }*/
@@ -513,11 +534,11 @@ @@ -513,11 +534,11 @@
513 } 534 }
514 535
515 .active .cur { 536 .active .cur {
516 - color: #000; 537 + color: #444;
517 } 538 }
518 539
519 .active a { 540 .active a {
520 - color: #000; 541 + color: #444;
521 } 542 }
522 543
523 544
@@ -551,7 +572,6 @@ @@ -551,7 +572,6 @@
551 572
552 .category-list-top-board { 573 .category-list-top-board {
553 border-top: 1px solid #e0e0e0; 574 border-top: 1px solid #e0e0e0;
554 - min-height: 160px;  
555 } 575 }
556 576
557 .category-list-last-li { 577 .category-list-last-li {
@@ -564,6 +584,8 @@ @@ -564,6 +584,8 @@
564 } 584 }
565 585
566 .shop-index + .filter-mask { 586 .shop-index + .filter-mask {
  587 + margin-top: 1px;
  588 +
567 .filter-body { 589 .filter-body {
568 overflow: auto; 590 overflow: auto;
569 } 591 }
@@ -10,5 +10,7 @@ @@ -10,5 +10,7 @@
10 @import "layout/utils"; 10 @import "layout/utils";
11 11
12 /* page */ 12 /* page */
  13 +@import "channel/index";
13 @import "common/index"; 14 @import "common/index";
14 @import "product/index"; 15 @import "product/index";
  16 +@import "home/hot-category";