Authored by 张孝茹

下载

... ... @@ -353,15 +353,15 @@ class familyModel extends global.yoho.BaseModel {
if (val.appName === 'yohobuy') {
singleData = _.assign(singleData, {
loadSrc: 'https://union.yoho.cn/union/app-downloads.html?union_type=100000000000349&client_id=531951919'
loadSrc: 'http://union.yoho.cn/union/app-downloads.html?union_type=100000000000349&openby:yohobuy={"action":"go.h5","params":{"url":"http://union.yoho.cn/union/app-downloads.html?union_type=100000000000349"}}'
});
} else if (val.appName === 'mars') {
singleData = _.assign(singleData, {
loadSrc: 'http://www.yohomars.com/download/index?action=gp.index&params:yohomars://yohomars.com/goapp?openby:mars=""'
loadSrc: 'http://www.yohomars.com/download/index?action=go.index&params:yohomars://yohomars.com/goapp&openby:yohobuy={"action":"go.h5","params":{"url": "http://www.yohomars.com/download/index?action=go.index&params:yohomars://yohomars.com/goapp"}}'
});
} else if (val.appName === 'now') {
singleData = _.assign(singleData, {
loadSrc: 'http://www.yohogirls.com/download/default/index?act=go.news&params=yohoefashion4In1://'
loadSrc: 'http://www.yohogirls.com/download/default/index?act=go.news&params=yohoefashion4In1://&openby:yohobuy={"action":"go.h5","params": {"url":"http://www.yohogirls.com/download/default/index?act=go.news&params=yohoefashion4In1://"}}'
});
}
});
... ...
... ... @@ -272,7 +272,7 @@ class FamilyIndex extends Page {
let $linkJump = $('#link-jump');
if (yoho.isMarsApp) {
if (yoho.isMarsApp || yoho.isNowApp) {
if (!$linkJump.length) {
$('body').append('<a id="link-jump" href="javascript:;" style="display:none !important;"></a>');
$linkJump = $('#link-jump');
... ... @@ -280,6 +280,13 @@ class FamilyIndex extends Page {
if (yoho.isMarsApp) {
href = href + '&openby:mars=' + (JSON.stringify({
action: 'go.h5',
params: {
url: href
}
}));
} else {
href = href + '&openby:yohobuy=' + (JSON.stringify({
action: 'go.h5',
params: {
... ...