Authored by 陈峰

Merge branch 'release/wap-optim' of http://git.yoho.cn/fe/yohobuywap-node into release/wap-optim

... ... @@ -165,10 +165,6 @@ $('.coupon-message-op-rel').on('click', function() {
location.reload();
});
$('.nav-home').on('touchstart', function() {
$('.homebuttom').toggleClass('hide');
});
if ($('#noData').length > 0) {
if (location.href.indexOf('?openby:yohobuy=') <= 0) {
tip.show('网络异常!');
... ...
... ... @@ -213,7 +213,7 @@ function getPageGoods(info) {
url: info.url,
data: info.data,
success: function(data) {
if (data === '') {
if (data === '' || (data.list && data.list.length <= 0)) {
nav.end = true;
}
... ... @@ -707,7 +707,7 @@ function search(opt) {
break;
}
if (data === '') {
if (data === '' || (data.list && data.list.length <= 0)) {
nav.end = true;
if (nav.reload) {
... ...