...
|
...
|
@@ -175,18 +175,13 @@ yoho = { |
|
|
return false;
|
|
|
},
|
|
|
|
|
|
goHome: function(link, data) {
|
|
|
var url = link;
|
|
|
|
|
|
if (!link) {
|
|
|
return;
|
|
|
}
|
|
|
link = yoho.parseUrl(link || location.href);
|
|
|
goHome: function() {
|
|
|
var url = '//m.yohobuy.com/';
|
|
|
|
|
|
if (yoho.isApp) {
|
|
|
url = url + '?openby:yohobuy=' + (data || JSON.stringify({
|
|
|
url = url + '?openby:yohobuy=' + JSON.stringify({
|
|
|
action: 'go.home'
|
|
|
}));
|
|
|
});
|
|
|
}
|
|
|
$appLink.attr('href', url);
|
|
|
$appLink[0].click();
|
...
|
...
|
|