Showing
4 changed files
with
17 additions
and
13 deletions
@@ -22,20 +22,20 @@ module.exports = { | @@ -22,20 +22,20 @@ module.exports = { | ||
22 | }, | 22 | }, |
23 | cookieDomain: 'yohoblk.com', | 23 | cookieDomain: 'yohoblk.com', |
24 | domains: { | 24 | domains: { |
25 | - //favApi: 'http://192.168.102.31:8092/brower', | ||
26 | - //api: 'http://192.168.102.205:8080/gateway/', | ||
27 | - //service: 'http://192.168.102.205:8080/gateway/', | ||
28 | - //search: 'http://192.168.102.216:8080/yohosearch/' | 25 | + // favApi: 'http://192.168.102.31:8092/brower', |
26 | + // api: 'http://192.168.102.205:8080/gateway/', | ||
27 | + // service: 'http://192.168.102.205:8080/gateway/', | ||
28 | + // search: 'http://192.168.102.216:8080/yohosearch/' | ||
29 | 29 | ||
30 | // singleApi: 'http://single.yoho.cn/', | 30 | // singleApi: 'http://single.yoho.cn/', |
31 | // api: 'http://api.yoho.yohoops.org/', | 31 | // api: 'http://api.yoho.yohoops.org/', |
32 | // service: 'http://service.yoho.yohoops.org/', | 32 | // service: 'http://service.yoho.yohoops.org/', |
33 | // search: 'http://search.yohoops.org/yohosearch/' | 33 | // search: 'http://search.yohoops.org/yohosearch/' |
34 | 34 | ||
35 | - singleApi: 'http://single.yoho.cn/', | ||
36 | - api: 'http://api-test3.yohops.com:9999/', | ||
37 | - service: 'http://service-test3.yohops.com:9999/', | ||
38 | - search: 'http://search.yohoops.org/yohosearch/' | 35 | + singleApi: 'http://single.yoho.cn/', |
36 | + api: 'http://api-test3.yohops.com:9999/', | ||
37 | + service: 'http://service-test3.yohops.com:9999/', | ||
38 | + search: 'http://search.yohoops.org/yohosearch/' | ||
39 | }, | 39 | }, |
40 | useOneapm: false, | 40 | useOneapm: false, |
41 | useCache: false, | 41 | useCache: false, |
@@ -106,7 +106,7 @@ var recommmendProduct = { | @@ -106,7 +106,7 @@ var recommmendProduct = { | ||
106 | 106 | ||
107 | _this.$dom.find('.tab-cont-' + obj.index).html(recProduct({result: result})); | 107 | _this.$dom.find('.tab-cont-' + obj.index).html(recProduct({result: result})); |
108 | _this.lazyImage(); | 108 | _this.lazyImage(); |
109 | - _this.isShowChangeBtn.bind(result.length); | 109 | + recommmendProduct.isShowChangeBtn(result.length); |
110 | 110 | ||
111 | if (obj.index === 1 && $headTab.eq(0).hasClass('hide')) { | 111 | if (obj.index === 1 && $headTab.eq(0).hasClass('hide')) { |
112 | curTab.click(); | 112 | curTab.click(); |
@@ -18,6 +18,7 @@ | @@ -18,6 +18,7 @@ | ||
18 | height: calc($smallImgHeight*2+$space+10px); | 18 | height: calc($smallImgHeight*2+$space+10px); |
19 | display: inline-block; | 19 | display: inline-block; |
20 | position: relative; | 20 | position: relative; |
21 | + width: $bigImgWidth; | ||
21 | 22 | ||
22 | &.bottom-space { | 23 | &.bottom-space { |
23 | margin-bottom: 20px; | 24 | margin-bottom: 20px; |
@@ -33,7 +34,7 @@ | @@ -33,7 +34,7 @@ | ||
33 | height: 70px; | 34 | height: 70px; |
34 | position: absolute; | 35 | position: absolute; |
35 | bottom: 0; | 36 | bottom: 0; |
36 | - background: url("/channel/jb-bg.png") repeat-x; | 37 | + background: resolve("channel/jb-bg.png") repeat-x; |
37 | color: #fff; | 38 | color: #fff; |
38 | font-size: 14px; | 39 | font-size: 14px; |
39 | line-height: 70px; | 40 | line-height: 70px; |
@@ -307,6 +307,7 @@ | @@ -307,6 +307,7 @@ | ||
307 | .goods-area { | 307 | .goods-area { |
308 | margin: 0; | 308 | margin: 0; |
309 | position: relative; | 309 | position: relative; |
310 | + width: 880px; | ||
310 | 311 | ||
311 | .goods { | 312 | .goods { |
312 | margin: 30px 30px 16px 0; | 313 | margin: 30px 30px 16px 0; |
@@ -316,9 +317,11 @@ | @@ -316,9 +317,11 @@ | ||
316 | cursor: pointer; | 317 | cursor: pointer; |
317 | width: 263px; | 318 | width: 263px; |
318 | 319 | ||
320 | + /* | ||
319 | &:nth-child(3n+0) { | 321 | &:nth-child(3n+0) { |
320 | margin-right: 0; | 322 | margin-right: 0; |
321 | } | 323 | } |
324 | + */ | ||
322 | 325 | ||
323 | .goods-brand { | 326 | .goods-brand { |
324 | padding: 10px 10px 4px; | 327 | padding: 10px 10px 4px; |
@@ -409,10 +412,10 @@ | @@ -409,10 +412,10 @@ | ||
409 | img { | 412 | img { |
410 | margin-bottom: 10px; | 413 | margin-bottom: 10px; |
411 | cursor: pointer; | 414 | cursor: pointer; |
415 | + } | ||
412 | 416 | ||
413 | - &:nth-child(4n) { | ||
414 | - margin-top: 11px; | ||
415 | - } | 417 | + img:nth-child(4n) { |
418 | + margin-top: 11px; | ||
416 | } | 419 | } |
417 | } | 420 | } |
418 | } | 421 | } |
-
Please register or login to post a comment