Authored by zhangxiaoru

shop

... ... @@ -352,4 +352,4 @@ exports.receiveCoupon = (receiveData, uid) => {
}
return returnData;
});
};
\ No newline at end of file
};
... ...
... ... @@ -42,7 +42,7 @@ const banner = () => {
}, {
cache: true
}).then((result) => {
return result.data[0];
// return result.data[0];
});
};
... ...
... ... @@ -21,10 +21,15 @@ module.exports = {
// liveApi: 'http://api.live.yoho.cn/',
// singleApi: 'http://single.yoho.cn/',
api: 'http://dev-api.yohops.com:9999/',
service: 'http://dev-service.yohops.com:9999/',
api: 'http://api-test3.yohops.com:9999/',
service: 'http://service-test3.yohops.com:9999/',
liveApi: 'http://testapi.live.yohops.com:9999/',
singleApi: 'http://api-test1.yohops.com:9999/',
singleApi: 'http://api-test3.yohops.com:9999/',
// api: 'http://dev-api.yohops.com:9999/',
// service: 'http://dev-service.yohops.com:9999/',
// liveApi: 'http://testapi.live.yohops.com:9999/',
// singleApi: 'http://api-test1.yohops.com:9999/',
},
subDomains: {
host: '.m.yohobuy.com',
... ...
... ... @@ -258,7 +258,7 @@ function loadMore($container, opt, url) {
delete opt.isTab;
},
error: function() {
console.log('error')
console.log('error');
tip.show('网络断开连接了~');
searching = false;
delete opt.isTab;
... ...
... ... @@ -187,9 +187,9 @@ function initFilter(opt) {
var limit = height - $(this).parent().height();
y = y + deltaY;
if (y < limit * -1)
y = limit * -1;
{ y = limit * -1; }
if (y > 0)
y = 0;
{ y = 0; }
var translate = 'translate3d(0,' + y + 'px,0)';
$(this).css({
'-moz-transform': translate,
... ...