Authored by 李奇

品牌分类跳转更改

... ... @@ -111,6 +111,13 @@ const matchHeader = (path, qs, titleMap) => {
return header;
}
if (/\/brand$/.test(path)) {
header = titleMap[1];
header.left.action = 'go.back';
header.title.des = '品牌';
return header;
}
if (/\/me\/mydetails$/.test(path)) {
header = titleMap[1];
header.title.des = '个人信息';
... ... @@ -281,11 +288,11 @@ const intercept = (url) => {
});
}
// 品牌 品类
if (/\/brand$/.test(path) || /\/cate$/.test(path)) {
// 品类
if (/\/cate$/.test(path)) {
return yoho.goTab({
index: 1,
headerIndex: /\/brand$/.test(path) ? 0 : 1
headerIndex: 1
});
}
... ...