Showing
4 changed files
with
10 additions
and
6 deletions
@@ -17,10 +17,10 @@ use Plugin\Cache; | @@ -17,10 +17,10 @@ use Plugin\Cache; | ||
17 | class Yohobuy | 17 | class Yohobuy |
18 | { | 18 | { |
19 | 19 | ||
20 | -// /* 正式环境 */ | ||
21 | -// const API_URL = 'http://api2.open.yohobuy.com/'; | ||
22 | -// const SERVICE_URL = 'http://service.api.yohobuy.com/'; | ||
23 | -// const YOHOBUY_URL = 'http://www.yohobuy.com/'; | 20 | + // /* 正式环境 */ |
21 | + // const API_URL = 'http://api2.open.yohobuy.com/'; | ||
22 | + // const SERVICE_URL = 'http://service.api.yohobuy.com/'; | ||
23 | + // const YOHOBUY_URL = 'http://www.yohobuy.com/'; | ||
24 | 24 | ||
25 | /* 测试环境 */ | 25 | /* 测试环境 */ |
26 | const API_URL = 'http://test2.open.yohobuy.com/'; | 26 | const API_URL = 'http://test2.open.yohobuy.com/'; |
@@ -135,6 +135,10 @@ function rePosFooter() { | @@ -135,6 +135,10 @@ function rePosFooter() { | ||
135 | ); | 135 | ); |
136 | } | 136 | } |
137 | 137 | ||
138 | + $op.find('.back-to-top').on('touchend', function() { | ||
139 | + $(window).scrollTop(0); | ||
140 | + return false; | ||
141 | + }); | ||
138 | $footer.removeClass('hide'); | 142 | $footer.removeClass('hide'); |
139 | }()); | 143 | }()); |
140 | 144 |
@@ -66,7 +66,7 @@ class BrandModel | @@ -66,7 +66,7 @@ class BrandModel | ||
66 | $build = array(); | 66 | $build = array(); |
67 | foreach ($brand['brandTop'][0]['data'] as $value) { | 67 | foreach ($brand['brandTop'][0]['data'] as $value) { |
68 | $build['url'] = Helpers::getFilterUrl($value['url']); | 68 | $build['url'] = Helpers::getFilterUrl($value['url']); |
69 | - $build['img'] = Helpers::getImageUrl($value['src'], 640, 300); | 69 | + $build['img'] = Helpers::getImageUrl($value['src'], 640, 310); |
70 | $build['title'] = $value['title']; | 70 | $build['title'] = $value['title']; |
71 | $result['bannerTop']['list'][] = $build; | 71 | $result['bannerTop']['list'][] = $build; |
72 | } | 72 | } |
-
Please register or login to post a comment